# 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 = "socks5-impl" version = "0.5.17" authors = ["ssrlive "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Fundamental abstractions and async read / write functions for SOCKS5 protocol and Relatively low-level asynchronized SOCKS5 server implementation based on tokio" readme = "README.md" keywords = [ "socks5", "socks", "proxy", "async", "network", ] categories = [ "network-programming", "asynchronous", ] license = "GPL-3.0-or-later" repository = "https://github.com/ssrlive/socks5-impl" [lib] name = "socks5_impl" path = "src/lib.rs" [[example]] name = "demo-client" path = "examples/demo-client.rs" required-features = ["tokio"] [[example]] name = "demo-server" path = "examples/demo-server.rs" required-features = ["tokio"] [[example]] name = "dns-query" path = "examples/dns-query.rs" required-features = ["tokio"] [[example]] name = "echo-server" path = "examples/echo-server.rs" [[example]] name = "s5-server" path = "examples/s5-server.rs" required-features = ["tokio"] [[example]] name = "udp-client" path = "examples/udp-client.rs" required-features = ["tokio"] [dependencies.as-any] version = "0.3" [dependencies.async-trait] version = "0.1" [dependencies.byteorder] version = "1" [dependencies.bytes] version = "1" [dependencies.percent-encoding] version = "2" [dependencies.serde] version = "1" features = ["derive"] [dependencies.thiserror] version = "2" [dependencies.tokio] version = "1" features = ["full"] optional = true [dev-dependencies.clap] version = "4" features = ["derive"] [dev-dependencies.ctrlc2] version = "3" features = [ "tokio", "termination", ] [dev-dependencies.dotenvy] version = "0.15" [dev-dependencies.env_logger] version = "0.11" [dev-dependencies.hickory-proto] version = "0.24" [dev-dependencies.log] version = "0.4" [dev-dependencies.moka] version = "0.12" features = ["future"] [dev-dependencies.rand] version = "0.8" [dev-dependencies.tokio] version = "1" features = [ "macros", "rt-multi-thread", ] [features] default = ["tokio"] tokio = ["dep:tokio"]