[package] name = "isahc" version = "1.7.2" description = "The practical HTTP client that is fun to use." authors = ["Stephen M. Coakley "] license = "MIT" keywords = ["http", "request", "client", "async", "curl"] categories = ["web-programming::http-client"] repository = "https://github.com/sagebind/isahc" documentation = "https://docs.rs/isahc/" readme = "README.md" edition = "2018" exclude = [".*", "benchmarks", "media", "src/cookies/psl/list/*/"] [package.metadata.docs.rs] features = ["cookies", "json", "nightly"] [badges.maintenance] status = "actively-developed" [features] default = ["http2", "static-curl", "text-decoding"] cookies = ["httpdate"] http2 = ["curl/http2"] json = ["serde", "serde_json"] nightly = [] psl = ["httpdate", "parking_lot", "publicsuffix"] spnego = ["curl-sys/spnego"] static-curl = ["curl/static-curl"] static-ssl = ["curl/static-ssl"] text-decoding = ["encoding_rs", "mime"] unstable-interceptors = [] [dependencies] async-channel = "1.4.2" castaway = "0.1.1" crossbeam-utils = ">=0.7.0, <0.9.0" curl = "0.4.36" curl-sys = "0.4.55" event-listener = "2.3.3" futures-lite = "1.10.1" http = "0.2.1" log = "0.4" once_cell = "1" polling = "2" slab = "0.4" sluice = "0.5.4" url = "2.1" waker-fn = "1" [dependencies.encoding_rs] version = "0.8" optional = true [dependencies.httpdate] version = "1" optional = true [dependencies.mime] version = "0.3" optional = true [dependencies.parking_lot] version = ">=0.9.0, <0.12.0" optional = true [dependencies.publicsuffix] version = "2.0.6" features = ["std"] optional = true [dependencies.serde] version = "1.0" optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.tracing] version = "0.1.17" features = ["log"] [dependencies.tracing-futures] version = "0.2" default-features = false features = ["std", "std-future"] [dev-dependencies] env_logger = "0.9" flate2 = "1.0.3" indicatif = "0.15" rayon = "1" static_assertions = "1.1" structopt = "0.3" tempfile = "3.1" test-case = "2.0" tracing-subscriber = ">=0.2.12, <0.4.0" serde_json = "1" [dev-dependencies.testserver] path = "testserver" [[example]] name = "cookies" required-features = ["cookies"] [[example]] name = "json" required-features = ["json", "serde/derive"] [workspace] members = ["benchmarks", "testserver"]