[package]
edition = "2021"
rust-version = "1.85"
name = "sfv"
version = "0.15.0"
authors = ["Tania Batieva <yalyna.ts@gmail.com>"]
build = false
exclude = [
"tests/**",
".github/*",
"benches/**",
"fuzz/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Structured Field Values for HTTP parser.
Implementation of RFC 8941 and RFC 9651."""
documentation = "https://docs.rs/sfv"
readme = "README.md"
keywords = [
"http-header",
"structured-header",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/undef1nd/sfv"
[features]
arbitrary = [
"dep:arbitrary",
"indexmap?/arbitrary",
]
default = ["parsed-types"]
parsed-types = ["dep:indexmap"]
[lib]
name = "sfv"
path = "src/lib.rs"
[[example]]
name = "priority"
path = "examples/priority.rs"
required-features = ["parsed-types"]
[dependencies.arbitrary]
version = "1.4.1"
features = ["derive"]
optional = true
[dependencies.base64]
version = "0.22.1"
[dependencies.indexmap]
version = "2.7"
optional = true
[dependencies.ref-cast]
version = "1.0.23"
[dev-dependencies.base32]
version = "0.5.1"
[dev-dependencies.criterion]
version = "0.5.1"
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1.0"
[lints.clippy]
pedantic = "deny"