summaryrefslogtreecommitdiff
path: root/crates/tor-dirclient/Cargo.toml
blob: 4952de3580c2e8ed8e98d57ac0d0497fc57699d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[package]
name = "tor-dirclient"
version = "0.0.2"
authors = ["The Tor Project, Inc.", "Nick Mathewson <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
description = "Downloads specific Tor network directory objects over the Tor network"
keywords = [ "tor", "arti", "download", "async" ]
categories = [ "network-programming", "cryptography" ]
repository="https://gitlab.torproject.org/tpo/core/arti.git/"

[features]
default = [ "xz", "zstd" ]
xz = ["async-compression/xz"]
zstd = ["async-compression/zstd"]
# Enable support for router descriptor downloads.
routerdesc = []

[dependencies]
tor-circmgr = { path="../tor-circmgr", version = "0.0.2"}
tor-llcrypto = { path="../tor-llcrypto", version = "0.0.2"}
tor-proto = { path="../tor-proto", version = "0.0.2"}
tor-netdoc = { path="../tor-netdoc", version = "0.0.2"}
tor-rtcompat = { path="../tor-rtcompat", version = "0.0.2"}

async-compression = { version = "0.3.7", features=["futures-io", "zlib"] }
base64 = "0.13.0"
futures = "0.3.13"
hex = "0.4.3"
http = "0.2.3"
httpdate = "1.0.0"
httparse = "1.4.0"
tracing = "0.1.26"
memchr = "2.4.0"
thiserror = "1.0.24"

[dev-dependencies]
futures-await-test = "0.3.0"
tor-rtmock = { path="../tor-rtmock", version = "0.0.2"}
tor-rtcompat = { path="../tor-rtcompat", version = "0.0.2", features=["tokio"] }