summaryrefslogtreecommitdiff
path: root/vendor/httparse/Cargo.toml
blob: 6b7abb2c88996357f5d895f759e2d2898fa5ced4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# 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 = "2018"
name = "httparse"
version = "1.10.1"
authors = ["Sean McArthur <sean@seanmonstar.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A tiny, safe, speedy, zero-copy HTTP/1.x parser."
documentation = "https://docs.rs/httparse"
readme = "README.md"
keywords = [
    "http",
    "parser",
    "no_std",
]
categories = [
    "network-programming",
    "no-std",
    "parser-implementations",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/seanmonstar/httparse"

[features]
default = ["std"]
std = []

[lib]
name = "httparse"
path = "src/lib.rs"
bench = false

[[test]]
name = "uri"
path = "tests/uri.rs"

[[bench]]
name = "parse"
path = "benches/parse.rs"
harness = false

[dev-dependencies.criterion]
version = "0.3.5"

[dev-dependencies.rand]
version = "0.8.5"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(httparse_simd)",
    "cfg(httparse_simd_target_feature_avx2)",
    "cfg(httparse_simd_target_feature_sse42)",
    "cfg(httparse_simd_neon_intrinsics)",
]

[profile.bench]
opt-level = 3
lto = true
codegen-units = 1