statico 0.11.0

A blazing-fast HTTP server implemented in Rust that serves static responses at lightning speed.
# 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.11.0"
authors = ["Nicola Bonelli <nicola@larthia.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A blazing-fast HTTP server implemented in Rust that serves static responses at lightning speed."
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]
compio = ["dep:compio"]
default = ["mimalloc"]
full = [
    "tokio_uring",
    "monoio",
    "glommio",
    "smol",
    "compio",
    "mimalloc",
]
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.6"
features = ["derive"]

[dependencies.compio]
version = "0.18"
features = [
    "runtime",
    "net",
]
optional = true

[dependencies.contatori]
version = "0.7.5"

[dependencies.core_affinity]
version = "0.8.3"

[dependencies.ctrlc]
version = "3.5.2"

[dependencies.dashmap]
version = "6.1"

[dependencies.futures]
version = "0.3.32"

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

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

[dependencies.http_wire]
version = "0.7.0"

[dependencies.httparse]
version = "1.10.1"

[dependencies.humantime]
version = "2.3.0"

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

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

[dependencies.mimalloc]
version = "0.1"
optional = true

[dependencies.num_cpus]
version = "1.17"

[dependencies.number_range]
version = "0.3.2"

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

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

[dependencies.pingora-timeout]
version = "0.8.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.51"
features = ["full"]

[dependencies.tokio-stream]
version = "0.1.18"
features = ["net"]

[dependencies.tracing]
version = "0.1"

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

[target.'cfg(target_os = "linux")'.dependencies.glommio]
version = "0.9"
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