rust-web-server 17.0.0

rust-web-server (rws) is a static content web-server written in Rust
# 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.0.0"
authors = ["Bohdan Tsap <bohdan.tsap@tutanota.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "rust-web-server (rws) is a static content web-server written in Rust"
readme = "README.md"
license = "MIT OR Apache-2.0 OR ISC OR LGPL-3.0-or-later OR CC-BY-4.0"
repository = "https://github.com/bohdaq/rust-web-server"

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

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

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

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

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

[dependencies.http]
version = "1"
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"