# 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 = "net_link" version = "0.2.2" description = "NetLink is a decentralized networking tool built on the 'rustp2p' library." readme = "README.md" license = "Apache-2.0" repository = "https://github.com/rustp2p/NetLink" [profile.release] opt-level = "z" lto = true codegen-units = 1 debug = 0 debug-assertions = false rpath = false panic = "abort" incremental = false strip = "debuginfo" [dependencies.anyhow] version = "1.0.89" [dependencies.async-shutdown] version = "0.2" [dependencies.bytes] version = "1.7.2" [dependencies.clap] version = "=4.0.32" features = ["derive"] [dependencies.crossbeam-queue] version = "0.3.11" [dependencies.ctrlc2] version = "3" features = [ "tokio", "termination", ] [dependencies.env_logger] version = "0.11.5" [dependencies.futures] version = "0.3.31" [dependencies.libc] version = "0.2.159" [dependencies.log] version = "0.4.22" [dependencies.mime_guess] version = "2.0" optional = true [dependencies.net-route] version = "0.4.4" [dependencies.parking_lot] version = "0.12" [dependencies.pnet_packet] version = "0.35.0" [dependencies.rust-embed] version = "8.5" features = [ "compression", "include-exclude", ] optional = true [dependencies.rustp2p] version = "0.1" features = [ "chacha20-poly1305", "aes-gcm", ] [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.serde_yaml] version = "0.9" [dependencies.tabled] version = "0.16.0" [dependencies.tokio] version = "1.39.2" features = ["full"] [dependencies.tun-rs] version = "1" features = ["async"] [dependencies.warp] version = "0.3.7" optional = true [features] default = ["web"] web = [ "warp", "rust-embed", "mime_guess", ] [target."cfg(target_os = \"windows\")".dependencies.windows-sys] version = "0.59"