trillium-http 1.1.0

the http implementation for the trillium toolkit
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"
name = "trillium-http"
version = "1.1.0"
authors = ["Jacob Rothstein <hi@jbr.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "the http implementation for the trillium toolkit"
readme = "README.md"
keywords = [
    "trillium",
    "http",
    "async",
]
categories = [
    "web-programming::http-server",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/trillium-rs/trillium"
resolver = "2"

[features]
http-compat-0 = ["dep:http0"]
http-compat-1 = ["dep:http1"]
parse = []
serde = ["dep:serde"]
unstable = []

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

[[example]]
name = "conn-example"
path = "examples/conn-example.rs"

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

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

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

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

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

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

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

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

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

[dependencies.atomic-waker]
version = "1.1"

[dependencies.encoding_rs]
version = "0.8.35"

[dependencies.event-listener]
version = "5"

[dependencies.fastrand]
version = "2.3.0"

[dependencies.fieldwork]
version = "0.5.0"

[dependencies.futures-lite]
version = "2.6.1"

[dependencies.hashbrown]
version = "0.17.0"

[dependencies.http0]
version = "0"
optional = true
package = "http"

[dependencies.http1]
version = "1"
optional = true
package = "http"

[dependencies.httparse]
version = "1.10.1"

[dependencies.httpdate]
version = "1.0.3"

[dependencies.log]
version = "0.4.29"

[dependencies.memchr]
version = "2.8.0"

[dependencies.mime]
version = "0.3.17"

[dependencies.pin-project-lite]
version = "0.2"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true

[dependencies.smallvec]
version = "1.15.1"
features = ["const_new"]

[dependencies.smartcow]
version = "0.2.1"

[dependencies.smartstring]
version = "1.0.1"

[dependencies.swansong]
version = "0.3.4"

[dependencies.sync_wrapper]
version = "1.0.2"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.trillium-macros]
version = "0.1.0"

[dependencies.type-set]
version = "0.3.2"

[dev-dependencies.async-channel]
version = "2.5.0"

[dev-dependencies.async-executor]
version = "1.14.0"

[dev-dependencies.async-io]
version = "2.6.0"

[dev-dependencies.async-net]
version = "2.0.0"

[dev-dependencies.core_affinity]
version = "0.8.3"

[dev-dependencies.env_logger]
version = "0.11.10"

[dev-dependencies.futures-lite]
version = "2"

[dev-dependencies.indoc]
version = "2.0.7"

[dev-dependencies.pretty_assertions]
version = "1.4.1"

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

[dev-dependencies.smol]
version = "2.0.2"

[dev-dependencies.test-harness]
version = "0.3.1"

[dev-dependencies.unicycle]
version = "0.10.2"