http-net 0.2.0

Sans-IO HTTP/1.1 server and client: strict RFC 9112 parsing, smuggling defences, bounded buffers, keep-alive, chunked bodies, upgrades, a blocking std adapter, no dependencies.
Documentation
# 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"
rust-version = "1.85"
name = "http-net"
version = "0.2.0"
authors = ["James Gober <me@jamesgober.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sans-IO HTTP/1.1 server and client: strict RFC 9112 parsing, smuggling defences, bounded buffers, keep-alive, chunked bodies, upgrades, a blocking std adapter, no dependencies."
homepage = "https://github.com/jamesgober/http-net"
documentation = "https://docs.rs/http-net"
readme = "README.md"
keywords = [
    "http",
    "server",
    "client",
    "sans-io",
    "protocol",
]
categories = [
    "network-programming",
    "web-programming",
    "no-std",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jamesgober/http-net"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

[lib]
name = "http_net"
path = "src/lib.rs"

[[example]]
name = "get"
path = "examples/get.rs"
required-features = ["std"]

[[example]]
name = "localhost"
path = "examples/localhost.rs"
required-features = ["std"]

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

[[example]]
name = "serve"
path = "examples/serve.rs"
required-features = ["std"]

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

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

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

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

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

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

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

[dependencies]

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.proptest]
version = "1"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"