summaryrefslogtreecommitdiff
path: root/tor-cell
Commit message (Collapse)AuthorAgeFilesLines
* Add version="0.0.0" to dependencies that were missing itNick Mathewson2021-06-241-5/+5
|
* Remove "publish = false"Nick Mathewson2021-06-241-1/+0
|
* Fix some warnings about needless & from nightly clippyNick Mathewson2021-06-181-2/+2
|
* Remove some (but not all) needless dependencies.Nick Mathewson2021-06-172-3/+2
|
* Make a few error types implement CloneNick Mathewson2021-06-141-2/+9
| | | | | | | To make this work we have to wrap std::io::Error in an Arc. The benefit of having these errors implement Clone is that we can provide the same Error in response to multiple requests when they are all waiting on the same operation.
* 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-262-2/+2
|
* 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/+71
|
* Light tweaks to tor-cell docNick Mathewson2021-05-241-0/+6
|
* 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.
* Check "connection" usage for when stream or channel would be better.Nick Mathewson2021-05-181-2/+2
|
* Prefer "relay" over "node" in most circumstances.Nick Mathewson2021-05-182-5/+5
|
* Fix some warnings from nightly clippyNick Mathewson2021-05-071-2/+2
|
* Resolve clippy warnings from Rust 1.52.Nick Mathewson2021-05-071-1/+2
| | | | | | | | | | Rust 1.52 just came out, and there are new clippy lints to deal with: * It spots more cases when we could use Option::map * It spots more cases when we could use Iterator::flatten * When we build a struct instance, it wants us to list the fields in the same order that the struct declares them.
* Use s.parse(), not u16::from_str_radix(s,10)Nick Mathewson2021-05-071-1/+1
| | | | | | | Clippy started warning on this with Rust 1.52. I'm fairly sure that when I wrote this code I was worried that <u16 as FromStr>::parse() might allow hex or something. But fortunately, it doesn't work that way, so I don't need to be paranoid here.
* Add trait_duplication_in_bounds warning.Nick Mathewson2021-05-031-0/+1
|
* Add unseparated_literal_suffix lint, and fix it.Nick Mathewson2021-05-035-7/+8
|
* 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-273-0/+7
| | | | | | | | 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).
* Fix Rust-1.51 clippy warnings about acronyms in camel case.Nick Mathewson2021-03-293-22/+22
| | | | This is painful, but we shouldn't have to do it again.
* Rename Rsa{Identity,Signature} to fix clippy warning.Nick Mathewson2021-03-292-6/+6
|
* Add a compatibility layer so we can upgrade rand_core.Nick Mathewson2021-03-181-2/+2
| | | | | | dalek-crypto is stuck on rand_core 0.5.1, so we've been stuck too. This commit introduces a compatibility module so that we can wrap new rand_core instances to make them backward compatible.
* 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
|
* Better management for END cells in streams.Nick Mathewson2021-03-101-0/+25
|
* Bump dependencies with "cargo upgrade"Nick Mathewson2021-03-061-1/+1
|
* clippy warning on msg.rsNick Mathewson2021-03-041-8/+5
|
* Change how we sort link specifiers in extend cellsNick Mathewson2021-03-041-1/+1
| | | | | Instead of implementing a dubious PartialOrd for link spec, add a sorting function and call that explicitly.
* Avoid an is_some()/unwrap() pair in End cell parsingNick Mathewson2021-03-041-6/+8
|
* 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.
* Remove unused futures_codec in tor-cell/fuzzNick Mathewson2021-01-151-1/+0
|
* cargo upgrade.Nick Mathewson2020-12-301-1/+1
|
* Basic support for IPv6 and begin flags.Nick Mathewson2020-12-151-0/+30
| | | | | | We now have a way to tell a circuitmgr whether we require ipv4/ipv6 support for a target address in an exit policy, and we use similar logic to set begin flags.
* Use a set of named flags for BeginFlags in tor-cell.Nick Mathewson2020-12-152-6/+33
|
* Remove a couple of stray dbg!() calls.Nick Mathewson2020-11-191-1/+0
|
* Upgrade dependenciesNick Mathewson2020-11-101-1/+1
|
* tor-cell: In netinfo, unspecified addresses are None.Nick Mathewson2020-10-292-11/+18
|
* Add a test for extending a circuit with ntor.Nick Mathewson2020-10-271-0/+10
|
* Expand test to handle building circuit with ntor.Nick Mathewson2020-10-271-0/+10
|
* Run "cargo upgrade".Nick Mathewson2020-10-261-0/+1
|
* Remove a bunch of dbg! calls.Nick Mathewson2020-10-262-2/+0
|
* Improve documentation in tor-cellNick Mathewson2020-10-265-48/+202
|
* Rename CircID and StreamID to end with Id instead, for consistencyNick Mathewson2020-10-255-40/+40
|