43a1bd38e8
* Mod gitignore + license trimming + comment trimming
* Big rewrite
* SURB inputs + DNS button in internal-dev
* Make ipr addr optional
* Accidentatly omitted files from rewrite commit
* Makefile + readme
* Comment rewrite
* Optimisation comment
* Replace manual waker map with
smoltcp built-ins + adaptive poll
* Comments
* Extract socket creation helpers into stream.rs
* Cleanup comments
* Comment
* Comment notes and restrict ciphersuites wrt rustls-rustcrypto
* Dep. hack fix for demo + add clearnet fetch() for contrast
* Stripped down devtester
* Fix Clippy arg (fatfingered deletion)
* CodeRabbit catches
* Cargofmt
* Review nits: bridge logs, fetch early-return, static port counter, copyright years, README + Cargo + headless.js tidying
* PHONY + taskset override, switch internal-dev/tests to pnpm, fix wasm-pack out-dir
* Gate codec tests behind the codec feature for no-default-features builds
* IPv6 addr/route on smoltcp iface + configurable DNS resolvers via TunnelOpts
* DNS GUI inputs, close stale WS on reconnect, worker init guards + ws-send warning, Playwright listener cleanup, pnpm-lock in internal-dev
* Fix lp -> lp-data after rebase
* Revert nym-lp/nym-lp-data feature-gating left over from rebase
* Lift getrandom wasm_js cfg to workspace .cargo/config.toml so cargo check -p smolmix-wasm works from any CWD
* temp will amend git message
* Auto-discover IPR when none specified + 'Use random IPR' checkbox in internal-dev
* smolmix_tracker + State machine + ready_tunnel gate + getTunnelState JS surface
* Mirror red display() entries to console.error
* Add left out package-lock
* Reactor clock + yield_now + atomic seq + gateway-storage errors
* setupMixTunnel gate + MTU 1980 + http::Uri cleanup
* Review pass + fix test + clippy
* restore axum 0.8 bump from borked earlier merge
* Feature gating (dns/fetch/socket) + TunnelOptsBuilder + pnpm bypass
* Cont. with review comments
* tokio Nofity reactor wakes + cancellation + setup polishing
* Notify wakes + inner pattern + close_notify + util
* Tunable tunnelopts
* Fix tired commit
* CI prep
* Lint + Clippy
* coderabbit u32 fix
* nits + runtime debugging + expose in internal-dev
* remove redudant default-features
* Remove more redundant default-features
111 lines
3.7 KiB
TOML
111 lines
3.7 KiB
TOML
[package]
|
|
name = "nym-sdk"
|
|
description = "Nym's Rust SDK"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition = "2021"
|
|
license.workspace = true
|
|
repository = "https://github.com/nymtech/nym/sdk/rust/nym-sdk/"
|
|
homepage.workspace = true
|
|
documentation.workspace = true
|
|
rust-version.workspace = true
|
|
readme.workspace = true
|
|
publish = true
|
|
# documentation = "https://docs.rs/nym-sdk" Max: once we upload to crates.io and this is generated, this can be uncommented.
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[[bin]]
|
|
name = "nym-proxy-server"
|
|
path = "src/tcp_proxy/bin/proxy_server.rs"
|
|
|
|
[[bin]]
|
|
name = "nym-proxy-client"
|
|
path = "src/tcp_proxy/bin/proxy_client.rs"
|
|
|
|
[dependencies]
|
|
async-trait = { workspace = true }
|
|
bip39 = { workspace = true }
|
|
nym-client-core = { workspace = true, features = [
|
|
"fs-credentials-storage",
|
|
"fs-surb-storage",
|
|
"fs-gateways-storage",
|
|
] }
|
|
nym-crypto = { workspace = true }
|
|
nym-gateway-requests = { workspace = true }
|
|
nym-bandwidth-controller = { workspace = true }
|
|
nym-credentials = { workspace = true }
|
|
nym-credentials-interface = { workspace = true }
|
|
nym-credential-storage = { workspace = true }
|
|
nym-credential-utils = { workspace = true }
|
|
nym-network-defaults = { workspace = true }
|
|
nym-lp-data = { workspace = true }
|
|
nym-sphinx = { workspace = true }
|
|
nym-statistics-common = { workspace = true }
|
|
nym-task = { workspace = true }
|
|
nym-topology = { workspace = true }
|
|
nym-socks5-client-core = { workspace = true }
|
|
nym-validator-client = { workspace = true , features = [
|
|
"http-client",
|
|
] }
|
|
nym-http-api-client = { workspace = true }
|
|
nym-socks5-requests = { workspace = true }
|
|
nym-ordered-buffer = { workspace = true }
|
|
nym-service-providers-common = { workspace = true }
|
|
nym-sphinx-addressing = { workspace = true }
|
|
nym-bin-common = { workspace = true, features = [
|
|
"basic_tracing",
|
|
] }
|
|
bytecodec = { workspace = true }
|
|
httpcodec = { workspace = true }
|
|
bytes = { workspace = true }
|
|
http = { workspace = true }
|
|
zeroize = { workspace = true }
|
|
|
|
futures = { workspace = true }
|
|
log = { workspace = true }
|
|
rand = { workspace = true, features = ["small_rng"] }
|
|
tap = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
url = { workspace = true }
|
|
toml = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
|
|
nym-ip-packet-requests = { workspace = true, default-features = true }
|
|
semver = { workspace = true }
|
|
|
|
# tcpproxy dependencies
|
|
clap = { workspace = true, features = ["derive"] }
|
|
anyhow.workspace = true
|
|
dashmap.workspace = true
|
|
tokio.workspace = true
|
|
tokio-stream.workspace = true
|
|
tokio-util.workspace = true
|
|
uuid = { workspace = true, features = ["v4", "serde"] }
|
|
bincode = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
tracing.workspace = true
|
|
tracing-subscriber = { workspace = true, features = ["env-filter"] }
|
|
dirs.workspace = true
|
|
|
|
[dev-dependencies]
|
|
anyhow = { workspace = true }
|
|
dotenvy = { workspace = true }
|
|
reqwest = { workspace = true, features = ["json", "socks"] }
|
|
thiserror = { workspace = true }
|
|
tokio = { workspace = true, features = ["full", "test-util"] }
|
|
time = { workspace = true }
|
|
nym-bin-common = {workspace = true, features = ["basic_tracing"] }
|
|
|
|
# extra dependencies for libp2p examples
|
|
#libp2p = { git = "https://github.com/ChainSafe/rust-libp2p.git", rev = "e3440d25681df380c9f0f8cfdcfd5ecc0a4f2fb6", features = [ "identify", "macros", "ping", "tokio", "tcp", "dns", "websocket", "noise", "mplex", "yamux", "gossipsub" ]}
|
|
tokio-stream = { workspace = true }
|
|
tokio-util = { workspace = true, features = ["codec"] }
|
|
parking_lot = { workspace = true }
|
|
hex = { workspace = true }
|
|
pnet_packet = { workspace = true }
|
|
nym-ip-packet-requests = { workspace = true, default-features = true, features = ["test-utils"] }
|
|
|
|
[features]
|
|
libp2p-vanilla = []
|