rust-web-server 17.6.0

Static file web server and HTTP toolkit written in Rust. Supports HTTP/3, HTTP/2, and HTTP/1.1. HTTP/3 and HTTP/2 require a TLS certificate; without one the server falls back to plain HTTP/1.1 automatically.
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 = "2021"
rust-version = "1.75"
name = "rust-web-server"
version = "17.6.0"
authors = ["Bohdan Tsap <bohdan.tsap@tutanota.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Static file web server and HTTP toolkit written in Rust. Supports HTTP/3, HTTP/2, and HTTP/1.1. HTTP/3 and HTTP/2 require a TLS certificate; without one the server falls back to plain HTTP/1.1 automatically."
readme = "README.md"
keywords = [
    "http",
    "web-server",
    "http3",
    "toolkit",
    "network",
]
categories = [
    "network-programming",
    "web-programming::http-server",
]
license = "MIT"
repository = "https://github.com/bohdaq/rust-web-server"

[features]
default = ["http3"]
http1 = []
http2 = [
    "dep:h2",
    "dep:rustls",
    "dep:tokio-rustls",
    "dep:tokio",
    "dep:bytes",
    "dep:rustls-pemfile",
    "dep:http",
]
http3 = [
    "http2",
    "dep:quinn",
    "dep:h3",
    "dep:h3-quinn",
]

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

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

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

[dependencies.file-ext]
version = "12.0.0"

[dependencies.flate2]
version = "1"

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

[dependencies.h3]
version = "0.0.8"
optional = true

[dependencies.h3-quinn]
version = "0.0.10"
optional = true

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

[dependencies.quinn]
version = "0.11"
optional = true

[dependencies.rustls]
version = "0.23"
features = [
    "aws-lc-rs",
    "tls12",
    "logging",
    "std",
]
optional = true
default-features = false

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

[dependencies.tokio]
version = "1"
features = [
    "net",
    "rt-multi-thread",
    "macros",
    "io-util",
    "signal",
]
optional = true

[dependencies.tokio-rustls]
version = "0.26"
optional = true

[dependencies.url-build-parse]
version = "12.1.0"

[dependencies.url-search-params]
version = "12.0.0"