# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "tokio-socks" version = "0.5.2" authors = ["Yilin Chen "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Asynchronous SOCKS proxy support for Rust." homepage = "https://github.com/sticnarf/tokio-socks" documentation = "https://docs.rs/tokio-socks" readme = "README.md" keywords = [ "tokio", "async", "proxy", "socks", "socks5", ] categories = [ "asynchronous", "network-programming", ] license = "MIT" repository = "https://github.com/sticnarf/tokio-socks" [lib] name = "tokio_socks" path = "src/lib.rs" [[example]] name = "chainproxy" path = "examples/chainproxy.rs" required-features = ["tokio"] [[example]] name = "socket" path = "examples/socket.rs" required-features = [ "tokio", "tor", ] [[example]] name = "tor" path = "examples/tor.rs" required-features = [ "tokio", "tor", ] [[test]] name = "long_username_password_auth" path = "tests/long_username_password_auth.rs" [[test]] name = "no_auth" path = "tests/no_auth.rs" [[test]] name = "socks4_no_auth" path = "tests/socks4_no_auth.rs" [[test]] name = "socks4_userid" path = "tests/socks4_userid.rs" [[test]] name = "username_auth" path = "tests/username_auth.rs" [dependencies.either] version = "1" [dependencies.futures-io] version = "0.3" optional = true [dependencies.futures-util] version = "0.3" default-features = false [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.0" features = [ "io-util", "net", ] optional = true [dev-dependencies.futures-executor] version = "0.3" [dev-dependencies.futures-util] version = "0.3" features = ["io"] default-features = false [dev-dependencies.once_cell] version = "1.2.0" [dev-dependencies.smol] version = "2.0.0" [dev-dependencies.tokio] version = "1.0" features = [ "io-util", "rt-multi-thread", "net", ] [features] default = ["tokio"] tor = []