deps: bump the Arti tor-* set to 0.49
All checks were successful
ci / test (pull_request) Successful in 29m13s
ci / sdk (pull_request) Successful in 1m51s
android-ci / android (pull_request) Successful in 41m55s

tor-cell, tor-hsservice, tor-rtcompat and arti-client move together from
0.46 to 0.49 (Arti 2.9.0). safelog 0.9 -> 0.10 follows the set: it is a
direct dependency only for `DisplayRedacted`, and the 0.9 trait is a
different type from the one `HsId` implements under 0.49.

MSRV: Arti 0.49 requires rustc 1.92 (was 1.91). The declared floor stays
1.98 -- the default `cuprate-daemon` graph is still what sets it -- so
`rust-version`, RUST_IMAGE and the README install floor are unchanged;
only the "Arti itself builds on X" notes move to 1.92.

Upstream changes that could touch us, none of which do:
- tor-hsservice dropped the deprecated `onion_name()`; we use
  `onion_address()`.
- tor-cell's `Begin` API changed; we only decode `Connected`.
- tor-rtcompat's `Runtime` grew a `JoinSetProvider` bound; we use
  `PreferredRuntime` and implement no Runtime.
The src/hs.rs workarounds (PUBLISH_WAIT, CBT floors, empty predicted
ports) are untouched and their guard tests still pass.

Verified:
- cargo test --locked: 577 passed, 0 failed
- cargo clippy --locked --all-targets -- -D warnings: clean
- cargo test --locked --test tor_hs -- --ignored: two-node publish,
  byte pipe, restart and dormant path ok (106s, live Tor network)
- cargo test --locked --test two_node -- --ignored: plaintext absent
  from both nodes' arti/cache dirs (51s, live Tor network)
- crates/onionwire-sdk: cargo check --locked --all-targets ok
This commit is contained in:
agent 2026-12-02 01:57:27 -05:00
commit 0cacd41002
No known key found for this signature in database
10 changed files with 953 additions and 698 deletions

View file

@ -56,8 +56,8 @@ env:
# On `rust:1.91-bookworm` that is `error[E0658]: use of unstable library
# feature 'vec_deque_pop_if'`, after the job has already built the rest of
# the graph. 1.98 is the release this graph is built with on the dev machine
# and in the Android workflows. `--no-default-features` still builds on 1.91
# (Arti 0.46's floor); the default build does not, so the image follows the
# and in the Android workflows. `--no-default-features` still builds on 1.92
# (Arti 0.49's floor); the default build does not, so the image follows the
# default build.
RUST_IMAGE: rust:1.98-bookworm
CARGO_REGISTRY_VOLUME: onionwire-cargo-registry