summaryrefslogtreecommitdiff
path: root/tor-consdiff/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
|
* Crate documentation for tor-consdiff.Nick Mathewson2021-05-241-3/+11
|
* 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/+3
| | | | | | | | 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).
* Avoid unwrap() in tor-consdiff.Nick Mathewson2021-03-041-8/+4
|
* My rustfmt is up-to-date with the gitlab ci one againNick Mathewson2021-03-011-5/+19
|
* Check declared post-digest on consensus diffs.Nick Mathewson2021-01-251-0/+19
|
* cargo fix --edition-idiomsNick Mathewson2020-12-291-1/+1
|
* Add a function to see if a document looks like a diff.Nick Mathewson2020-12-171-0/+6
|
* consdiff: disallow usize::MAX as a line number.Nick Mathewson2020-12-171-1/+11
| | | | This prevents some overflow cases; found by fuzzing.
* Add a fuzzer to tor-consdiffNick Mathewson2020-12-171-8/+20
| | | | | This fuzzer checks both implementations and makes sure they give the same result.
* consdiff: move responsibility for checking sort order into iteratorNick Mathewson2020-12-171-23/+43
|
* More tests for tor-consdiff.Nick Mathewson2020-12-171-6/+191
|
* tor-consdiff: document everything.Nick Mathewson2020-12-171-33/+154
|
* consdiff: use real error messagesNick Mathewson2020-12-171-15/+19
|
* consdiff: extract Error type to new module.Nick Mathewson2020-12-171-19/+2
|
* Make the O(n^2) slow diff-apply algorithm off-by-default.Nick Mathewson2020-12-161-0/+4
|
* Handle the headers on our diff format correctly.Nick Mathewson2020-12-161-13/+73
|
* Implement the O(n) algorithm for applying diffsNick Mathewson2020-12-161-14/+101
|
* Initial work on client-side consensus diff code.Nick Mathewson2020-12-161-0/+350