52 lines
1.8 KiB
TOML
52 lines
1.8 KiB
TOML
[package]
|
|
name = "tor-dirclient"
|
|
version = "0.6.3"
|
|
authors = ["The Tor Project, Inc.", "Nick Mathewson <nickm@torproject.org>"]
|
|
edition = "2021"
|
|
rust-version = "1.65"
|
|
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"]
|
|
# Enable support for hidden service descriptor downloads.
|
|
hs-client = ["tor-hscrypto"]
|
|
xz = ["async-compression/xz"]
|
|
zstd = ["async-compression/zstd"]
|
|
# Enable support for router descriptor downloads.
|
|
routerdesc = []
|
|
|
|
[dependencies]
|
|
async-compression = { version = "0.3.14", features = ["futures-io", "zlib"] }
|
|
base64ct = "1.5.1"
|
|
derive_more = "0.99.3"
|
|
futures = "0.3.14"
|
|
hex = "0.4"
|
|
http = "0.2"
|
|
httparse = "1.2"
|
|
httpdate = "1.0"
|
|
itertools = "0.10.1"
|
|
memchr = "2"
|
|
thiserror = "1"
|
|
tor-circmgr = { path = "../tor-circmgr", version = "0.7.3" }
|
|
tor-error = { path = "../tor-error", version = "0.4.1" }
|
|
tor-hscrypto = { path = "../tor-hscrypto", version = "0.1.2", optional = true }
|
|
tor-linkspec = { path = "../tor-linkspec", version = "0.6.3" }
|
|
tor-llcrypto = { path = "../tor-llcrypto", version = "0.4.3" }
|
|
tor-netdoc = { path = "../tor-netdoc", version = "0.6.3" }
|
|
tor-proto = { path = "../tor-proto", version = "0.9.1" }
|
|
tor-rtcompat = { path = "../tor-rtcompat", version = "0.8.1" }
|
|
tracing = "0.1.18"
|
|
|
|
[dev-dependencies]
|
|
futures-await-test = "0.3.0"
|
|
tor-rtcompat = { path = "../tor-rtcompat", version = "0.8.1", features = ["tokio", "native-tls"] }
|
|
tor-rtmock = { path = "../tor-rtmock", version = "0.7.2" }
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|