deps(tor): arti-client / tor-* 0.46 -> 0.49, safelog 0.9 -> 0.10
Arti publishes the whole tor-* family in lockstep, so arti-client, tor-cell, tor-hsservice and tor-rtcompat move together in both workspaces (root crate and crates/onionwire-sdk, which pins the feature set for Android). Arti 0.49 depends on safelog 0.10. OnionWire names safelog directly for `DisplayRedacted` on HsId, so leaving the direct dep at 0.9 puts two safelog versions in the graph and two incompatible DisplayRedacted traits, and src/hs.rs stops compiling. Bumped to 0.10; the trait's method surface (display_redacted / display_unredacted) is unchanged. Arti 0.49's own MSRV is 1.92, still below the 1.98 floor the default cuprate-daemon graph sets (tapes needs VecDeque::pop_front_if, 1.93), so no toolchain or CI image change. The hs.rs workarounds are still correct in 0.49: tor-hsservice 0.49's OVERALL_UPLOAD_TIMEOUT is still 5 min (PUBLISH_WAIT 360s covers it), the default predicted exit ports are still 80/443 (we override to empty), and the status State variants hs_is_ready matches on are unchanged. Closes #209
This commit is contained in:
parent
20d2d00e4d
commit
6feabee734
11 changed files with 954 additions and 704 deletions
14
Cargo.toml
14
Cargo.toml
|
|
@ -2,7 +2,7 @@
|
|||
name = "onionwire"
|
||||
version = "0.2.1"
|
||||
edition = "2024"
|
||||
# 1.98, not 1.91. Arti 0.46 builds on 1.91, but the default feature set includes
|
||||
# 1.98, not 1.92. Arti 0.49 builds on 1.92, but the default feature set includes
|
||||
# `cuprate-daemon`, and `tapes` (a Cuprate dep this repo cannot patch) calls
|
||||
# `VecDeque::pop_front_if`, stable only from 1.93. 1.98 is the release CI and
|
||||
# the Android workflows actually build that graph with. `--no-default-features`
|
||||
|
|
@ -36,26 +36,26 @@ rustls = ["arti-client/rustls"]
|
|||
# Cuprate's own `arti` feature stays OFF (and is off in its default feature set,
|
||||
# which is why `default-features = false` is load-bearing): it would link a
|
||||
# second, older Tor stack (arti-client 0.44, which cannot unify with this
|
||||
# crate's 0.46) next to OnionWire's. The in-process daemon runs clearnet-only;
|
||||
# crate's 0.49) next to OnionWire's. The in-process daemon runs clearnet-only;
|
||||
# OnionWire's Arti is the only Tor in the process.
|
||||
cuprate-daemon = ["dep:cuprated", "dep:toml"]
|
||||
|
||||
[dependencies]
|
||||
arti-client = { version = "0.46", default-features = false, features = [
|
||||
arti-client = { version = "0.49", default-features = false, features = [
|
||||
"tokio",
|
||||
"onion-service-client",
|
||||
"onion-service-service",
|
||||
"compression",
|
||||
] }
|
||||
futures = "0.3"
|
||||
safelog = "0.9"
|
||||
safelog = "0.10"
|
||||
ed25519-dalek = { version = "2", features = ["rand_core"] }
|
||||
rand = "0.8"
|
||||
rusqlite = { version = "0.36", features = ["bundled-sqlcipher-vendored-openssl"] }
|
||||
tokio = { version = "1", features = ["rt-multi-thread", "macros", "io-util", "time", "net"] }
|
||||
tor-cell = "0.46"
|
||||
tor-hsservice = "0.46"
|
||||
tor-rtcompat = { version = "0.46", features = ["tokio"] }
|
||||
tor-cell = "0.49"
|
||||
tor-hsservice = "0.49"
|
||||
tor-rtcompat = { version = "0.49", features = ["tokio"] }
|
||||
# Direct dependency only to select rustls's crypto provider: Arti pulls rustls in
|
||||
# through `tor-rtcompat` with `default-features = false`, and rustls 0.23
|
||||
# resolves its provider from its OWN `ring`/`aws-lc-rs` features, so without this
|
||||
|
|
|
|||
Loading…
Reference in a new issue