Source code
Revision control
Copy as Markdown
Other Tools
# 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 are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2021"
rust-version = "1.77"
name = "sfv"
version = "0.14.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."""
readme = "README.md"
keywords = [
"http-header",
"structured-header",
]
license = "MIT/Apache-2.0"
[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"
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"