diff --git a/smolmix/Cargo.toml b/smolmix/Cargo.toml index 34adbe52aa..04575c20da 100644 --- a/smolmix/Cargo.toml +++ b/smolmix/Cargo.toml @@ -15,16 +15,41 @@ smoltcp = { workspace = true, default-features = false, features = [ "socket-icmp", ] } tokio = { workspace = true } +tokio-smoltcp = "0.5" +futures = { workspace = true } tracing = { workspace = true } nym-sdk = { path = "../sdk/rust/nym-sdk" } nym-ip-packet-requests = { path = "../common/ip-packet-requests" } thiserror.workspace = true +nym-bin-common = { path = "../common/bin-common", features = ["basic_tracing"] } [dev-dependencies] bytes = { workspace = true } reqwest.workspace = true webpki-roots.workspace = true rustls = { workspace = true } -nym-bin-common = { path = "../common/bin-common", features = ["basic_tracing"] } +tokio-rustls = "0.26" +tokio = { workspace = true, features = ["io-util"] } +tokio-tungstenite.workspace = true +hyper = { workspace = true, features = ["client", "http1"] } +hyper-util = { workspace = true, features = ["tokio"] } +http-body-util.workspace = true hickory-proto.workspace = true hickory-resolver.workspace = true + +# Raw smoltcp examples (power-user, in examples/raw/) +[[example]] +name = "raw_cloudflare_ping" +path = "examples/raw/cloudflare_ping.rs" + +[[example]] +name = "raw_dns_udp" +path = "examples/raw/dns_udp.rs" + +[[example]] +name = "raw_https_client" +path = "examples/raw/https_client.rs" + +[[example]] +name = "raw_tls" +path = "examples/raw/tls.rs"