statico 0.5.8

A High-performance HTTP webserver that serves static responses at the speed of light.
# 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 = "2021"
name = "statico"
version = "0.5.8"
authors = ["Nicola Bonelli <nicola@larthia.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A High-performance HTTP webserver that serves static responses at the speed of light."
readme = "README.md"
keywords = [
    "cli",
    "utility",
    "benchmark",
    "http",
]
categories = [
    "command-line-utilities",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/awgn/statico"

[features]
full = [
    "tokio_uring",
    "monoio",
    "glommio",
    "smol",
]
glommio = ["dep:glommio"]
monoio = [
    "dep:monoio",
    "dep:io-uring",
]
smol = [
    "dep:smol",
    "dep:smol-hyper",
]
tokio_uring = ["dep:tokio-uring"]

[[bin]]
name = "statico"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.bytes]
version = "1.11"

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.contatori]
version = "0.7.5"

[dependencies.core_affinity]
version = "0.8.3"

[dependencies.ctrlc]
version = "3.5.1"

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

[dependencies.http-body]
version = "1.0.1"

[dependencies.http-body-util]
version = "0.1"

[dependencies.http_wire]
version = "0.5.0"

[dependencies.httparse]
version = "1.10.1"

[dependencies.humantime]
version = "2.3.0"

[dependencies.hyper]
version = "1.8"
features = ["full"]

[dependencies.hyper-util]
version = "0.1"
features = ["full"]

[dependencies.num_cpus]
version = "1.17"

[dependencies.owo-colors]
version = "4.2.3"

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

[dependencies.pingora-timeout]
version = "0.6.0"

[dependencies.smol]
version = "2.0"
optional = true

[dependencies.smol-hyper]
version = "0.1"
optional = true

[dependencies.socket2]
version = "0.6"
features = ["all"]

[dependencies.tokio]
version = "1.49"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[target.'cfg(target_os = "linux")'.dependencies.glommio]
version = "0.8.0"
optional = true

[target.'cfg(target_os = "linux")'.dependencies.io-uring]
version = "0.6"
optional = true

[target.'cfg(target_os = "linux")'.dependencies.monoio]
version = "0.2"
optional = true

[target.'cfg(target_os = "linux")'.dependencies.tokio-uring]
version = "0.5.0"
optional = true

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
strip = true