# 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" rust-version = "1.76" name = "vproxy" version = "1.2.6" authors = ["gngppz@gmail.com"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An easy and powerful Rust HTTP/Socks5/HTTP2Socks5 Proxy" homepage = "https://github.com/0x676e67/vproxy" readme = "README.md" license = "MIT" repository = "https://github.com/0x676e67/vproxy" [profile.release] opt-level = "z" lto = true codegen-units = 1 panic = "abort" strip = true [[bin]] name = "vproxy" path = "src/main.rs" [dependencies.async-trait] version = "0.1.80" [dependencies.base64] version = "0.22.0" [dependencies.bytes] version = "1" [dependencies.cidr] version = "0.3.0" [dependencies.clap] version = "4" features = [ "derive", "env", ] [dependencies.http] version = "1" [dependencies.http-body-util] version = "0.1" [dependencies.hyper] version = "1" features = [ "http1", "server", ] [dependencies.hyper-util] version = "0.1.9" features = ["full"] [dependencies.jemallocator] version = "0.6" optional = true package = "tikv-jemallocator" [dependencies.mimalloc] version = "0.1.39" optional = true default-features = false [dependencies.percent-encoding] version = "2.3.1" [dependencies.pin-project-lite] version = "0.2" [dependencies.rand] version = "0.8.5" [dependencies.rpmalloc] version = "0.2.2" optional = true [dependencies.self-github-update] version = "0.39" features = [ "archive-tar", "compression-flate2", ] [dependencies.snmalloc-rs] version = "0.3.4" optional = true [dependencies.tcmalloc] version = "0.3.0" optional = true [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = [ "net", "rt-multi-thread", "macros", "io-util", ] [dependencies.tokio-stream] version = "0.1.0" [dependencies.tracing] version = "0.1.40" [dependencies.tracing-subscriber] version = "0.3.18" features = ["env-filter"] [features] default = ["mimalloc"] jemalloc = ["jemallocator"] mimalloc = ["dep:mimalloc"] rpmalloc = ["dep:rpmalloc"] snmalloc = ["snmalloc-rs"] tcmalloc = ["tcmalloc/bundled"] [target.'cfg(target_family = "unix")'.dependencies.daemonize] version = "0.5.0" [target.'cfg(target_family = "unix")'.dependencies.nix] version = "0.29.0" features = [ "user", "signal", "resource", ] [target.'cfg(target_family = "unix")'.dependencies.sysinfo] version = "0.30" default-features = false [target.'cfg(target_os = "linux")'.dependencies.futures] version = "0.3.30" [target.'cfg(target_os = "linux")'.dependencies.netlink-packet-route] version = "0.19" [target.'cfg(target_os = "linux")'.dependencies.rtnetlink] version = "0.14" [target.'cfg(target_os = "linux")'.dependencies.sysctl] version = "0.5.5"