[package] name = "trillium-http-types" version = "0.0.3" license = "MIT OR Apache-2.0" repository = "https://github.com/trillium-rs/http-types" documentation = "https://docs.rs/trillium-http-types" description = "temporary fork of http-types crate. don't directly depend on this." authors = ["Yoshua Wuyts "] readme = "README.md" edition = "2018" [package.metadata.docs.rs] features = ["docs"] rustdoc-args = ["--cfg", "feature=\"docs\""] [features] default = ["fs", "cookie-secure", "serde"] docs = ["unstable"] unstable = [] hyperium_http = ["http"] async_std = ["fs"] cookies = ["cookie"] cookie-secure = ["cookies", "cookie/secure"] fs = ["async-std"] serde = [ "serde_qs", "serde_crate", "serde_json", "serde_urlencoded", "url/serde" ] [dependencies] rand = "0.7.3" base64 = "0.13.0" futures-lite = "1.11.1" async-channel = "1.5.1" infer = "0.2.3" pin-project-lite = "0.2.0" url = "2.1.1" anyhow = "1.0.26" # features: async_std async-std = { version = "1.6.0", optional = true } # features: hyperium/http http = { version = "0.2.0", optional = true } # features: cookies cookie = { version = "0.14.0", features = ["percent-encode"], optional = true } # features: serde serde_json = { version = "1.0.51", optional = true } serde_crate = { version = "1.0.106", features = [ "derive" ], optional = true, package = "serde" } serde_urlencoded = { version = "0.7.0", optional = true } serde_qs = { version = "0.7.0", optional = true } [dev-dependencies] http = "0.2.0" async-std = { version = "1.6.0", features = ["attributes"] }