# 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 = "reqwest-traits" version = "0.2.0" authors = ["Ernesto Jiménez "] description = "Traits for reqwest to allow injecting a custom http client like reqwest_middleware::ClientWithMiddleware" readme = "README.md" keywords = [ "reqwest", "reqwest_middleware", "traits", "http", "middleware", ] categories = ["web-programming::http-client"] license = "MIT" repository = "https://github.com/ernesto-jimenez/reqwest-traits" [dependencies.async-trait] version = "0.1.68" [dependencies.http] version = "0.2.9" [dependencies.reqwest] version = "0.11.18" [dependencies.reqwest-middleware] version = "0.2.2" optional = true [dependencies.serde] version = "1.0.164" [dev-dependencies.http-test-server] version = "2.1.1" [dev-dependencies.tokio] version = "1.28.2" features = ["macros"] [features] default = [ "reqwest", "reqwest-middleware", ] reqwest = [] reqwest-middleware = [ "reqwest", "dep:reqwest-middleware", ]