# 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 = "2021" name = "http_req" version = "0.13.0" authors = ["jayjamesjay"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "simple and lightweight HTTP client with built-in HTTPS support" readme = "README.md" keywords = [ "http", "client", "request", ] categories = [ "web-programming::http-client", "network-programming", ] license = "MIT" repository = "https://github.com/jayjamesjay/http_req" [lib] name = "http_req" path = "src/lib.rs" [[example]] name = "advanced_request_get" path = "examples/advanced_request_get.rs" [[example]] name = "authentication" path = "examples/authentication.rs" [[example]] name = "chunked" path = "examples/chunked.rs" [[example]] name = "get" path = "examples/get.rs" [[example]] name = "head" path = "examples/head.rs" [[example]] name = "post" path = "examples/post.rs" [[bench]] name = "bench" path = "benches/bench.rs" [dependencies.base64] version = "^0.22.1" [dependencies.native-tls] version = "^0.2" optional = true [dependencies.rustls] version = "^0.23" optional = true [dependencies.rustls-pemfile] version = "^2.1" optional = true [dependencies.rustls-pki-types] version = "^1.7" features = ["alloc"] optional = true [dependencies.unicase] version = "^2.7" [dependencies.webpki] version = "^0.22" optional = true [dependencies.webpki-roots] version = "^0.26" optional = true [dependencies.zeroize] version = "^1.8.1" features = ["zeroize_derive"] [features] default = ["native-tls"] rust-tls = [ "rustls", "rustls-pki-types", "webpki", "webpki-roots", "rustls-pemfile", ]