[package]
edition = "2024"
rust-version = "1.87"
name = "io-proxy"
version = "0.1.0"
authors = ["Clément DOUIN (soywod) <pimalaya.org@posteo.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Proxy client library for Rust"
homepage = "https://pimalaya.org"
documentation = "https://docs.rs/io-proxy/latest/io_proxy"
readme = "README.md"
keywords = [
"io-free",
"no-std",
"coroutine",
"proxy",
"socks",
]
categories = [
"api-bindings",
"no-std",
"network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/pimalaya/io-proxy"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
client = []
default = [
"socks5",
"http",
"client",
]
http = ["dep:base64"]
socks5 = []
[lib]
name = "io_proxy"
path = "src/lib.rs"
[[example]]
name = "std_socks5"
path = "examples/std_socks5.rs"
required-features = [
"client",
"socks5",
]
[[test]]
name = "proxy"
path = "tests/proxy.rs"
[dependencies.base64]
version = "0.23"
features = ["alloc"]
optional = true
default-features = false
[dependencies.log]
version = "0.4"
default-features = false
[dependencies.thiserror]
version = "2"
default-features = false
[dev-dependencies.env_logger]
version = "0.11"