40 lines
992 B
TOML
40 lines
992 B
TOML
[package]
|
|
name = "tokio-socks"
|
|
description = "Asynchronous SOCKS proxy support for Rust."
|
|
documentation = "https://docs.rs/tokio-socks"
|
|
homepage = "https://github.com/sticnarf/tokio-socks"
|
|
repository = "https://github.com/sticnarf/tokio-socks"
|
|
readme = "README.md"
|
|
categories = ["asynchronous", "network-programming"]
|
|
keywords = ["tokio", "async", "proxy", "socks", "socks5"]
|
|
license = "MIT"
|
|
version = "0.5.1"
|
|
authors = ["Yilin Chen <sticnarf@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
[badges]
|
|
travis-ci = { repository = "sticnarf/tokio-socks" }
|
|
|
|
[features]
|
|
tor = []
|
|
|
|
[[example]]
|
|
name = "socket"
|
|
required-features = ["tor"]
|
|
|
|
[[example]]
|
|
name = "tor"
|
|
required-features = ["tor"]
|
|
|
|
[dependencies]
|
|
futures-util = { version = "0.3", default-features = false }
|
|
tokio = { version = "1.0", features = ["io-util", "net"] }
|
|
either = "1"
|
|
thiserror = "1.0"
|
|
|
|
[dev-dependencies]
|
|
futures-executor = "0.3"
|
|
tokio = { version = "1.0", features = ["io-util", "rt-multi-thread", "net"] }
|
|
once_cell = "1.2.0"
|
|
hyper = "0.14"
|