blob: 4e427f14592de0275bef030d6353feaf62e67217 [file] [log] [blame]
# 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.9.5"
authors = ["Sean McArthur <[email protected]>"]
build = "build.rs"
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"
[profile.bench]
opt-level = 3
lto = true
codegen-units = 1
[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"
[features]
default = ["std"]
std = []
[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)",
]