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