# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "ap_kcp" version = "0.1.1" authors = ["black-binary "] description = "AP-KCP Protocol Library" license = "MIT" [profile.release] lto = "fat" codegen-units = 4 [[bin]] name = "ap-kcp-tun" path = "src/tun.rs" required-features = ["build_binary"] [[bench]] name = "bench" harness = false [dependencies.async-trait] version = "0.1" [dependencies.bitflags] version = "1.2" [dependencies.bytes] version = "0.6" [dependencies.clap] version = "2.33" optional = true [dependencies.env_logger] version = "0.8" [dependencies.futures] version = "0.3" [dependencies.log] version = "0.4" [dependencies.num_cpus] version = "1.13" optional = true [dependencies.rand] version = "0.7" [dependencies.ring] version = "0.16" optional = true [dependencies.serde] version = "1.0" optional = true [dependencies.serde_derive] version = "1.0" optional = true [dependencies.smol] version = "1.2" [dependencies.toml] version = "0.5" optional = true [dev-dependencies.criterion] version = "0.3" [dev-dependencies.env_logger] version = "0.8" [dev-dependencies.pprof] version = "0.3" features = ["flamegraph"] [dev-dependencies.rand] version = "0.7" [dev-dependencies.toml] version = "0.5" [features] build_binary = ["clap", "toml", "crypto_support", "num_cpus", "serde_support"] crypto_support = ["ring"] full = ["serde_support", "crypto_support"] serde_support = ["serde", "serde_derive"]