summaryrefslogtreecommitdiff
path: root/tor-dirmgr
Commit message (Collapse)AuthorAgeFilesLines
* Remove "default-features=false" thing on tor-rtcompat for now.Nick Mathewson2021-06-241-1/+1
|
* Bump version dependencies to 0.0.0Nick Mathewson2021-06-241-9/+9
|
* Remove "publish = false"Nick Mathewson2021-06-241-1/+0
|
* Fix some warnings about needless & from nightly clippyNick Mathewson2021-06-184-7/+7
|
* Remove anyhow dependency from tor-retry, and rename it to retry-errorNick Mathewson2021-06-171-1/+1
| | | | Now RetryError is parameterized on an underlying error type.
* Remove some (but not all) needless dependencies.Nick Mathewson2021-06-171-2/+0
|
* Add noop_method_call warning.Nick Mathewson2021-05-271-0/+1
| | | | | | This would have saved ahf and me a lot of confusion in debugging a situation where we were cloning a reference of a type that didn't implement Clone.
* Use the "typos" tool to fix some spellingNick Mathewson2021-05-262-2/+2
|
* Enable cargo_common_metadata warning.Nick Mathewson2021-05-251-0/+1
|
* Add automatically generated README.md files to each crate.Nick Mathewson2021-05-251-0/+19
|
* Module docs for remaining cratesNick Mathewson2021-05-251-1/+7
|
* Revert change to type of NetParams value.Nick Mathewson2021-05-251-4/+4
| | | | | This truly is an i32, not a strings: it is a specified requirement in parsing consensus documents.
* Use macros and types to improve handling of Netdir parameters.Nick Mathewson2021-05-251-4/+4
| | | | (Squashed from typed-netdir-params)
* Fix some rustdoc warningsNick Mathewson2021-05-211-1/+1
|
* Give every Cargo.toml a repository fieldNick Mathewson2021-05-191-0/+1
|
* Fill in "package.categories" on all Cargo.tomlNick Mathewson2021-05-191-0/+1
|
* Add the "unreachable_pub" lint.Nick Mathewson2021-05-186-36/+49
| | | | | | This is a somewhat obnoxious change in its scope and requirements, but it makes it easier to understand what the real public and private parts of our APIs are.
* Always capitalize as RouterDesc, Microdesc.Nick Mathewson2021-05-183-18/+18
|
* Prefer "relay" to "server" when appropriate.Nick Mathewson2021-05-181-4/+4
|
* Improved tests for sqlite storage.Nick Mathewson2021-05-141-2/+77
|
* Consistency, renaming, and testing for dirmgrconfigNick Mathewson2021-05-143-27/+138
|
* Move override_net_params into DirMgrConfig.Nick Mathewson2021-05-141-19/+26
|
* Rename NetDirConfig to DirMgrConfig.Nick Mathewson2021-05-143-25/+25
|
* Add builders for remaining config types in tor-dirmgr.Nick Mathewson2021-05-142-10/+96
|
* WIP: more builders.Nick Mathewson2021-05-131-1/+71
|
* Add builders for authority and fallback objects.Nick Mathewson2021-05-102-19/+109
|
* Fix a comment typo and needless mutNick Mathewson2021-05-101-2/+2
|
* Remove more pieces of unused legacy storage code.Nick Mathewson2021-05-101-44/+0
|
* Remove untested legacy.rs code. Add a comment about where to find it.Nick Mathewson2021-05-103-173/+5
|
* Fix some warnings from nightly clippyNick Mathewson2021-05-071-2/+2
|
* Resolve clippy warnings from Rust 1.52.Nick Mathewson2021-05-071-15/+13
| | | | | | | | | | Rust 1.52 just came out, and there are new clippy lints to deal with: * It spots more cases when we could use Option::map * It spots more cases when we could use Iterator::flatten * When we build a struct instance, it wants us to list the fields in the same order that the struct declares them.
* Fix documentation warnings.Nick Mathewson2021-05-053-3/+3
|
* A few easy tests in tor-dirmgr.Nick Mathewson2021-05-044-10/+115
|
* Repair multiprocess collaborative directory download.Nick Mathewson2021-05-033-5/+7
|
* dirmgr: a couple of tiny testsNick Mathewson2021-05-032-6/+31
|
* Add trait_duplication_in_bounds warning.Nick Mathewson2021-05-031-0/+1
|
* Add unseparated_literal_suffix lint, and fix it.Nick Mathewson2021-05-031-0/+1
|
* Add a few more clippy warningsNick Mathewson2021-05-031-0/+5
|
* tweak semantics of routerdesc docidNick Mathewson2021-05-031-1/+2
|
* Add some more clippy warnings to our list.Nick Mathewson2021-04-271-1/+6
|
* Enforce (and obey) clippy lints about exhaustive enums, structs.Nick Mathewson2021-04-271-0/+3
| | | | | | | | These lints force us to declare our exported enums and exhaustive-looking structs as non-exhaustive (so that we can add to them in the future without breaking our API) or to explicitly disable the warning for a given enum/struct (to say that we _intend_ for additions to be a breaking change).
* Fix some broken rustdoc links.Nick Mathewson2021-04-182-4/+4
|
* Move timer functions into an extension trait.Nick Mathewson2021-04-172-7/+5
|
* Move around the public modules in tor_rtcompat.Nick Mathewson2021-04-173-3/+3
|
* Remove all non-runtime methods in tor_rtcompat.Nick Mathewson2021-04-162-20/+39
|
* Add a "Runtime" parameter to all the manager types.Nick Mathewson2021-04-163-21/+30
| | | | | This is a big change, but it is a step towards our goal of removing tor_rtcompat:: calls directly.
* Move the "sleep()" function from task to timer.Nick Mathewson2021-04-161-2/+2
|
* Fix a compilation problem with async_std.Nick Mathewson2021-04-131-1/+1
| | | | Thank you, CI!
* Merge branch 'dirstate'Nick Mathewson2021-04-138-1152/+1403
|\
| * Major revision on DirMgr logic -- almost a complete rewrite.Nick Mathewson2021-04-138-1137/+1283
| | | | | | | | | | | | | | | | The big idea of this revision is to separate the code that knows about doing downloads from the code that decides what to download. Later, we can make a similar change for database access. With these changes together, we can make our code much more testable, and eventually enable more download types in parallel.