# 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 = "async-http-proxy" version = "1.2.5" authors = ["LinkTed "] include = [ "src/**/*.rs", "examples/*.rs", "Cargo.toml", "README.md", "LICENSE", ] description = "Lightweight asynchronous HTTP proxy client library" readme = "README.md" keywords = [ "http", "proxy", "async", "client", ] categories = ["network-programming"] license = "BSD-3-Clause" repository = "https://github.com/LinkTed/async-http-proxy" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "tokio_connect" required-features = ["runtime-tokio"] [[example]] name = "tokio_basic_auth" required-features = [ "runtime-tokio", "basic-auth", ] [[example]] name = "async_std_connect" required-features = ["runtime-async-std"] [[example]] name = "async_std_basic_auth" required-features = [ "runtime-async-std", "basic-auth", ] [dependencies.async-std] version = "1.10.0" optional = true [dependencies.base64] version = "0.13.0" optional = true [dependencies.httparse] version = "1.5.1" [dependencies.thiserror] version = "1.0.30" [dependencies.tokio] version = "1.15.0" features = ["io-util"] optional = true [dev-dependencies.tokio] version = "1.15.0" features = [ "net", "rt-multi-thread", "macros", ] [features] basic-auth = ["base64"] default = [] runtime-async-std = ["async-std"] runtime-tokio = ["tokio"]