# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "netstack-smoltcp" version = "0.1.3" authors = ["cavivie "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ A netstack for the special purpose of turning packets from/to a TUN interface into TCP streams and UDP packets. It uses smoltcp-rs as the backend netstack. """ homepage = "https://github.com/automesh-network/netstack-smoltcp" documentation = "https://docs.rs/netstack-smoltcp" readme = "README.md" keywords = [ "netstack", "smoltcp", "network", "ip", "tun", ] categories = ["network-programming"] license = "MIT OR Apache-2.0" repository = "https://github.com/automesh-network/netstack-smoltcp" [lib] name = "netstack_smoltcp" path = "src/lib.rs" [[example]] name = "forward" path = "examples/forward.rs" [dependencies.etherparse] version = "0.13" [dependencies.futures] version = "0.3" [dependencies.rand] version = "0.8" [dependencies.smoltcp] version = "0.11" features = [ "std", "log", "medium-ip", "proto-ipv4", "proto-ipv6", "socket-icmp", "socket-udp", "socket-tcp", ] default-features = false [dependencies.spin] version = "0.9" [dependencies.tokio] version = "1" features = [ "sync", "time", "rt", "macros", ] [dependencies.tokio-util] version = "0.7.10" [dependencies.tracing] version = "0.1" features = ["std"] default-features = false [dev-dependencies.socket2] version = "0.5.6" [dev-dependencies.socket2-ext] version = "0.1" [dev-dependencies.structopt] version = "0.3" [dev-dependencies.tokio] version = "1" features = [ "rt", "macros", "rt-multi-thread", "io-util", ] [dev-dependencies.tracing] version = "0.1" features = ["std"] default-features = false [dev-dependencies.tracing-subscriber] version = "0.3.18" [dev-dependencies.tun] version = "1.0" features = ["async"] package = "tun2"