[package]
edition = "2024"
rust-version = "1.85"
name = "parse-net"
version = "0.9.2"
authors = ["James Gober <me@jamesgober.com>"]
build = false
exclude = [
"/fuzz/",
"/benches/",
"/tests/sfv/",
"/tests/sfv_conformance.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Grammar for Internet message fields: RFC 9110 field syntax, media types, RFC 9651 Structured Fields, HTTP and RFC 5322 dates, negotiation, entity tags, ranges, Content-Disposition, Cache-Control, Forwarded, auth challenges, and the email lexical layer. no_std, no allocation, sans-IO, zero dependencies."
documentation = "https://docs.rs/parse-net"
readme = "README.md"
keywords = [
"http",
"parser",
"header",
"rfc9110",
"no-std",
]
categories = [
"parser-implementations",
"network-programming",
"web-programming",
"no-std::no-alloc",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jamesgober/parse-net"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
alloc = []
default = []
encode-lib = []
std = ["alloc"]
[lib]
name = "parse_net"
path = "src/lib.rs"
[[test]]
name = "complexity"
path = "tests/complexity.rs"
[[test]]
name = "mail_link_properties"
path = "tests/mail_link_properties.rs"
[[test]]
name = "no_alloc"
path = "tests/no_alloc.rs"
[[test]]
name = "properties"
path = "tests/properties.rs"
[[test]]
name = "review_core"
path = "tests/review_core.rs"
[[test]]
name = "review_mail"
path = "tests/review_mail.rs"
[[test]]
name = "review_security"
path = "tests/review_security.rs"
[[test]]
name = "threats"
path = "tests/threats.rs"
[[test]]
name = "types"
path = "tests/types.rs"
[[test]]
name = "vectors"
path = "tests/vectors.rs"
[[test]]
name = "web_properties"
path = "tests/web_properties.rs"
[dependencies]
[dev-dependencies.proptest]
version = "1"
features = ["std"]
default-features = false
[dev-dependencies.serde_json]
version = "1"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"