deps: bump the Arti tor-* set to 0.49
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:
parent
20d2d00e4d
commit
0cacd41002
10 changed files with 953 additions and 698 deletions
|
|
@ -103,7 +103,7 @@ format (`<hash> onionwire-<target>`).
|
|||
### Option B — build from source
|
||||
|
||||
Needs [Rust](https://rustup.rs/) **1.98+** (`edition = "2024"`; `Cargo.toml`
|
||||
`rust-version = "1.98"`). Arti 0.46 itself builds on 1.91, but the default
|
||||
`rust-version = "1.98"`). Arti 0.49 itself builds on 1.92, but the default
|
||||
feature set includes the in-process chain daemon, and that graph does not
|
||||
(`tapes` calls `VecDeque::pop_front_if`, stable since 1.93). Do not install `tor`.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue