diff options
Diffstat (limited to 'crates/tor-netdir/Cargo.toml')
| -rw-r--r-- | crates/tor-netdir/Cargo.toml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crates/tor-netdir/Cargo.toml b/crates/tor-netdir/Cargo.toml index f6541064d..4aedd5796 100644 --- a/crates/tor-netdir/Cargo.toml +++ b/crates/tor-netdir/Cargo.toml @@ -23,7 +23,7 @@ experimental = ["experimental-api", "onion-service", "onion-client"] experimental-api = [] onion-client = ["onion-common"] onion-service = ["onion-common"] -onion-common = ["tor-hscrypto"] +onion-common = ["digest", "time", "tor-hscrypto"] # Enable testing-only APIs. APIs under this feature are not # covered by semver. @@ -33,8 +33,10 @@ testing = ["hex", "tor-netdoc/build_docs"] bitflags = "1" derive_builder = { version = "0.11.2", package = "derive_builder_fork_arti" } derive_more = "0.99.3" +digest = { version = "0.10.0", optional = true } futures = "0.3.14" hex = { version = "0.4", optional = true } +humantime = "2" num_enum = "0.5" rand = "0.8" serde = { version = "1.0.103", features = ["derive"] } @@ -42,6 +44,7 @@ signature = "1" static_assertions = "1" strum = { version = "0.24", features = ["derive"] } thiserror = "1" +time = { version = "0.3.17", features = ["macros"], optional = true } tor-checkable = { path = "../tor-checkable", version = "0.4.0" } tor-config = { path = "../tor-config", version = "0.7.0" } tor-error = { path = "../tor-error", version = "0.4.0" } @@ -56,6 +59,7 @@ tracing = "0.1.18" [dev-dependencies] float_eq = "1.0.0" hex = "0.4" +hex-literal = "0.3" rand_chacha = "0.3" tor-basic-utils = { path = "../tor-basic-utils", version = "0.5.0" } tor-netdoc = { path = "../tor-netdoc", version = "0.6.0", features = ["build_docs"] } |
