aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-dirserver/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'crates/tor-dirserver/Cargo.toml')
-rw-r--r--crates/tor-dirserver/Cargo.toml7
1 files changed, 5 insertions, 2 deletions
diff --git a/crates/tor-dirserver/Cargo.toml b/crates/tor-dirserver/Cargo.toml
index b1080d4cd..0b744f74d 100644
--- a/crates/tor-dirserver/Cargo.toml
+++ b/crates/tor-dirserver/Cargo.toml
@@ -24,6 +24,9 @@ full = [
"tor-llcrypto/full",
"tor-checkable/full",
]
+experimental = ["dir-plugin-backend"]
+dir-plugin-backend = ["__is_experimental"]
+__is_experimental = []
[dependencies]
bytes = "1.10.1"
@@ -33,6 +36,7 @@ futures = "0.3.31"
hex = "0.4.3"
http = "1.3.1"
http-body = "1.0.1"
+http-body-util = "0.1.3"
hyper = { version = "1.7.0", default-features = false, features = ["server", "http1"] }
hyper-util = { version = "0.1.16", features = ["full"] }
lzma-rs = "0.3.0"
@@ -51,7 +55,7 @@ tokio-util = { version = "0.7.16", features = ["compat"] }
tor-basic-utils = { version = "0.45.0", path = "../tor-basic-utils" }
tor-checkable = { path = "../tor-checkable", version = "0.45.0" }
tor-dirclient = { version = "0.45.0", path = "../tor-dirclient" }
-tor-dircommon = { version = "0.45.0", path = "../tor-dircommon" }
+tor-dircommon = { version = "0.45.0", path = "../tor-dircommon", features = ["experimental"] }
tor-error = { version = "0.45.0", path = "../tor-error" }
tor-llcrypto = { version = "0.45.0", path = "../tor-llcrypto" }
tor-netdoc = { version = "0.45.0", path = "../tor-netdoc", features = ["full", "experimental"] }
@@ -61,7 +65,6 @@ weak-table = "0.4.0"
zstd = "0.13.3"
[dev-dependencies]
-http-body-util = "0.1.3"
lazy_static = "1.5.0"
tempfile = "3.23.0"
tokio-stream = { version = "0.1.17", features = ["full"] }