summaryrefslogtreecommitdiff
path: root/tor-dirclient/Cargo.toml
Commit message (Collapse)AuthorAgeFilesLines
* Remove "default-features=false" thing on tor-rtcompat for now.Nick Mathewson2021-06-241-1/+1
|
* Bump version dependencies to 0.0.0Nick Mathewson2021-06-241-6/+6
|
* Remove "publish = false"Nick Mathewson2021-06-241-1/+0
|
* Remove some (but not all) needless dependencies.Nick Mathewson2021-06-171-2/+0
|
* Give every Cargo.toml a repository fieldNick Mathewson2021-05-191-0/+1
|
* Fill in "package.categories" on all Cargo.tomlNick Mathewson2021-05-191-0/+1
|
* Bump regex and memchr versionsNick Mathewson2021-05-031-1/+1
|
* Split mocking parts of rtcompat into new rtmock crate.Nick Mathewson2021-05-031-0/+1
| | | | | Since these parts are testing-only, let's take steps to make sure we don't ship them in production by accident.
* upgrade httparse and zeroizeNick Mathewson2021-04-251-1/+1
|
* Make zstd and xz compression optional, but on-by-default.Nick Mathewson2021-04-211-2/+6
|
* Replace tor-decompress with async-compression crate.Nick Mathewson2021-04-131-1/+2
| | | | This lets us simplify tor-dirclient a fair bit. Closes #79.
* tor-dirclient: Use AsyncBufRead to simplify code a bit.Nick Mathewson2021-04-131-0/+1
| | | | | | | | | | | Previously we read too much data from our input, and then used the unused portion as an initial state of a buffer for handling subsequent data. Yuck! Instead we can just use an AsyncBufRead and only read the parts we want. This code takes some pains to never read too much data: I'd rather just "read until the first CRLF" or have some kind of pushback mechanism. But for now it's probably fine.
* Upgrade rsa, zstd, httpdate. Remove redundant pin-project.Nick Mathewson2021-04-051-1/+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 dependencies with "cargo upgrade"Nick Mathewson2021-03-061-1/+1
|
* Move content-encoding handling to decompressNick Mathewson2021-03-041-7/+0
| | | | This way tor-dirclient doesn't need to link to the compression crates.
* Moves decompress related code into tor-decompress crateKushal Das2021-03-041-0/+1
| | | | | The related data structures are marked as public in the tor-decompress crate so that tor-dirclient can access them.
* Port to work with tokio or async-std.Nick Mathewson2021-03-021-2/+2
| | | | | | | | | | | | | | | | | | 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-1/+1
|
* bump serde and logNick Mathewson2021-02-011-1/+1
|
* Adds zstd decompression implementation for dirclientKushal Das2021-01-211-0/+1
| | | | Adds dependency to zstd crate.
* require latest futures crateNick Mathewson2021-01-151-1/+1
|
* Upgrade a few more dependencies.Nick Mathewson2021-01-131-2/+2
|
* Upgrade a few dependencies.Nick Mathewson2021-01-131-3/+3
|
* cargo upgrade.Nick Mathewson2020-12-301-2/+2
|
* upgrade to latest anyhowNick Mathewson2020-12-211-1/+1
|
* Cargo-upgrade a few dependenciesNick Mathewson2020-12-211-1/+1
|
* Merge branch 'mr_1_squashed' into mainNick Mathewson2020-12-171-0/+1
|\
| * issue #34: adding support for xz2owen662020-12-021-0/+1
| |
* | upgrade to require latest anyhow.Nick Mathewson2020-12-081-1/+1
|/
* tor-dirclient: add timeoutsNick Mathewson2020-12-011-1/+1
| | | | | | | | This adds two timeouts in total: one for sending begin, and getting headers, and one for getting the rest of the data. These timeouts are way too long right now, but at least the code is there.
* Better error types for tor-dirclientNick Mathewson2020-11-251-1/+1
|
* tor-dirclient: add support for partial documents.Nick Mathewson2020-11-251-1/+1
| | | | | | Some requests are still useful when we get only a partial response -- like those where we're asking for a bunch of documents at once. For those, we should return any nonempty partial result.
* Start a directory client implementationNick Mathewson2020-11-161-0/+34
It can send a GET request on a circuit, get an answer, and decompress it with zlib. It will need documentation and tests eventually, as well as serious refactoring.