summaryrefslogtreecommitdiff
path: root/tor-netdir/src/err.rs
Commit message (Collapse)AuthorAgeFilesLines
* Enforce (and obey) clippy lints about exhaustive enums, structs.Nick Mathewson2021-04-271-0/+1
| | | | | | | | 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).
* Upgrade rusqlite; remove needless usage.Nick Mathewson2021-04-051-6/+0
|
* Netdir: only expose a netdir object if we have enough directory infoNick Mathewson2020-11-171-0/+3
| | | | | The calculation isn't completely right here, but it's a fair stopgap.
* Checkpoint work on a sqlite backend.Nick Mathewson2020-11-161-0/+6
| | | | | | | | | | | Among other stuff, revert parts of previous commit that introduced a ReadableStore abstraction: there isn't a good abstraction hat covers both Tor legacy stores and sqlite stores-- or if there is, I'll have to find it organizally. This isn't a final version: it probably has bugs, and it needs documentation and more tests. But before I do those, I want to sanity-check the API by drafting the next layer up on the stack.
* Checkpoint work on making storage backend genericNick Mathewson2020-11-141-0/+4
| | | | Also uses mmap for loading stuff.
* Document private members in most cratesNick Mathewson2020-09-241-0/+2
|
* Add documentation for tor-netdir crateNick Mathewson2020-09-131-28/+11
|
* Start on a 'netdir' crate to wrap netdoc.Nick Mathewson2020-09-071-0/+41
For now, this assumes an existing Tor cache directory.