deps(tor): arti-client / tor-* 0.46 -> 0.49, safelog 0.9 -> 0.10
Some checks failed
ci / test (pull_request) Successful in 38m22s
ci / sdk (pull_request) Successful in 8m10s
android-ci / android (pull_request) Failing after 1h10m29s

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:
onionwire-bot 2026-12-02 02:04:00 -05:00
commit 6feabee734
No known key found for this signature in database
11 changed files with 954 additions and 704 deletions

View file

@ -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