# 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 = "2024"
name = "milo-parser"
version = "0.4.0-alpha.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fast and embeddable HTTP/1.1 parser."
homepage = "https://sw.cowtech.it/milo"
readme = "README.md"
keywords = [
    "http",
    "parser",
    "http-parser",
]
categories = [
    "network-programming",
    "parser-implementations",
]
license = "ISC"
repository = "https://github.com/ShogunPanda/milo"

[features]
debug = []

[lib]
name = "milo_parser"
crate-type = [
    "cdylib",
    "staticlib",
    "lib",
]
path = "src/lib.rs"

[[example]]
name = "llhttp"
path = "examples/llhttp.rs"

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

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

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

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

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

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

[dependencies.memchr]
version = "2.8.0"

[dependencies.milo-macros]
version = "0.4.0-alpha.5"

[dev-dependencies.comfy-table]
version = "7.2.2"

[dev-dependencies.libc]
version = "0.2"

[dev-dependencies.regex]
version = "1.12.3"

[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0.145"

[dev-dependencies.serde_yaml]
version = "0.9.34"

[dev-dependencies.similar]
version = "3.0.0"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
debug-assertions = false
rpath = false
panic = "abort"
overflow-checks = false
incremental = false
strip = true
