mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 08:04:45 +00:00
Wins: reduced GeoIP memory usage (moved off heap), CircuitClosed→NotConnected error change (affects our handler error paths), DATA-cells-on-closed-streams fix, and a flow-control sidechannel mitigation bug fix. Nothing here directly addresses the stuck-Tor recovery work in the prior commits, but it's a clean overdue bump while we're in this code. Wrapper changes required by the bump: - arti-client + tor-rtcompat: 0.41 → 0.42 to match the new crate versions shipped with arti-v2.3.0. - arti-v2.3.0's tor-rtcompat no longer installs a rustls CryptoProvider implicitly (changelog: "if the application fails to install a rustls CryptoProvider, tor-rtcompat no longer installs one itself"). Add a direct `rustls = "0.23"` dep with the `ring` feature and `install_default()` it inside INIT_ONCE before runtime creation — otherwise create_bootstrapped panics on the first TLS handshake. Keeping `ring` (same as 2.2.0 effectively used) rather than 2.3.0's new default `aws-lc-rs`, which is heavier on Android and has known build.rs pain on aarch64-linux-android. Heads-up for the next bump: arti-v2.4.0 will explicitly wrap TorClient in Arc rather than implicitly having Arc-like semantics. We already wrap explicitly so the migration is a no-op aside from potential Arc<Arc<...>> cleanup. Rebuilds: libarti_android.so for arm64-v8a + x86_64.