summaryrefslogtreecommitdiff
path: root/tor-bytes/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.
* Enable cargo_common_metadata warning.Nick Mathewson2021-05-251-0/+1
|
* 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
|
* 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/+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 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.
* 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
|
* bytes: add tests for impl.rsNick Mathewson2020-09-151-0/+113
|
* bytes: add tests for Writer traitNick Mathewson2020-09-142-0/+56
|
* bytes: more test for Reader.Nick Mathewson2020-09-141-4/+86
|
* tor_bytes::Reader: fix a bug in truncate.Nick Mathewson2020-09-121-1/+1
|
* Implement most of client-side channel cert validation.Nick Mathewson2020-09-091-2/+4
|
* Fix clippy warnings; improve key type for consensus.Nick Mathewson2020-09-072-2/+0
|
* tor-bytes: Add initial support for the bytes crateNick Mathewson2020-09-052-0/+16
|
* Migrate certificate and routerdesc checking to tor-checkableNick Mathewson2020-09-031-1/+1
| | | | | Now these types are parsed and returned wrapped inside a checkable object.
* Update to latest packages; ed25519 now needs signature crate traits.Nick Mathewson2020-07-201-5/+6
|
* update to use latest rust-crypto traits and modulesNick Mathewson2020-06-101-7/+6
|
* tor-bytes: add the missing documentationNick Mathewson2020-05-085-18/+224
|
* make id field in RSAIdentity privateNick Mathewson2020-05-081-5/+2
|
* Fresh git repository for work on "arti"Nick Mathewson2020-05-075-0/+636
Arti is a rust tor implementation. It's project I've been working on for a few months now, in weekends and in spare time. It doesn't speak the tor protocol yet, and it doesn't connect to the network at all. It needs much more documentation and testing, but I'm just about ready to show it to others. See the README.md for a description of what is there and what isn't.