[package]
edition = "2024"
name = "zeloxy"
version = "0.2.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for creating lightweight, asynchronous, and lag-free proxy connections."
documentation = "https://docs.rs/zeloxy"
readme = "README.md"
keywords = [
"proxy",
"http",
"socks",
"async",
]
categories = [
"network-programming",
"asynchronous",
]
license = "MIT"
repository = "https://github.com/nullclyze/zeloxy"
[features]
all = [
"http",
"socks4",
"socks5",
"chain",
"stream",
"tools",
]
chain = []
default = [
"http",
"socks4",
"socks5",
]
http = []
socks4 = []
socks5 = []
stream = []
tools = []
[lib]
name = "zeloxy"
path = "src/lib.rs"
[[example]]
name = "http_proxy_get"
path = "examples/http_proxy_get.rs"
[[example]]
name = "ping_proxies"
path = "examples/ping_proxies.rs"
[[example]]
name = "ping_proxy_chain"
path = "examples/ping_proxy_chain.rs"
[[example]]
name = "proxy_chain"
path = "examples/proxy_chain.rs"
[[example]]
name = "proxy_stream"
path = "examples/proxy_stream.rs"
[[example]]
name = "socks4_with_auth"
path = "examples/socks4_with_auth.rs"
[[example]]
name = "socks5_without_auth"
path = "examples/socks5_without_auth.rs"
[[test]]
name = "chain"
path = "tests/chain.rs"
[[test]]
name = "lookup"
path = "tests/lookup.rs"
[[test]]
name = "ping"
path = "tests/ping.rs"
[[test]]
name = "proxy"
path = "tests/proxy.rs"
[[test]]
name = "stream"
path = "tests/stream.rs"
[dependencies.base64]
version = "0.22.1"
[dependencies.bytes]
version = "1.11.1"
[dependencies.hashbrown]
version = "0.17.0"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.tokio]
version = "1.52.2"
features = [
"net",
"io-util",
"time",
"sync",
"rt",
]
[dev-dependencies.tokio]
version = "1.52.2"
features = [
"macros",
"rt-multi-thread",
]