summaryrefslogtreecommitdiff
path: root/tor-proto/Cargo.toml
Commit message (Collapse)AuthorAgeFilesLines
* Add version="0.0.0" to dependencies that were missing itNick Mathewson2021-06-241-7/+7
|
* Remove "publish = false"Nick Mathewson2021-06-241-1/+0
|
* Give every Cargo.toml a repository fieldNick Mathewson2021-05-191-0/+1
|
* Upgrade to latest RustCrypto crates.Nick Mathewson2021-05-061-4/+4
|
* Remove pin_project usage in tor-proto.Nick Mathewson2021-04-281-1/+0
| | | | Turns out we didn't need it.
* upgrade httparse and zeroizeNick Mathewson2021-04-251-1/+1
|
* Upgrade rsa, zstd, httpdate. Remove redundant pin-project.Nick Mathewson2021-04-051-1/+0
|
* hs_ntor: add a disclaimer and put it behind a feature.Nick Mathewson2021-04-021-0/+4
|
* Move stream timeout logic into tor-client.Nick Mathewson2021-03-241-1/+0
| | | | | | | | | | This is consistent with the other pieces of tor-proto, which do not handle timeouts on their own. It also lets us remove tor-rtcompat as a dependency from tor-proto, and simplify some of the test cases to use async_test. This commit unindents a lot of test code; use git's "-b" flag to read the parts that matter.
* 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
|
* Bump a couple of depsNick Mathewson2021-03-131-1/+1
|
* Revise DataReader to implement AsyncRead.Nick Mathewson2021-03-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | The tricks I needed here turned out to be: * I needed to store the future returned by read_cell() while it is returning Poll::Pending. * Since the type of that future is secret, I needed to put it in a Box<dyn Future>. * But since that future holds a reference to the DataReader, that would create a self-referential structure if we tried to store the DataReader and the future at the same time. So instead, I had to make an enum() that either holds a DataReader directly, or holds the future that will give us back the DataReader when it's done. (I also had to change the read_cell() function so that it takes ownership of the DataReader, and returns it when it's finished.) (Daniel Franke explained how to do this.) * Finally, I couldn't figure out how to change the enum's type in-place, so I had to wrap it in an Option<>. (Daniel Franke says this isn't actually necessary.) I've noted a couple of places in the read code where I want to handle errors and closes more carefully.
* Bump dependencies with "cargo upgrade"Nick Mathewson2021-03-061-1/+1
|
* Port to work with tokio or async-std.Nick Mathewson2021-03-021-1/+1
| | | | | | | | | | | | | | | | | | This is fairly ugly and I think I'll need to mess around with the feature configuration a while until we get something that's pleasant to develop with. This still seems like a good idea, though, since we _will_ need to be executor-agnostic in the end, or we'll have no way to handle wasm or embedded environments. Later down the road, we'll probably want to use futures::Executor or futures::Spawn more than having global entry points in tor_rtcompat. That would probably make our feature story simpler. Tokio is the default now, since tokio seems to be more heavily used for performance-critical stuff. This patch breaks tests; the next one will fix them, albeit questionably.
* Update to latest futures, once_cellNick Mathewson2021-02-231-1/+1
|
* Update some dependencies.Nick Mathewson2021-02-191-1/+1
|
* upgrade a few dependenciesNick Mathewson2021-02-101-2/+2
|
* Implement timeout for new streams (set to 120 seconds).George Kadianakis2021-02-051-0/+1
|
* bump serde and logNick Mathewson2021-02-011-1/+1
|
* require latest futures crateNick Mathewson2021-01-151-1/+1
|
* Migrate from futures_codec to asynchronous_codec.Nick Mathewson2021-01-151-3/+2
| | | | | | | | 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-2/+2
|
* Upgrade a few dependencies.Nick Mathewson2021-01-131-2/+2
|
* cargo upgrade.Nick Mathewson2020-12-301-1/+1
|
* Cargo-upgrade a few dependenciesNick Mathewson2020-12-211-2/+2
|
* Upgrade a couple of dependenciesNick Mathewson2020-11-281-1/+1
|
* update some dependenciesNick Mathewson2020-11-111-1/+1
|
* Upgrade dependenciesNick Mathewson2020-11-101-2/+2
|
* upgrade a few packages.Nick Mathewson2020-11-051-2/+2
|
* Run "cargo upgrade".Nick Mathewson2020-10-261-4/+5
|
* Use event_listener to find out about sendme replenishment.Nick Mathewson2020-10-261-0/+1
| | | | | Previously we would fail if a sendme window was exhausted and two tasks were waiting for it to be replenished at the same time.
* Start on some tests for pieces of tor-proto::channelNick Mathewson2020-10-211-0/+2
|
* Run "cargo upgrade".Nick Mathewson2020-10-151-2/+2
|
* cargo upgradeNick Mathewson2020-09-291-1/+1
|
* test vectors for cell crypto.Nick Mathewson2020-09-281-1/+1
|
* Split the cell-handling parts of tor-proto into a new crate.Nick Mathewson2020-09-261-1/+1
|
* Make sendme authentication optional.Nick Mathewson2020-09-251-0/+1
| | | | | | | This code deviates from current tor in that it allows missing sendme authentications only when we know we're talking to an old relay, or when we don't know the version of the relay we're talking to.
* Run cargo upgradeNick Mathewson2020-09-211-3/+2
|
* proto::channel: add piping to move cells around.Nick Mathewson2020-09-111-0/+1
| | | | | | | There's a "reactor" task to move cells to the appropriate circuit, and a "send_cell" to send a cell directly. This is client-only for now.
* Pare down and sort dependenciesNick Mathewson2020-09-091-11/+10
|
* Run cargo upgrade, except for stream-cipher.Nick Mathewson2020-09-091-7/+7
|
* Implement most of client-side channel cert validation.Nick Mathewson2020-09-091-0/+2
|
* Work on client channel handshake: mostly done, except for verificationNick Mathewson2020-09-091-0/+1
|
* New "linkspec" module to encapsulate info needed to connect/extend.Nick Mathewson2020-09-081-0/+1
|
* proto: small err cleanupsNick Mathewson2020-09-061-0/+1
|