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
807
crates/onionwire-sdk/Cargo.lock
generated
807
crates/onionwire-sdk/Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -3,7 +3,7 @@ name = "onionwire-sdk"
|
|||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
# Follows the root crate. The SDK builds onionwire with `default-features =
|
||||
# false` (no `cuprate-daemon`), which would still compile on 1.91, but cargo
|
||||
# false` (no `cuprate-daemon`), which would still compile on 1.92, but cargo
|
||||
# checks the path dependency's `rust-version` anyway, and that floor is 1.98.
|
||||
rust-version = "1.98"
|
||||
description = "OnionWire Android/Kotlin SDK: in-process Arti onion transport, Noise IK, identity = ed25519 pubkey."
|
||||
|
|
@ -33,7 +33,7 @@ cuprate-daemon = ["onionwire/cuprate-daemon"]
|
|||
[dependencies]
|
||||
onionwire = { path = "../..", default-features = false, features = ["rustls"] }
|
||||
# `static-sqlite`: Android has no system libsqlite3 to link against.
|
||||
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",
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ runs on. An Android peer and a Linux peer that exchange invites interoperate —
|
|||
there is one protocol, not two.
|
||||
|
||||
This is **not** a WebView wrapper and **not** a client for a hosted service.
|
||||
Each install runs Arti in-process (`arti-client` 0.46, `onion-service-client` +
|
||||
Each install runs Arti in-process (`arti-client` 0.49, `onion-service-client` +
|
||||
`onion-service-service`), hosts its own v3 onion service, and dials friends'
|
||||
onions directly. There is no `tor` binary, no torrc, no Orbot as the pipe.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue