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 = "http-srv"
version = "0.9.0"
authors = ["Saúl Valdelvira <saul@saulv.es>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Http Server"
readme = "README"
license = "GPL-3.0-only"
repository = "https://github.com/saulvaldelvira/http-server"
resolver = "2"

[features]
default = ["full"]
full = [
    "regex",
    "tls",
]
regex = ["dep:regexpr"]
tls = [
    "dep:rustls",
    "http/tls",
]

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

[[bin]]
name = "http-srv"
path = "src/main.rs"

[dependencies.base64]
version = ">=0.1.0"
package = "rb64"

[dependencies.http]
version = ">=0.1.0"
package = "http-utils"

[dependencies.jsonrs]
version = ">=0.1.4"
package = "jsonrs"

[dependencies.libloading]
version = "0.8.8"

[dependencies.mime]
version = ">=0.1.0"
package = "rmime"

[dependencies.pool]
version = ">=0.6.0"
package = "job-pool"

[dependencies.regexpr]
version = ">=0.3.3"
optional = true

[dependencies.rustls]
version = ">=0.23.28"
features = [
    "std",
    "aws_lc_rs",
]
optional = true
default-features = false

[dependencies.url]
version = ">=0.1.0"
package = "url-utils"