aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-dirmgr/src/storage
Commit message (Collapse)AuthorAgeFilesLines
...
* fs-mistrust: make Mistrust have a corresponding Builder type.Nick Mathewson2022-05-241-7/+7
| | | | | This is an approximately minimal revision to get Builder in place; subsequent commits will clean up the API.
* Update tor-dirmgr to use fs-mistrust.Nick Mathewson2022-05-091-67/+78
|
* Fix grammar and typosSamanta Navarro2022-04-271-1/+1
|
* squash! Bump every crate's edition to 2021.Nick Mathewson2022-04-251-1/+0
| | | | | Remove all `use` statements for `TryFrom` and `TryInto`. These are now redundant in Rust 2021.
* Use RsaIdentity::from_hex() and hex::decode_to_slice in more placesNick Mathewson2022-03-041-8/+4
| | | | These aren't critical-path, but they do make the code a little nicer.
* dirmgr::Store.expire_all takes configtharvik2022-02-231-23/+19
|
* dirmgr: add Store traittharvik2022-02-231-240/+169
|
* dirmgr: Remember where netdocs came from.Nick Mathewson2022-02-161-1/+2
| | | | | This isn't complete (see TODO), but it's enough to let us report the right ErrorKind if something fails to parse.
* dirmgr: eliminate StringParsingError.Nick Mathewson2022-02-161-2/+4
| | | | | | | | It had too many possible Kinds depending on what kind of string had failed to parse. I decided to use #[source] here instead of #[from], so that we would have to explicitly convert these errors where they show up.
* Fix invalid path character on windowsMichael2022-01-311-2/+2
|
* fix nightly clippy errorsTrinity Pointard2021-12-091-2/+1
|
* Resolve roughly half of the XXXXs.Nick Mathewson2021-12-061-5/+5
| | | | | | | | We want to only use TODO in the codebase for non-blockers, and open tickets for anything that is a bigger blocker than a TODO. These XXXXs seem like definite non-blockers to me. Part of arti#231.
* add semicolons if nothing returnedDaniel Eades2021-11-251-1/+1
|
* tor-dirmgr: put routerdesc storage behind a feature.Nick Mathewson2021-11-121-0/+8
| | | | | | | (We keep routerdescs in the schema, since we don't want _that_ to fragment.) Part of #125.
* Upgrade to fslock version 0.2Nick Mathewson2021-10-271-1/+1
| | | | | This version makes all locks per-handle rather than per-process, by moving from lockf() to flock() on unix.
* Migrate tor-dirmgr from chrono to time 0.3Nick Mathewson2021-10-241-30/+34
| | | | | (This appears to be the emerging consensus of how to handle RUSTSEC-2020-0159.)
* Remove useless into() conversions caught by clippy.Jani Monoses2021-10-181-6/+8
|
* Remove anyhow dependency from tor-dirmgr.Jani Monoses2021-10-181-7/+9
|
* Add a few tracing directives to tor-dirmgr.Nick Mathewson2021-10-131-1/+4
|
* fix/silence clippy lints in test modulesDaniel Eades2021-09-081-2/+3
|
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-271-0/+1269
This will cause some pain for now, but now is really the best time to do this kind of thing.