summaryrefslogtreecommitdiff
path: root/crates/tor-units
Commit message (Collapse)AuthorAgeFilesLines
* Bump every crate by one patch version.Nick Mathewson2021-11-291-1/+1
|
* add semicolons if nothing returnedDaniel Eades2021-11-251-0/+1
|
* More typo fixes that I forgot to save :(Nick Mathewson2021-11-241-1/+1
|
* Bump all crate versions to 0.0.1Nick Mathewson2021-10-291-1/+1
|
* enable checked_conversions lint.Nick Mathewson2021-10-091-0/+1
|
* Initial backend implementation for guard node manager.Nick Mathewson2021-10-071-0/+11
| | | | | | | There are some missing parts here (like persistence and tests) and some incorrect parts (I am 90% sure that the "exploratory circuit" flag is bogus). Also it is not integrated with the circuit manager code.
* Add an IntegerDays numeric type.Nick Mathewson2021-09-091-0/+54
|
* Use macros and traits to simplify the declaration of parameters.Nick Mathewson2021-09-091-0/+29
| | | | | | | | | | | | | | | | Previously, we'd have to declare the field for a parameter in one place, its default in a second, and its consensus key in a third. That's error-prone and not so fun! This patch changes the way we declare parameters so that we declare a structure once, and macros expand it to all do the right thing. This required a few new traits and implementations to ensure uniformity across the types that can go in parameters: We need every parameter type to implement TryFrom<i32> and to implement SaturatingFromInt32. Eventually we might want SaturatingFromInt32 to be a more generic SaturatingFrom, but that's not for now.
* fix/silence clippy lints in test modulesDaniel Eades2021-09-082-6/+12
|
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-273-0/+566
This will cause some pain for now, but now is really the best time to do this kind of thing.