# 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 = "ipstack" version = "0.1.0" authors = ["Narrowlink "] description = "Asynchronous lightweight userspace implementation of TCP/IP stack for Tun device" homepage = "https://narrowlink.com" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/narrowlink/ipstack" [profile.bench] opt-level = 3 lto = false codegen-units = 16 debug = 2 incremental = true strip = "none" [profile.release] opt-level = "s" lto = true codegen-units = 1 debug = 0 debug-assertions = false rpath = false panic = "abort" overflow-checks = false incremental = false strip = true [dependencies.ahash] version = "0.8" [dependencies.etherparse] version = "0.15" features = ["std"] default-features = false [dependencies.log] version = "0.4" default-features = false [dependencies.rand] version = "0.8.5" features = [ "std", "std_rng", ] default-features = false [dependencies.thiserror] version = "1.0" default-features = false [dependencies.tokio] version = "1.39" features = [ "sync", "rt", "time", "io-util", "macros", ] default-features = false [dev-dependencies.clap] version = "4.5" features = ["derive"] [dev-dependencies.criterion] version = "0.5" [dev-dependencies.env_logger] version = "0.11" [dev-dependencies.tokio] version = "1.39" features = ["rt-multi-thread"] default-features = false [dev-dependencies.tun2] version = "2.0" features = ["async"] [dev-dependencies.udp-stream] version = "0.0" default-features = false [target."cfg(any(target_os = \"linux\", target_os = \"macos\"))".dev-dependencies.tun] version = "0.6.1" features = ["async"] default-features = false [target."cfg(target_os = \"windows\")".dev-dependencies.wintun] version = "0.5" default-features = false