# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "hreq" version = "0.8.0" authors = ["Martin Algesten "] description = "hreq is a user first async http client" readme = "README.md" keywords = ["web", "request", "http", "rest", "client"] categories = ["web-programming::http-client"] license = "MIT/Apache-2.0" repository = "https://github.com/algesten/hreq" [package.metadata.docs.rs] all-features = true [dependencies.async-compression] version = "0.3" features = ["gzip", "futures-bufread"] optional = true default-features = false [dependencies.bytes] version = "1" [dependencies.chardetng] version = "0.1" [dependencies.cookie] version = "0.15" features = ["percent-encode"] default-features = false [dependencies.encoding_rs] version = "0.8" [dependencies.flate2] version = "1" [dependencies.futures-core] version = "0.3" features = ["std"] optional = true default-features = false [dependencies.futures-io] version = "0.3" features = ["std"] default-features = false [dependencies.futures-util] version = "0.3" features = ["async-await-macro", "io"] default-features = false [dependencies.h2] version = "0.3" [dependencies.hreq-h1] version = "0.3.8" [dependencies.http] version = "0.2" [dependencies.httparse] version = "1" [dependencies.httpdate] version = "0.3.2" [dependencies.log] version = "0.4" [dependencies.mime_guess] version = "2" [dependencies.once_cell] version = "1" [dependencies.publicsuffix] version = "1.5.4" default-features = false [dependencies.qstring] version = "0.7" [dependencies.regex] version = "1" features = ["std", "unicode"] optional = true default-features = false [dependencies.rustls] version = "0.19" features = ["dangerous_configuration"] optional = true default-features = false [dependencies.serde] version = "1" default-features = false [dependencies.serde_json] version = "1" default-features = false [dependencies.time] version = "0.2" [dependencies.tokio] version = "1" features = ["rt", "rt-multi-thread", "net", "fs", "time"] default-features = false [dependencies.tokio-util] version = "0.6" features = ["compat"] default-features = false [dependencies.webpki] version = "0.21" optional = true [dependencies.webpki-roots] version = "0.21" optional = true [dev-dependencies.env_logger] version = "0.7" [dev-dependencies.pretty_env_logger] version = "0.4" [dev-dependencies.rand] version = "0.7" [dev-dependencies.serde_derive] version = "1" [dev-dependencies.tokio] version = "1" features = ["macros"] default-features = false [features] default = ["gzip", "tls", "server"] fuzz = [] gzip = ["async-compression"] server = ["regex", "futures-core"] test-topsites = [] tls = ["rustls", "webpki", "webpki-roots"]