[package]
edition = "2021"
rust-version = "1.88.0"
name = "rkt_http"
version = "1.1.0"
authors = ["Sergio Benitez <sb@sergio.bz>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Types, traits, and parsers for HTTP requests, responses, and headers.
"""
homepage = "https://rkt.rs"
documentation = "https://docs.rs/rkt_http/latest/rkt_http/"
readme = "README.md"
keywords = [
"rkt",
"rocket",
"web",
"framework",
"http",
]
categories = ["web-programming"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rustfoo/rkt"
[features]
default = []
serde = [
"dep:serde",
"uncased/with-serde-alloc",
]
uuid = ["dep:uuid"]
[lib]
name = "rkt_http"
path = "src/lib.rs"
[dependencies.cookie]
version = "0.18"
features = ["percent-encode"]
[dependencies.either]
version = "1"
[dependencies.indexmap]
version = "2"
[dependencies.memchr]
version = "2"
[dependencies.pear]
version = "0.2.9"
[dependencies.percent-encoding]
version = "2"
[dependencies.ref-cast]
version = "1.0"
[dependencies.serde]
version = "1.0"
features = ["std"]
optional = true
default-features = false
[dependencies.stable-pattern]
version = "0.1"
[dependencies.state]
version = "0.6"
[dependencies.time]
version = "0.3"
features = [
"formatting",
"macros",
]
[dependencies.tinyvec]
version = "1.11"
features = [
"std",
"rustc_1_57",
]
[dependencies.uncased]
version = "0.9.10"
[dependencies.uuid]
version = "1"
optional = true
default-features = false
[dev-dependencies]
[lints.clippy]
manual_range_contains = "allow"
module_inception = "allow"
multiple_bound_locations = "allow"
needless_borrow = "allow"
result_large_err = "allow"
type_complexity = "allow"
[lints.rust]
async_fn_in_trait = "allow"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(nightly)"]