simple-http-server 0.8.0

Simple HTTP server
# 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 = "simple-http-server"
version = "0.8.0"
authors = ["thewawar <thewawar@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Simple HTTP server"
readme = "README.md"
keywords = [
    "simple",
    "http",
    "server",
    "static",
    "file",
]
license = "MIT"
repository = "https://github.com/TheWaWaR/simple-http-server"

[features]
default = []
tls = [
    "dep:openssl",
    "dep:tokio-openssl",
]

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

[dependencies.axum]
version = "0.8.8"
features = [
    "http1",
    "tokio",
    "multipart",
]
default-features = false

[dependencies.base64]
version = "0.22.1"

[dependencies.clap]
version = "4.6.0"
features = [
    "std",
    "help",
    "usage",
    "error-context",
    "suggestions",
    "color",
]
default-features = false

[dependencies.flate2]
version = "1.1.9"

[dependencies.http-body]
version = "1.0.1"

[dependencies.httpdate]
version = "1.0.3"

[dependencies.mime_guess]
version = "2.0.5"

[dependencies.time]
version = "0.3.47"
features = [
    "formatting",
    "local-offset",
    "macros",
]

[dependencies.tokio]
version = "1.50.0"
features = [
    "rt-multi-thread",
    "net",
    "fs",
    "io-util",
    "time",
    "sync",
]

[dependencies.tokio-openssl]
version = "0.6.5"
optional = true

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

[dev-dependencies.tower]
version = "0.5.3"
features = ["util"]

[target."cfg(not(windows))".dependencies.openssl]
version = "0.10.76"
optional = true

[target."cfg(windows)".dependencies.openssl]
version = "0.10.76"
features = ["vendored"]
optional = true