aboutsummaryrefslogtreecommitdiff
path: root/tor-bytes
Commit message (Collapse)AuthorAgeFilesLines
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-2711-1405/+0
| | | | | This will cause some pain for now, but now is really the best time to do this kind of thing.
* WIP: Add the "unwrap_used" lint.S0AndS02021-08-241-0/+1
| | | | | | | | | | | | | | | | | > Check `unwrap_used` section of Clippy documentation for details; > > https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used This adds the following Clippy configuration to crates; #![deny(clippy::unwrap_used)] **Warning** while tests and compiler do not show any errors, the submitted changes are very much a Work In Progress and mistakes may have been made. Check https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/67 Merge Request thread for more details.
* Merge remote-tracking branch 'origin/mr/60'Nick Mathewson2021-08-181-0/+1
|\
| * Add the "missing_panics_doc" lint.S0AndS02021-08-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | > Check `missing_panics_doc` section of Clippy documentation for details; > > https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc This adds the following Clippy configuration to crates; #![deny(clippy::missing_panics_doc)] And adds necessary doc-comments to methods that may panic.
* | Add the "implicit_clone" lint.S0AndS02021-08-171-0/+1
|/ | | | | | | | | | | | | | > Check `implicit_clone` section of Clippy documentation for details; > > https://rust-lang.github.io/rust-clippy/master/index.html#implicit_clone This adds, and addresses, the following Clippy configuration to crates; #![deny(clippy::implicit_clone)] And moves related line within `maint/add_warning.py` file. My intent is to mitigate extra edits after merging, so please let me know if I need to do this last bit differently.
* Use add_warnings.py for clippy::cast_losslessNick Mathewson2021-08-131-1/+1
|
* Merge remote-tracking branch 'origin/mr/59'Nick Mathewson2021-08-131-0/+1
|\
| * Add the "cast_lossless" lint.S0AndS02021-08-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | > Check `cast_lossless` section of Clippy documentation for details; > > https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless This adds the following Clippy configuration to crates; #![deny(clippy::cast_lossless)] And applies suggested Clippy and `cargo fmt` fixes.
* | Misc fake coverage improvementsNick Mathewson2021-08-131-0/+2
|/ | | | | | These aren't true coverage improvements; they're just either improving the coverage of test code, or telling the coverage tool that it shouldn't worry about code in the fuzzers.
* Add unnecessary_wraps to the big warning list.Nick Mathewson2021-08-061-0/+1
|
* Add symlinks to arti-corporarls2021-08-041-0/+1
|
* Fix typos and other spelling mistakesrls2021-07-312-2/+2
|
* Merge remote-tracking branch 'origin/mr/34'Nick Mathewson2021-06-271-0/+2
|\
| * Add clippy warn needless pass by valueYUAN LYU2021-06-211-0/+1
| |
| * Add clippy warn needless borrowYUAN LYU2021-06-211-0/+1
| |
* | List version 0.0.0 for tor-llcrypto dependency in tor-bytesNick Mathewson2021-06-241-1/+1
| |
* | Remove "publish = false"Nick Mathewson2021-06-241-1/+0
|/
* 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.
* Enable cargo_common_metadata warning.Nick Mathewson2021-05-251-0/+1
|
* Add automatically generated README.md files to each crate.Nick Mathewson2021-05-251-0/+52
|
* tor-bytes: fuzzer for Reader code.Nick Mathewson2021-05-243-0/+103
|
* tor-bytes: Fix possible panic in truncate.Nick Mathewson2021-05-242-4/+18
|
* Improve tor-bytes crate-level documentation.Nick Mathewson2021-05-241-13/+38
|
* Give every Cargo.toml a repository fieldNick Mathewson2021-05-191-0/+1
|
* 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.
* Upgrade to latest RustCrypto crates.Nick Mathewson2021-05-061-1/+1
|
* 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/+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).
* Rename Rsa{Identity,Signature} to fix clippy warning.Nick Mathewson2021-03-291-6/+6
|
* Add appropriate categories to some Cargo.toml files.Nick Mathewson2021-03-171-0/+1
|
* Add the tor project as an author.Nick Mathewson2021-03-171-1/+1
|
* Add keywords to each Cargo.tomlNick Mathewson2021-03-171-0/+1
|
* Add a description field to all our Cargo.toml filesNick Mathewson2021-03-171-0/+1
|
* Give it a homepage everyplace.Nick Mathewson2021-03-171-0/+1
|
* Update some dependencies.Nick Mathewson2021-02-191-1/+1
|
* Migrate from futures_codec to asynchronous_codec.Nick Mathewson2021-01-151-2/+1
| | | | | | | | asynchronous_codec is a fork of futures_codec that is up-to-date on its dependencies. This migration allows us to upgrade to the current version of the bytes crate.
* Upgrade a few more dependencies.Nick Mathewson2021-01-131-1/+1
|
* cargo upgrade.Nick Mathewson2020-12-301-1/+1
|
* Upgrade dependenciesNick Mathewson2020-11-101-1/+1
|
* Run "cargo upgrade".Nick Mathewson2020-10-261-1/+2
|
* Add a test for Reader::advanceNick Mathewson2020-10-211-0/+11
|
* Improvements to Relay type in tor-netdir.Nick Mathewson2020-10-191-0/+12
| | | | | | | | | | | Now, a Relay is always valid. This required some changes to the API: all_relays() has to return a new UncheckedRelay type that might or might not be valid, and the functions on Relay and ChanTarget that return ed25519 identities need to return an Ed25519Identity, not an ed25519::PublicKey. This change required some new encoding/decoding/conversion functions on Ed25519Identity.
* Run "cargo upgrade".Nick Mathewson2020-10-151-1/+1
|
* Document private members in most cratesNick Mathewson2020-09-244-2/+9
|
* Run cargo fix --edition-idiomsNick Mathewson2020-09-211-1/+1
|
* More tests for tor_bytes::implNick Mathewson2020-09-151-1/+25
|
* tor_bytes: Remove an extraneous printlnNick Mathewson2020-09-151-4/+2
|