spars-httpd 0.0.1

A small httpd for serving static files and SPAs
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.1"
name = "spars-httpd"
version = "0.0.1"
authors = ["Cullen Walsh <ckwalsh@cullenwalsh.com>"]
build = false
include = [
    "/src",
    "/Cargo.lock",
    "/Cargo.toml",
    "/LICENSE-APACHE",
    "/LICENSE-MIT",
    "/README.md",
    "/rust-toolchain.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A small httpd for serving static files and SPAs"
readme = "README.md"
keywords = ["httpd"]
categories = [
    "command-line-utilities",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ckwalsh/spars"

[features]
default = []
mime_guess = ["dep:mime_guess"]
signal-hook = ["dep:signal-hook"]

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

[[bin]]
name = "spars"
path = "src/bin/spars.rs"

[dependencies.arrayvec]
version = "0.7.6"

[dependencies.async-executor]
version = "1.13.2"

[dependencies.async-io]
version = "2.5.0"

[dependencies.blocking]
version = "1.6.2"

[dependencies.compact_str]
version = "0.9.0"

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

[dependencies.httparse]
version = "1.10.1"

[dependencies.mime_guess]
version = "2.0.5"
optional = true

[dependencies.signal-hook]
version = "0.3.18"
optional = true

[dependencies.thiserror]
version = "2.0.15"

[dependencies.zerotrie]
version = "0.2.2"
features = ["alloc"]

[dev-dependencies.futures-util]
version = "0.3.31"

[dev-dependencies.http]
version = "1.3.1"

[dev-dependencies.http-body-util]
version = "0.1.3"

[dev-dependencies.hyper]
version = "1.7.0"
features = [
    "http1",
    "server",
]
default-features = false

[dev-dependencies.hyper-util]
version = "0.1.16"
features = [
    "http1",
    "server",
]
default-features = false

[dev-dependencies.reqwest]
version = "0.12.23"
features = ["blocking"]
default-features = false

[dev-dependencies.tempfile]
version = "3.21.0"

[dev-dependencies.tokio]
version = "1.47.1"
features = [
    "fs",
    "macros",
    "rt-multi-thread",
]
default-features = false

[dev-dependencies.tokio-util]
version = "0.7.16"
features = ["io"]
default-features = false

[profile.plaid]
opt-level = "z"
codegen-units = 1
panic = "abort"
inherits = "release"

[profile.release]
lto = "fat"
strip = "symbols"