# 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 = "tonel" version = "0.6.1" authors = ["Saber Haj Rabiee"] description = """ A Multi-Stream UDP over TCP Tunneler for Lightning-Fast Network Layer 3 Transmission with TUN Interface. """ readme = "README.md" keywords = [ "tcp", "udp", "network", "tun", "tunnel", ] categories = ["network-programming"] license = "MIT" repository = "https://github.com/sabify/tonel" [profile.release] lto = true codegen-units = 1 panic = "unwind" incremental = false strip = true [[bin]] name = "tonelc" path = "src/bin/client.rs" [[bin]] name = "tonels" path = "src/bin/server.rs" [dependencies.bytes] version = "1" [dependencies.cfg-if] version = "1.0" [dependencies.clap] version = "4.3" features = [ "cargo", "string", ] [dependencies.ctrlc] version = "3.4" features = ["termination"] [dependencies.daemonize] version = "0.5.0" [dependencies.dashmap] version = "5.4.0" [dependencies.env_logger] version = "0.10.0" [dependencies.fxhash] version = "0.2.1" [dependencies.internet-checksum] version = "0.2" [dependencies.kanal] version = "0.1.0-pre8" [dependencies.log] version = "0.4" [dependencies.mimalloc] version = "0.1" optional = true default-features = false [dependencies.nix] version = "0.26" [dependencies.once_cell] version = "1.18.0" [dependencies.opool] version = "0.1" [dependencies.pnet] version = "0.33" [dependencies.socket2] version = "0.5.3" features = ["all"] [dependencies.tokio] version = "1" features = ["full"] [dependencies.tokio-util] version = "0.7" [dependencies.tun] version = "0.5" features = ["async"] package = "forky-tun" [dependencies.zeroize] version = "1.6.0" [dev-dependencies.rand] version = "0.8.5" [features] alloc-jem = ["jemallocator"] alloc-mi = ["mimalloc"] benchmark = [] default = [] [target."cfg(any(target_os = \"linux\", target_os = \"android\"))".dependencies.neli] version = "0.6" [target."cfg(not(target_env = \"msvc\"))".dependencies.jemallocator] version = "0.5" optional = true