tiny_http_fork 0.12.8

Low level HTTP server library FORK
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 = "tiny_http_fork"
version = "0.12.8"
authors = [
    "pierre.krieger1708@gmail.com",
    "Corey Farwell <coreyf@rwell.org>",
    "Aleksandr Morozov <alex@4neko.org>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low level HTTP server library FORK"
documentation = "https://tiny-http.github.io/tiny-http/tiny_http_fork/index.html"
readme = "README.md"
keywords = [
    "http",
    "server",
    "web",
]
license = "MIT OR Apache-2.0"
repository = "https://codeberg.org/4neko/tiny-http-fork"

[package.metadata.docs.rs]
features = ["ssl-rustls"]

[features]
default = ["log"]
ssl = ["ssl-rustls"]
ssl-native-tls = [
    "dep:native-tls",
    "dep:zeroize",
]
ssl-openssl = [
    "dep:openssl",
    "dep:zeroize",
]
ssl-rustls = [
    "dep:rustls",
    "dep:rustls-pemfile",
    "dep:zeroize",
]

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

[[example]]
name = "hello-world"
path = "examples/hello-world.rs"
required-features = ["log"]

[[example]]
name = "php-cgi"
path = "examples/php-cgi.rs"
required-features = ["log"]

[[example]]
name = "readme-example"
path = "examples/readme-example.rs"
required-features = ["log"]

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

[[example]]
name = "ssl"
path = "examples/ssl.rs"
required-features = [
    "log",
    "ssl-rustls",
]

[[example]]
name = "websockets"
path = "examples/websockets.rs"
required-features = ["log"]

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

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

[[test]]
name = "input-tests"
path = "tests/input-tests.rs"

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

[[test]]
name = "non-chunked-buffering"
path = "tests/non-chunked-buffering.rs"

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

[[test]]
name = "simple-test"
path = "tests/simple-test.rs"

[[test]]
name = "unblock-test"
path = "tests/unblock-test.rs"

[[test]]
name = "unix-test"
path = "tests/unix-test.rs"

[dependencies.ascii]
version = "1.1"

[dependencies.chunked_transfer]
version = "1"

[dependencies.httpdate]
version = "1.0"

[dependencies.log]
version = "0.4"
optional = true

[dependencies.native-tls]
version = "0.2"
optional = true

[dependencies.openssl]
version = "0.10"
optional = true

[dependencies.rustls]
version = "0.23"
optional = true

[dependencies.rustls-pemfile]
version = "2.2"
optional = true

[dependencies.zeroize]
version = "1"
optional = true

[dev-dependencies.fdlimit]
version = "0.3"

[dev-dependencies.rustc-serialize]
version = "0.3"

[dev-dependencies.sha1]
version = "0.11.0"

[dev-dependencies.tempfile]
version = "~3.27"