Files
logos-evm-net-proxy/Cargo.toml
T
Dario LipicarandClaude Opus 4.8 1f862c31e8 feat: fail-closed proxyable HTTP client chokepoint (#1)
The single, fail-closed constructor of HTTP clients for the Logos EVM wallet
networking modules. build_client refuses to return a client when a proxy is
required but unset/unusable, so requests are never sent in the clear. rustls-tls
+ socks (socks5h, Tor-ready). 6 unit tests.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 23:14:23 -03:00

19 lines
791 B
TOML

[package]
name = "logos-net-proxy"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Fail-closed proxyable HTTP client constructor for Logos wallet modules — the single chokepoint for outbound requests, Tor/SOCKS5h-ready."
repository = "https://github.com/logos-co/logos-net-proxy"
# Standalone crate — the empty table keeps cargo from adopting any workspace it
# finds in a parent directory (the workspace has many sibling crates).
[workspace]
[dependencies]
# rustls-tls (not native-tls) keeps the crate pure-Rust at link time; `socks`
# enables socks5h:// (remote DNS through the proxy — what we want for Tor).
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "socks", "json", "blocking"] }
url = "2"
thiserror = "2"