# 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 = "http-types-rs" version = "4.0.3" authors = [ "Yoshua Wuyts ", "Ahmed Mones ", ] description = "Common types for HTTP operations." documentation = "https://docs.rs/http-types-rs" readme = "README.md" keywords = [ "http", "types", "request", "response", "h2", ] categories = [ "asynchronous", "web-programming", "web-programming::http-client", "web-programming::http-server", "web-programming::websocket", ] license = "MIT OR Apache-2.0" repository = "https://github.com/OneOfone/http-types" [package.metadata.docs.rs] features = ["docs"] rustdoc-args = [ "--cfg", "feature=\"docs\"", ] [dependencies.anyhow] version = "1.0" [dependencies.async-channel] version = "2.2" [dependencies.async-std] version = "1.12" optional = true [dependencies.base64] version = "0.22" [dependencies.cookie] version = "0.18" features = ["percent-encode"] optional = true [dependencies.fastrand] version = "2.0" [dependencies.futures] version = "0.3" [dependencies.http] version = "1.1" optional = true [dependencies.infer] version = "0.15" [dependencies.pin-project-lite] version = "0.2" [dependencies.serde] version = "1.0" features = ["derive"] optional = true package = "serde" [dependencies.serde_json] version = "1.0" optional = true [dependencies.serde_qs] version = "0.13" optional = true [dependencies.serde_urlencoded] version = "0.7" optional = true [dependencies.url] version = "2.5" [dev-dependencies.async-std] version = "1.12" features = ["attributes"] [dev-dependencies.http] version = "1.1" [features] async_std = ["fs"] cookie-secure = [ "cookies", "cookie/secure", ] cookies = ["dep:cookie"] default = [ "fs", "cookie-secure", "serde", ] docs = ["unstable"] fs = ["dep:async-std"] hyperium_http = ["dep:http"] serde = [ "dep:serde_qs", "dep:serde", "dep:serde_json", "dep:serde_urlencoded", "url/serde", ] unstable = []