summaryrefslogtreecommitdiff
path: root/tor-checkable/src/lib.rs
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-031-0/+1
|
* 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
|
* Document private members in most cratesNick Mathewson2020-09-241-0/+1
|
* checkable: documentation fix.Nick Mathewson2020-09-091-0/+3
|
* 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-031-0/+1
|
* New module with traits for time-bound and signed objectsNick Mathewson2020-09-011-0/+119
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.