[package]
edition = "2024"
rust-version = "1.85"
name = "xocomil"
version = "0.3.0"
build = false
exclude = [
"fuzz/",
"benches/",
"profile.json*",
"perf.data*",
"*.profraw",
".claude/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight, zero-allocation HTTP/1.1 request parser and response writer"
documentation = "https://docs.rs/xocomil"
readme = "README.md"
keywords = [
"http",
"parser",
"zero-copy",
"no-alloc",
"http1",
]
categories = [
"network-programming",
"parser-implementations",
"web-programming",
]
license = "MIT"
repository = "https://github.com/42Pupusas/xocomil"
[features]
dhat-heap = []
[lib]
name = "xocomil"
path = "src/lib.rs"
[[example]]
name = "perf_parse"
path = "examples/perf_parse.rs"
[[example]]
name = "perf_parse_httparse"
path = "examples/perf_parse_httparse.rs"
[[test]]
name = "alloc_body_reader"
path = "tests/alloc_body_reader.rs"
[[test]]
name = "alloc_media"
path = "tests/alloc_media.rs"
[[test]]
name = "alloc_pct"
path = "tests/alloc_pct.rs"
[[test]]
name = "alloc_query"
path = "tests/alloc_query.rs"
[dependencies]
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.dhat]
version = "0.3"
[dev-dependencies.form_urlencoded]
version = "1"
[dev-dependencies.httparse]
version = "1"
[dev-dependencies.mime]
version = "0.3"
[dev-dependencies.percent-encoding]
version = "2"
[lints.clippy]
nursery = "warn"
pedantic = "warn"
perf = "warn"
[profile.bench]
debug = 2