78 lines
1.6 KiB
TOML
78 lines
1.6 KiB
TOML
|
|
# 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
|