arti/crates/tor-dirclient/Cargo.toml

44 lines
1.4 KiB
TOML

[package]
name = "tor-dirclient"
version = "0.1.0"
authors = ["The Tor Project, Inc.", "Nick Mathewson <nickm@torproject.org>"]
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.1.0"}
tor-error = { path="../tor-error", version = "0.1.0"}
tor-llcrypto = { path="../tor-llcrypto", version = "0.1.0"}
tor-proto = { path="../tor-proto", version = "0.1.0"}
tor-netdoc = { path="../tor-netdoc", version = "0.1.0"}
tor-rtcompat = { path="../tor-rtcompat", version = "0.1.0"}
async-compression = { version = "0.3.5", features = ["futures-io", "zlib"] }
base64 = "0.13.0"
futures = "0.3.14"
hex = "0.4"
http = "0.2"
httpdate = "1.0"
httparse = "1.2"
tracing = "0.1.18"
memchr = "2"
thiserror = "1"
[dev-dependencies]
futures-await-test = "0.3.0"
tor-rtmock = { path="../tor-rtmock", version = "0.1.0"}
tor-rtcompat = { path="../tor-rtcompat", version = "0.1.0", features=["tokio", "native-tls" ] }