[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]
features = ["derive"]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
features = ["full"]
optional = true
version = "1"
[dev-dependencies.clap]
features = ["derive"]
version = "4"
[dev-dependencies.ctrlc2]
features = ["tokio", "termination"]
version = "3"
[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]
features = ["future"]
version = "0.12"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.tokio]
features = ["macros", "rt-multi-thread"]
version = "1"
[[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"]
[features]
default = ["tokio"]
tokio = ["dep:tokio"]
[lib]
name = "socks5_impl"
path = "src/lib.rs"
[package]
authors = ["ssrlive <ssrlivebox@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["network-programming", "asynchronous"]
description = "Fundamental abstractions and async read / write functions for SOCKS5 protocol and Relatively low-level asynchronized SOCKS5 server implementation based on tokio"
edition = "2021"
keywords = ["socks5", "socks", "proxy", "async", "network"]
license = "GPL-3.0-or-later"
name = "socks5-impl"
readme = "README.md"
repository = "https://github.com/ssrlive/socks5-impl"
version = "0.5.17"