uhttp 0.4.1

Simple http server for humans
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 = "uhttp"
version = "0.4.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Simple http server for humans"
readme = "README.md"
license = "MIT"
repository = "https://github.com/alshdavid/uhttp"
resolver = "2"

[features]
json = [
    "dep:serde",
    "dep:serde_json",
]

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

[dependencies.anyhow]
version = "^1"

[dependencies.async_fn_traits]
version = "0.1"

[dependencies.futures]
version = "0.3"

[dependencies.http]
version = "^1"

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

[dependencies.hyper]
version = "^1"
features = ["http1"]

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

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

[dependencies.serde_json]
version = "^1"
optional = true

[dependencies.tokio]
version = "^1"
features = [
    "rt-multi-thread",
    "fs",
    "net",
]

[dependencies.tokio-util]
version = "0.7"
features = [
    "io",
    "io-util",
    "futures-util",
]

[lints.clippy]
module_inception = "allow"
uninlined-format-args = "allow"

[lints.rust]
elided_lifetimes_in_paths = "allow"

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1