summaryrefslogtreecommitdiff
path: root/tor-checkable/src/timed.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add unseparated_literal_suffix lint, and fix it.Nick Mathewson2021-05-031-2/+2
|
* Document private members in most cratesNick Mathewson2020-09-241-0/+10
|
* Tests for Timerangebound.Nick Mathewson2020-09-221-0/+76
|
* 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
* New module with traits for time-bound and signed objectsNick Mathewson2020-09-011-0/+88
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.