# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "chttp" version = "0.5.5" authors = ["Stephen M. Coakley "] description = "The practical HTTP client that is fun to use." documentation = "https://docs.rs/chttp/" readme = "README.md" keywords = ["http", "request", "client", "async", "curl"] categories = ["web-programming::http-client"] license = "MIT" repository = "https://github.com/sagebind/chttp" [package.metadata.docs.rs] all-features = true [[example]] name = "async" required-features = ["nightly"] [dependencies.bytes] version = "0.4" [dependencies.chrono] version = "0.4" optional = true [dependencies.crossbeam-channel] version = "0.3" [dependencies.curl] version = "^0.4.20" [dependencies.curl-sys] version = "^0.4.20" [dependencies.futures-io-preview] version = "=0.3.0-alpha.17" [dependencies.futures-util-preview] version = "=0.3.0-alpha.17" features = ["io"] [dependencies.http] version = "0.1" [dependencies.lazy_static] version = "1" [dependencies.log] version = "0.4" [dependencies.parking_lot] version = "0.9" optional = true [dependencies.publicsuffix] version = "1.5" optional = true default-features = false [dependencies.serde] version = "1.0" optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.slab] version = "0.4" [dependencies.sluice] version = "0.4" [dev-dependencies.env_logger] version = "0.6" [dev-dependencies.futures-preview] version = "=0.3.0-alpha.17" [dev-dependencies.mockito] version = "0.20" [dev-dependencies.rayon] version = "1" [dev-dependencies.speculate] version = "0.1" [features] cookies = ["chrono"] default = ["cookies", "http2", "static-curl"] http2 = ["curl/http2"] json = ["serde", "serde_json"] middleware-api = [] nightly = [] psl = ["parking_lot", "publicsuffix"] static-curl = ["curl/static-curl"] [badges.maintenance] status = "actively-developed"