1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
|
# 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 = "http-types"
version = "2.12.0"
authors = ["Yoshua Wuyts <yoshuawuyts@gmail.com>"]
description = "Common types for HTTP operations."
documentation = "https://docs.rs/http-types"
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/http-rs/http-types"
[package.metadata.docs.rs]
features = ["docs"]
rustdoc-args = ["--cfg", "feature=\"docs\""]
[dependencies.anyhow]
version = "1.0.26"
[dependencies.async-channel]
version = "1.5.1"
[dependencies.async-std]
version = "1.6.0"
optional = true
[dependencies.base64]
version = "0.13.0"
[dependencies.cookie]
version = "0.14.0"
features = ["percent-encode"]
optional = true
[dependencies.futures-lite]
version = "1.11.1"
[dependencies.http]
version = "0.2.0"
optional = true
[dependencies.infer]
version = "0.2.3"
[dependencies.pin-project-lite]
version = "0.2.0"
[dependencies.rand]
version = "0.7.3"
[dependencies.serde]
version = "1.0.106"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.51"
[dependencies.serde_qs]
version = "0.8.3"
[dependencies.serde_urlencoded]
version = "0.7.0"
[dependencies.url]
version = "2.1.1"
features = ["serde"]
[dev-dependencies.async-std]
version = "1.6.0"
features = ["attributes"]
[dev-dependencies.http]
version = "0.2.0"
[features]
async_std = ["fs"]
cookie-secure = ["cookies", "cookie/secure"]
cookies = ["cookie"]
default = ["fs", "cookie-secure"]
docs = ["unstable"]
fs = ["async-std"]
hyperium_http = ["http"]
unstable = []
|