# 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 = "kungfu" version = "0.1.27" authors = ["yinheli "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ Flexible DNS hijacking and proxy tool. Read more: https://github.com/yinheli/kungfu """ homepage = "https://github.com/yinheli/kungfu" readme = "README.md" keywords = [ "dns", "proxy", "hijacking", "transparent-proxy", ] categories = ["network-programming"] license = "Apache-2.0" repository = "https://github.com/yinheli/kungfu" [profile.release] opt-level = "z" lto = "fat" codegen-units = 1 debug = 0 debug-assertions = false panic = "abort" overflow-checks = false strip = true [[bin]] name = "kungfu" path = "src/main.rs" [dependencies.anyhow] version = "1" default-features = false [dependencies.async-trait] version = "0.1" [dependencies.bytes] version = "1" [dependencies.chrono] version = "0.4" [dependencies.clap] version = "4" features = ["derive"] [dependencies.env_logger] version = "0.11" [dependencies.fast-socks5] version = "0.9" [dependencies.futures] version = "0.3" [dependencies.glob] version = "0.3" [dependencies.hickory-server] version = "0.24" features = ["hickory-resolver"] [dependencies.http-body-util] version = "0.1" [dependencies.hyper] version = "1" features = ["full"] [dependencies.hyper-util] version = "0.1" features = ["full"] [dependencies.ipnet] version = "2" [dependencies.lazy_static] version = "1" [dependencies.log] version = "0.4" [dependencies.moka] version = "0.12" features = ["sync"] [dependencies.notify] version = "6" [dependencies.notify-debouncer-mini] version = "0.4" [dependencies.num_cpus] version = "1" [dependencies.pnet] version = "0.35" [dependencies.prometheus] version = "0.13" features = ["process"] [dependencies.rand] version = "0.8" [dependencies.rayon] version = "1" [dependencies.regex] version = "1" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_yaml] version = "0.9" [dependencies.tokio] version = "1" features = ["full"] [dependencies.tokio-io-timeout] version = "1" [dependencies.tun] version = "0.6" features = ["async"] [dependencies.url] version = "2"