# 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 = "hptp" version = "0.0.12" authors = ["Vrtgs"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "the high performance TCP proxy written in rust" documentation = "https://github.com/Vrtgs/hptp/blob/master/README.md" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/Vrtgs/hptp/tree/master" [profile.dev] opt-level = 0 lto = "off" debug = 2 panic = "unwind" incremental = true strip = false [profile.release] opt-level = 3 lto = "fat" codegen-units = 1 panic = "abort" incremental = false strip = true [[bin]] name = "hptp" path = "src/main.rs" [dependencies.arrayvec] version = "0.7.6" [dependencies.cfg-if] version = "1.0.0" [dependencies.clap] version = "4.5.17" features = ["derive"] optional = true [dependencies.futures] version = "0.3.30" [dependencies.hickory-resolver] version = "0.25.0-alpha.2" [dependencies.itertools] version = "0.13.0" [dependencies.paste] version = "1.0.15" optional = true [dependencies.rand] version = "0.9.0-alpha.2" [dependencies.smallvec] version = "2.0.0-alpha.7" features = ["std"] [dependencies.strum] version = "0.26.3" features = ["derive"] [dependencies.thiserror] version = "1.0.63" [dependencies.tokio] version = "1.40.0" features = ["full"] [dependencies.tracing] version = "0.1.40" [dependencies.tracing-subscriber] version = "0.3.18" [features] cli = [ "dep:clap", "dep:nix", "dep:paste", ] default = ["cli"] [target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies.nix] version = "0.29.0" features = ["user"] optional = true [target.'cfg(target_os = "linux")'.dependencies.tokio-splice] version = "0.2.1" [target."cfg(windows)".dependencies.sysinfo] version = "0.31.4" [target."cfg(windows)".dependencies.windows] version = "0.58.0" features = [ "Win32", "Win32_Security", "Win32_System", "Win32_System_Threading", "Win32_UI", "Win32_UI_Shell", "Win32_UI_WindowsAndMessaging", "Win32_System_Com", ] [target."cfg(windows)".dependencies.winreg] version = "0.52.0"