summaryrefslogtreecommitdiff
path: root/crates/tor-netdoc/src/util
Commit message (Collapse)AuthorAgeFilesLines
* Allow clippy::unchecked_duration_subtraction in testsNick Mathewson2023-01-272-0/+2
| | | | | This panics on error, and we're fine with a panic on misbehavior in tests.
* test lint blocks: Add many many automaticallyIan Jackson2022-12-122-0/+17
| | | | | This is precisely the result of running the rune in maint/adhoc-add-lint-blocks.
* Tests for tor_netdoc::util::internNick Mathewson2022-06-011-0/+33
|
* Add a more generic implementation of intern-by-refNick Mathewson2022-03-111-3/+11
|
* netdoc: Make versions smaller in GenericRouterStatusNick Mathewson2022-03-111-3/+19
| | | | | | When the version is a Tor version, we can just parse it; otherwise, we can intern it. This shrinks GenericRouterStatus and avoids a lot of extra help allocations.
* fix/silence clippy lints in test modulesDaniel Eades2021-09-081-0/+2
|
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-272-0/+177
This will cause some pain for now, but now is really the best time to do this kind of thing.