# 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 = "ureq" version = "2.7.1" authors = [ "Martin Algesten ", "Jacob Hoffman-Andrews ", ] description = "Simple, safe HTTP client" readme = "README.md" keywords = [ "web", "request", "https", "http", "client", ] categories = ["web-programming::http-client"] license = "MIT/Apache-2.0" repository = "https://github.com/algesten/ureq" [package.metadata.docs.rs] features = [ "tls", "native-tls", "json", "charset", "cookies", "socks-proxy", ] [[example]] name = "cureq" required-features = [ "charset", "cookies", "socks-proxy", "native-tls", ] [[example]] name = "tls_config" required-features = [ "tls", "native-tls", ] [dependencies.base64] version = "0.21" [dependencies.brotli-decompressor] version = "2.3.2" optional = true [dependencies.cookie] version = "0.16" optional = true default-features = false [dependencies.cookie_store] version = "0.19" features = ["preserve_order"] optional = true default-features = false [dependencies.encoding_rs] version = "0.8" optional = true [dependencies.flate2] version = "1.0.22" optional = true [dependencies.http] version = "0.2" optional = true [dependencies.log] version = "0.4" [dependencies.native-tls] version = "0.2" optional = true [dependencies.once_cell] version = "1" [dependencies.rustls] version = "0.21" optional = true [dependencies.rustls-native-certs] version = "0.6" optional = true [dependencies.serde] version = "1" optional = true [dependencies.serde_json] version = ">=1.0.97" optional = true [dependencies.socks] version = "0.3" optional = true [dependencies.url] version = "2" [dependencies.webpki] version = "0.100" optional = true package = "rustls-webpki" [dependencies.webpki-roots] version = "0.23" optional = true [dev-dependencies.env_logger] version = "0.10" [dev-dependencies.rustls] version = "0.21" features = ["dangerous_configuration"] [dev-dependencies.rustls-pemfile] version = "1.0" [dev-dependencies.serde] version = "1" features = ["derive"] [features] brotli = ["brotli-decompressor"] charset = ["encoding_rs"] cookies = [ "cookie", "cookie_store", ] default = [ "tls", "gzip", ] gzip = ["flate2"] http-interop = ["dep:http"] json = [ "serde", "serde_json", ] native-certs = ["rustls-native-certs"] socks-proxy = ["socks"] tls = [ "webpki", "webpki-roots", "rustls", ]