1[package]
2name = "httparse"
3version = "1.10.1"
4authors = ["Sean McArthur <sean@seanmonstar.com>"]
5license = "MIT OR Apache-2.0"
6description = "A tiny, safe, speedy, zero-copy HTTP/1.x parser."
7repository = "https://github.com/seanmonstar/httparse"
8documentation = "https://docs.rs/httparse"
9readme = "README.md"
10keywords = ["http", "parser", "no_std"]
11categories = ["network-programming", "no-std", "parser-implementations", "web-programming"]
12edition = "2018"
13build = "build.rs"
14
15[features]
16default = ["std"]
17std = []
18
19[dev-dependencies]
20criterion = "0.3.5"
21rand = "0.8.5"
22
23[lib]
24bench = false
25
26[[bench]]
27name = "parse"
28harness = false
29
30[profile.bench]
31lto = true
32codegen-units = 1
33opt-level = 3
34
35[lints.rust]
36unexpected_cfgs = { level = "warn", check-cfg = [
37 'cfg(httparse_simd)',
38 'cfg(httparse_simd_target_feature_avx2)',
39 'cfg(httparse_simd_target_feature_sse42)',
40 'cfg(httparse_simd_neon_intrinsics)',
41] }
42