summaryrefslogtreecommitdiff
path: root/tor-checkable/src
Commit message (Collapse)AuthorAgeFilesLines
* 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-261-1/+1
|
* Enable cargo_common_metadata warning.Nick Mathewson2021-05-251-0/+1
|
* Improve crate-documentation for tor-checkable.Nick Mathewson2021-05-241-10/+40
|
* Add the "unreachable_pub" lint.Nick Mathewson2021-05-181-0/+1
| | | | | | 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.
* Add trait_duplication_in_bounds warning.Nick Mathewson2021-05-031-0/+1
|
* Add unseparated_literal_suffix lint, and fix it.Nick Mathewson2021-05-032-2/+3
|
* Add a few more clippy warningsNick Mathewson2021-05-031-0/+5
|
* 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/+4
| | | | | | | | 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).
* Infrastructure for testing handshake cert-validation codeNick Mathewson2020-10-211-0/+9
|
* Enable batch ed25519 verification.Nick Mathewson2020-10-021-2/+2
|
* Document private members in most cratesNick Mathewson2020-09-243-0/+15
|
* Add tests for SignatureGatedNick Mathewson2020-09-221-0/+45
|
* Tests for Timerangebound.Nick Mathewson2020-09-221-0/+76
|
* checkable: documentation fix.Nick Mathewson2020-09-091-0/+3
|
* TimerangeBound: add functions to extend the tolerancesNick Mathewson2020-09-081-0/+13
| | | | | (This seems much cleaner than baking extra tolerances into the "true" validity intervals")
* Refactor timerangebound to unwrap bounds earlier.Nick Mathewson2020-09-081-37/+31
| | | | This will make them easier to adjust
* Fix clippy warnings; improve key type for consensus.Nick Mathewson2020-09-071-1/+1
|
* checkable: Add a simple type for self-signed objects.Nick Mathewson2020-09-032-0/+33
|
* New module with traits for time-bound and signed objectsNick Mathewson2020-09-012-0/+207
Too often I've been writing code that defers timeliness checking to an is_valid_at() method [which you'd better call or else whoops] and which does signature checking while parsing [not great for performance]. Instead, let's make return types where you can't get at the interior object without first either checking the signatures/timeliness, or declaring that (dangerously) you don't care.