[dependencies]
[features]
bind = ["client"]
client = []
default = ["client", "bind", "udp"]
udp = ["client", "libc", "windows-sys"]
[lib]
name = "socks2"
path = "src/lib.rs"
[lints.clippy]
cargo = "deny"
complexity = "deny"
correctness = "deny"
nursery = "deny"
pedantic = "deny"
perf = "deny"
style = "deny"
suspicious = "deny"
[package]
authors = ["Steven Fackler <sfackler@gmail.com>", "harmless-tech"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["web-programming::http-client"]
description = "SOCKS proxy clients"
edition = "2021"
include = ["src/", "Cargo.lock", "Cargo.toml", "CHANGELOG.md", "LICENSE-APACHE", "LICENSE-MIT", "README.md"]
keywords = ["socks", "proxy", "client"]
license = "MIT OR Apache-2.0"
name = "socks2"
readme = "README.md"
repository = "https://github.com/harmless-tech/rust-socks2"
rust-version = "1.65"
version = "0.4.0"
[package.metadata.docs.rs]
all-features = true
[target."cfg(unix)".dependencies.libc]
optional = true
version = "0.2"
[target."cfg(windows)".dependencies.windows-sys]
features = ["Win32_System_IO", "Win32_Networking_WinSock"]
optional = true
version = "0.59"