summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/arti-bench/Cargo.toml1
-rw-r--r--crates/arti-client/Cargo.toml1
-rw-r--r--crates/arti/Cargo.toml1
-rw-r--r--crates/tor-basic-utils/Cargo.toml2
-rw-r--r--crates/tor-cert/Cargo.toml1
-rw-r--r--crates/tor-chanmgr/Cargo.toml1
-rw-r--r--crates/tor-checkable/Cargo.toml2
-rw-r--r--crates/tor-circmgr/Cargo.toml1
-rw-r--r--crates/tor-consdiff/Cargo.toml2
-rw-r--r--crates/tor-dirclient/Cargo.toml1
-rw-r--r--crates/tor-dirmgr/Cargo.toml1
-rw-r--r--crates/tor-error/Cargo.toml9
-rw-r--r--crates/tor-guardmgr/Cargo.toml1
-rw-r--r--crates/tor-hsclient/Cargo.toml1
-rw-r--r--crates/tor-hscrypto/Cargo.toml1
-rw-r--r--crates/tor-hsservice/Cargo.toml1
-rw-r--r--crates/tor-keymgr/Cargo.toml1
-rw-r--r--crates/tor-log-ratelim/Cargo.toml2
-rw-r--r--crates/tor-netdir/Cargo.toml1
-rw-r--r--crates/tor-netdoc/Cargo.toml1
-rw-r--r--crates/tor-persist/Cargo.toml1
-rw-r--r--crates/tor-proto/Cargo.toml1
-rw-r--r--crates/tor-ptmgr/Cargo.toml1
-rw-r--r--crates/tor-relay-crypto/Cargo.toml1
-rw-r--r--crates/tor-rtcompat/Cargo.toml1
-rw-r--r--crates/tor-rtmock/Cargo.toml1
-rw-r--r--examples/gsoc2023/obfs4-checker/Cargo.toml1
-rw-r--r--maint/keygen-client-auth-test/Cargo.toml8
28 files changed, 42 insertions, 5 deletions
diff --git a/crates/arti-bench/Cargo.toml b/crates/arti-bench/Cargo.toml
index 1fb43d641..a2f088a50 100644
--- a/crates/arti-bench/Cargo.toml
+++ b/crates/arti-bench/Cargo.toml
@@ -41,6 +41,7 @@ full = [
"fs-mistrust/full",
"tor-config/full",
"tor-rtcompat/full",
+ "web-time-compat/full",
]
[package.metadata.docs.rs]
all-features = true
diff --git a/crates/arti-client/Cargo.toml b/crates/arti-client/Cargo.toml
index 6c2235473..a169403a7 100644
--- a/crates/arti-client/Cargo.toml
+++ b/crates/arti-client/Cargo.toml
@@ -61,6 +61,7 @@ full = [
"tor-config-path/full",
"tor-protover/full",
"tor-dircommon/full",
+ "web-time-compat/full",
] # "full" is a top-level selector that turns on every feature, _EXCEPT FOR_:
# * Features that are experimental or unstable
# * Features that are testing-only
diff --git a/crates/arti/Cargo.toml b/crates/arti/Cargo.toml
index e61404b82..70a197f68 100644
--- a/crates/arti/Cargo.toml
+++ b/crates/arti/Cargo.toml
@@ -69,6 +69,7 @@ full = [
"futures-copy/full",
"tor-general-addr/full",
"tor-log-ratelim/full",
+ "web-time-compat/full",
]
async-std = ["arti-client/async-std", "tor-rtcompat/async-std", "async-ctrlc", "async-signal"]
diff --git a/crates/tor-basic-utils/Cargo.toml b/crates/tor-basic-utils/Cargo.toml
index ade411c07..ae5590d5e 100644
--- a/crates/tor-basic-utils/Cargo.toml
+++ b/crates/tor-basic-utils/Cargo.toml
@@ -34,7 +34,7 @@ serde-value = "0.7.0"
serde_json = "1.0.50"
[features]
-full = ["serde"]
+full = ["serde", "web-time-compat/full"]
[package.metadata.docs.rs]
all-features = true
diff --git a/crates/tor-cert/Cargo.toml b/crates/tor-cert/Cargo.toml
index 26fa6c909..c54e969e4 100644
--- a/crates/tor-cert/Cargo.toml
+++ b/crates/tor-cert/Cargo.toml
@@ -26,6 +26,7 @@ full = [
"x509",
"tor-error/full",
"tor-cert-x509?/full",
+ "web-time-compat/full",
]
x509 = ["tor-cert-x509"]
# Enable experimental APIs that are not yet officially supported.
diff --git a/crates/tor-chanmgr/Cargo.toml b/crates/tor-chanmgr/Cargo.toml
index 544d4d6fb..b1c0d3431 100644
--- a/crates/tor-chanmgr/Cargo.toml
+++ b/crates/tor-chanmgr/Cargo.toml
@@ -34,6 +34,7 @@ full = [
"oneshot-fused-workaround/full",
"tor-memquota/full",
"caret/full",
+ "web-time-compat/full",
]
pt-client = ["tor-linkspec/pt-client", "tor-proto/pt-client"]
diff --git a/crates/tor-checkable/Cargo.toml b/crates/tor-checkable/Cargo.toml
index 67c3cf1a3..2200b0cc0 100644
--- a/crates/tor-checkable/Cargo.toml
+++ b/crates/tor-checkable/Cargo.toml
@@ -14,7 +14,7 @@ repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
[features]
experimental = ["experimental-api"]
experimental-api = ["__is_experimental"]
-full = ["tor-llcrypto/full"]
+full = ["tor-llcrypto/full", "web-time-compat/full"]
__is_experimental = []
[dependencies]
diff --git a/crates/tor-circmgr/Cargo.toml b/crates/tor-circmgr/Cargo.toml
index e28361d92..efe3b29bc 100644
--- a/crates/tor-circmgr/Cargo.toml
+++ b/crates/tor-circmgr/Cargo.toml
@@ -42,6 +42,7 @@ full = [
"tor-memquota/full",
"tor-units/full",
"tor-dircommon/full",
+ "web-time-compat/full",
]
specific-relay = []
vanguards = ["tor-guardmgr/vanguards"]
diff --git a/crates/tor-consdiff/Cargo.toml b/crates/tor-consdiff/Cargo.toml
index a68e7c110..e72b1003e 100644
--- a/crates/tor-consdiff/Cargo.toml
+++ b/crates/tor-consdiff/Cargo.toml
@@ -13,7 +13,7 @@ repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
[features]
default = []
-full = ["tor-llcrypto/full"]
+full = ["tor-llcrypto/full", "tor-error/full", "tor-netdoc/full"]
experimental = ["slow-diff-apply"]
slow-diff-apply = ["__is_experimental"]
diff --git a/crates/tor-dirclient/Cargo.toml b/crates/tor-dirclient/Cargo.toml
index f04f8ac8c..e836a4f4e 100644
--- a/crates/tor-dirclient/Cargo.toml
+++ b/crates/tor-dirclient/Cargo.toml
@@ -38,6 +38,7 @@ full = [
"tor-netdoc/full",
"tor-proto/full",
"tor-rtcompat/full",
+ "web-time-compat/full",
]
experimental = []
diff --git a/crates/tor-dirmgr/Cargo.toml b/crates/tor-dirmgr/Cargo.toml
index e340f2471..711289ead 100644
--- a/crates/tor-dirmgr/Cargo.toml
+++ b/crates/tor-dirmgr/Cargo.toml
@@ -41,6 +41,7 @@ full = [
"oneshot-fused-workaround/full",
"tor-protover/full",
"tor-dircommon/full",
+ "web-time-compat/full",
]
experimental = ["experimental-api", "dirfilter", "geoip"]
bridge-client = ["tor-circmgr/specific-relay", "tor-guardmgr/bridge-client", "routerdesc"]
diff --git a/crates/tor-error/Cargo.toml b/crates/tor-error/Cargo.toml
index 0cf0c73be..9e9153b4a 100644
--- a/crates/tor-error/Cargo.toml
+++ b/crates/tor-error/Cargo.toml
@@ -13,7 +13,14 @@ categories = ["rust-patterns"]
[features]
default = ["backtrace", "futures"]
-full = ["backtrace", "futures", "tracing", "http", "retry-error/full"]
+full = [
+ "backtrace",
+ "futures",
+ "tracing",
+ "http",
+ "retry-error/full",
+ "web-time-compat/full",
+]
experimental = ["experimental-api", "rpc"]
experimental-api = ["rpc", "__is_experimental"]
diff --git a/crates/tor-guardmgr/Cargo.toml b/crates/tor-guardmgr/Cargo.toml
index 097eefaf6..54a8c9803 100644
--- a/crates/tor-guardmgr/Cargo.toml
+++ b/crates/tor-guardmgr/Cargo.toml
@@ -35,6 +35,7 @@ full = [
"tor-rtmock?/full",
"oneshot-fused-workaround/full",
"tor-dircommon/full",
+ "web-time-compat/full",
]
experimental = ["testing"]
diff --git a/crates/tor-hsclient/Cargo.toml b/crates/tor-hsclient/Cargo.toml
index cb6542792..2bb7d4fbc 100644
--- a/crates/tor-hsclient/Cargo.toml
+++ b/crates/tor-hsclient/Cargo.toml
@@ -49,6 +49,7 @@ full = [
"slotmap-careful/full",
"tor-memquota/full",
"tor-protover/full",
+ "web-time-compat/full",
]
__is_experimental = []
experimental = ["keymgr", "hs-pow-full"]
diff --git a/crates/tor-hscrypto/Cargo.toml b/crates/tor-hscrypto/Cargo.toml
index 05c2b020b..5f4ee9860 100644
--- a/crates/tor-hscrypto/Cargo.toml
+++ b/crates/tor-hscrypto/Cargo.toml
@@ -35,6 +35,7 @@ full = [
"equix?/full",
"tor-memquota?/full",
"tor-key-forge/full",
+ "web-time-compat/full",
]
experimental = ["hs-pow-full"]
diff --git a/crates/tor-hsservice/Cargo.toml b/crates/tor-hsservice/Cargo.toml
index e9a4ff0f5..40647f114 100644
--- a/crates/tor-hsservice/Cargo.toml
+++ b/crates/tor-hsservice/Cargo.toml
@@ -62,6 +62,7 @@ full = [
"tor-relay-selection/full",
"tor-rtcompat/full",
"equix?/full",
+ "web-time-compat/full",
]
# Enable experimental APIs that are not yet officially supported.
diff --git a/crates/tor-keymgr/Cargo.toml b/crates/tor-keymgr/Cargo.toml
index 909dd51b5..aa707cc99 100644
--- a/crates/tor-keymgr/Cargo.toml
+++ b/crates/tor-keymgr/Cargo.toml
@@ -28,6 +28,7 @@ full = [
"tor-config-path/full",
"tor-bytes/full",
"safelog/full",
+ "web-time-compat/full",
]
# Enable experimental APIs that are not yet officially supported.
diff --git a/crates/tor-log-ratelim/Cargo.toml b/crates/tor-log-ratelim/Cargo.toml
index 539190d3c..e0e0fd645 100644
--- a/crates/tor-log-ratelim/Cargo.toml
+++ b/crates/tor-log-ratelim/Cargo.toml
@@ -14,7 +14,7 @@ repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
[features]
default = []
-full = ["tor-error/full", "tor-rtcompat/full"]
+full = ["tor-error/full", "tor-rtcompat/full", "web-time-compat/full"]
[dependencies]
diff --git a/crates/tor-netdir/Cargo.toml b/crates/tor-netdir/Cargo.toml
index 5d0817ed1..349d6df40 100644
--- a/crates/tor-netdir/Cargo.toml
+++ b/crates/tor-netdir/Cargo.toml
@@ -51,6 +51,7 @@ full = [
"tor-protover/full",
"tor-units/full",
"tor-geoip?/full",
+ "web-time-compat/full",
]
__is_experimental = []
diff --git a/crates/tor-netdoc/Cargo.toml b/crates/tor-netdoc/Cargo.toml
index 1a31c5a4e..0ee29c08c 100644
--- a/crates/tor-netdoc/Cargo.toml
+++ b/crates/tor-netdoc/Cargo.toml
@@ -32,6 +32,7 @@ full = [
"tor-protover/full",
"tor-units?/full",
"tor-cell/full",
+ "web-time-compat/full",
]
experimental = [
"build_docs",
diff --git a/crates/tor-persist/Cargo.toml b/crates/tor-persist/Cargo.toml
index 733fcbcb0..be40586f1 100644
--- a/crates/tor-persist/Cargo.toml
+++ b/crates/tor-persist/Cargo.toml
@@ -25,6 +25,7 @@ full = [
"tor-basic-utils/full",
"tor-async-utils/full",
"oneshot-fused-workaround/full",
+ "web-time-compat/full",
]
experimental = ["state-dir", "testing"]
diff --git a/crates/tor-proto/Cargo.toml b/crates/tor-proto/Cargo.toml
index e44d6ae93..4b24afce4 100644
--- a/crates/tor-proto/Cargo.toml
+++ b/crates/tor-proto/Cargo.toml
@@ -44,6 +44,7 @@ full = [
"caret/full",
"tor-protover/full",
"tor-relay-crypto/full",
+ "web-time-compat/full",
]
experimental = [
diff --git a/crates/tor-ptmgr/Cargo.toml b/crates/tor-ptmgr/Cargo.toml
index dbfda0855..5e59fc9f8 100644
--- a/crates/tor-ptmgr/Cargo.toml
+++ b/crates/tor-ptmgr/Cargo.toml
@@ -30,6 +30,7 @@ full = [
"oneshot-fused-workaround/full",
"tor-config-path/full",
"tor-proto/full",
+ "web-time-compat/full",
]
experimental = ["experimental-api"]
diff --git a/crates/tor-relay-crypto/Cargo.toml b/crates/tor-relay-crypto/Cargo.toml
index ad35fcfde..e0b3c4660 100644
--- a/crates/tor-relay-crypto/Cargo.toml
+++ b/crates/tor-relay-crypto/Cargo.toml
@@ -21,6 +21,7 @@ full = [
"tor-persist/full",
"tor-checkable/full",
"tor-llcrypto/full",
+ "web-time-compat/full",
]
[dependencies]
diff --git a/crates/tor-rtcompat/Cargo.toml b/crates/tor-rtcompat/Cargo.toml
index 2682ccfc0..56eaa0b8d 100644
--- a/crates/tor-rtcompat/Cargo.toml
+++ b/crates/tor-rtcompat/Cargo.toml
@@ -25,6 +25,7 @@ full = [
"tor-error/full",
"tor-general-addr/full",
"tor-cert-x509?/full",
+ "web-time-compat/full",
]
experimental = ["smol"]
diff --git a/crates/tor-rtmock/Cargo.toml b/crates/tor-rtmock/Cargo.toml
index 58a564f34..08e1d8b6a 100644
--- a/crates/tor-rtmock/Cargo.toml
+++ b/crates/tor-rtmock/Cargo.toml
@@ -49,6 +49,7 @@ full = [
"oneshot-fused-workaround/full",
"slotmap-careful/full",
"tor-general-addr/full",
+ "web-time-compat/full",
]
[package.metadata.docs.rs]
all-features = true
diff --git a/examples/gsoc2023/obfs4-checker/Cargo.toml b/examples/gsoc2023/obfs4-checker/Cargo.toml
index f0073df82..53c8840b6 100644
--- a/examples/gsoc2023/obfs4-checker/Cargo.toml
+++ b/examples/gsoc2023/obfs4-checker/Cargo.toml
@@ -31,4 +31,5 @@ full = [
"tor-guardmgr/full",
"tor-proto/full",
"tor-rtcompat/full",
+ "web-time-compat/full",
]
diff --git a/maint/keygen-client-auth-test/Cargo.toml b/maint/keygen-client-auth-test/Cargo.toml
index 9e64bf220..909bec376 100644
--- a/maint/keygen-client-auth-test/Cargo.toml
+++ b/maint/keygen-client-auth-test/Cargo.toml
@@ -19,3 +19,11 @@ tor-basic-utils = { path = "../../crates/tor-basic-utils", version = "0.40" }
tor-hsservice = { path = "../../crates/tor-hsservice", version = "0.40" }
tor-llcrypto = { path = "../../crates/tor-llcrypto", version = "0.40", features = ["rng-compat"] }
x25519-dalek = { version = "2", features = ["static_secrets"] }
+
+[features]
+full = [
+ "safelog/full",
+ "tor-basic-utils/full",
+ "tor-hsservice/full",
+ "tor-llcrypto/full",
+]