[package] name = "spirit-reqwest" version = "0.5.1" authors = ["Michal 'vorner' Vaner "] edition = "2018" description = "Reqwest helpers for Spirit" documentation = "https://docs.rs/spirit-reqwest" repository = "https://github.com/vorner/spirit" license = "Apache-2.0 OR MIT" categories = ["config", "web-programming"] keywords = ["http", "reqwest", "service", "configuration", "spirit"] readme = "README.md" include = [ "Cargo.toml", "README.md", "src/**", ] [badges] travis-ci = { repository = "vorner/spirit" } maintenance = { status = "actively-developed" } [features] default = ["cfg-help"] cfg-help = ["spirit/cfg-help", "structdoc"] blocking = ["reqwest/blocking"] brotli = ["reqwest/brotli"] gzip = ["reqwest/gzip"] native-tls = ["reqwest/native-tls"] [dependencies] arc-swap = "^1" err-context = "^0.1" log = "^0.4" # Yes, depend on default-features. That means default-tls, we don't want to disable so many parts of the code reqwest = "^0.11.4" serde = { version = "^1", features = ["derive"] } spirit = { version = "^0.4.8", path = "..", default-features = false } structdoc = { version = "^0.1", optional = true } url = { version = "^2", features = ["serde"] } [dev-dependencies] env_logger = "^0.8" tokio = { version = "^1", features = ["full"] } [package.metadata.docs.rs] all-features = true