# 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 = "feignhttp" version = "0.5.2" authors = ["dxx "] exclude = ["examples/**"] description = "Declarative HTTP client for rust" homepage = "https://github.com/dxx/feignhttp" documentation = "https://docs.rs/feignhttp" readme = "README.md" keywords = [ "http", "request", "client", ] categories = ["web-programming::http-client"] license = "MIT" repository = "https://github.com/dxx/feignhttp" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [dependencies.async-trait] version = "0.1" [dependencies.feignhttp-codegen] version = "0.5" [dependencies.http] version = "0.2" [dependencies.isahc] version = "1.7.0" optional = true [dependencies.log] version = "0.4" optional = true [dependencies.reqwest] version = "0.11" optional = true [dependencies.serde] version = "1.0" [dependencies.serde_json] version = "1.0" optional = true [dependencies.serde_urlencoded] version = "0.7" [dependencies.url] version = "2.2" [dev-dependencies.env_logger] version = "0.8.3" [dev-dependencies.mockito] version = "0.23.3" [dev-dependencies.once_cell] version = "1.12.0" [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.tokio] version = "1" features = ["full"] [features] default = ["reqwest-client"] isahc-client = ["isahc"] json = [ "serde_json", "reqwest/json", "isahc/json", ] reqwest-client = ["reqwest"]