[package]
edition = "2021"
rust-version = "1.81"
name = "negotiator"
version = "0.1.0"
authors = ["trananhtung"]
build = false
exclude = [
"/.github",
"/.gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP content negotiation for Accept, Accept-Charset, Accept-Encoding, and Accept-Language headers. A faithful port of the `negotiator` npm package. Zero dependencies, no_std."
homepage = "https://github.com/trananhtung/negotiator"
documentation = "https://docs.rs/negotiator"
readme = "README.md"
keywords = [
"http",
"accept",
"content-negotiation",
"mime",
"header",
]
categories = [
"web-programming",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/trananhtung/negotiator"
[lib]
name = "negotiator"
path = "src/lib.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[dependencies]
[lints.clippy]
all = "warn"
pedantic = "warn"
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"