# 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" rust-version = "1.71" name = "ureq" version = "2.12.1" authors = [ "Martin Algesten ", "Jacob Hoffman-Andrews ", ] build = false exclude = [ "/cargo_deny.sh", "/deny.toml", "/test.sh", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Simple, safe HTTP client" readme = "README.md" keywords = [ "web", "request", "https", "http", "client", ] categories = ["web-programming::http-client"] license = "MIT OR Apache-2.0" repository = "https://github.com/algesten/ureq" [package.metadata.docs.rs] features = [ "tls", "native-tls", "json", "charset", "cookies", "socks-proxy", "gzip", "brotli", "http-interop", "http-crate", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "ureq" path = "src/lib.rs" [[example]] name = "count-bytes" path = "examples/count-bytes.rs" [[example]] name = "cureq" path = "examples/cureq/main.rs" required-features = [ "charset", "cookies", "socks-proxy", "native-tls", ] [[example]] name = "custom-tls" path = "examples/custom-tls.rs" [[example]] name = "ipv6" path = "examples/ipv6.rs" [[example]] name = "smoke-test" path = "examples/smoke-test/main.rs" [[example]] name = "tls_config" path = "examples/tls_config.rs" required-features = [ "tls", "native-tls", ] [[test]] name = "https-agent" path = "tests/https-agent.rs" [dependencies.base64] version = "0.22" [dependencies.brotli-decompressor] version = "4.0.0" optional = true [dependencies.cookie] version = "0.18" optional = true default-features = false [dependencies.cookie_store] version = "0.21.1" features = [ "preserve_order", "serde_json", ] optional = true default-features = false [dependencies.encoding_rs] version = "0.8" optional = true [dependencies.flate2] version = "1.0.22" optional = true [dependencies.hootbin] version = "0.1.5" optional = true [dependencies.http] version = "1.1" optional = true [dependencies.http-02] version = "0.2" optional = true package = "http" [dependencies.log] version = "0.4" [dependencies.native-tls] version = "0.2" optional = true [dependencies.once_cell] version = "1" [dependencies.rustls] version = "0.23.19" features = [ "ring", "logging", "std", "tls12", ] optional = true default-features = false [dependencies.rustls-native-certs] version = "0.7" optional = true [dependencies.rustls-pki-types] version = "1" 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.5.0" [dependencies.webpki-roots] version = "0.26" optional = true [dev-dependencies.env_logger] version = "<=0.9" features = ["humantime"] default-features = false [dev-dependencies.rustls] version = "0.23.5" features = [ "std", "ring", ] default-features = false [dev-dependencies.rustls-pemfile] version = "2.0" [dev-dependencies.serde] version = "1" features = ["derive"] [features] brotli = ["dep:brotli-decompressor"] charset = ["dep:encoding_rs"] cookies = [ "dep:cookie", "dep:cookie_store", ] default = [ "tls", "gzip", ] gzip = ["dep:flate2"] http-crate = ["dep:http"] http-interop = ["dep:http-02"] json = [ "dep:serde", "dep:serde_json", ] native-certs = ["dep:rustls-native-certs"] native-tls = ["dep:native-tls"] proxy-from-env = [] socks-proxy = ["dep:socks"] testdeps = ["dep:hootbin"] tls = [ "dep:webpki-roots", "dep:rustls", "dep:rustls-pki-types", ]