basic-http-server 0.10.0

A simple static HTTP file server, for learning and local development
# 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"
rust-version = "1.85"
name = "basic-http-server"
version = "0.10.0"
authors = ["Brian Anderson <andersrb@gmail.com>"]
build = false
exclude = ["tests/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple static HTTP file server, for learning and local development"
homepage = "https://github.com/brson/basic-http-server"
readme = "README.md"
keywords = [
    "http",
    "server",
    "static",
    "file-server",
]
categories = [
    "command-line-utilities",
    "web-programming::http-server",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/brson/basic-http-server"

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

[dependencies.axum]
version = "0.8"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.comrak]
version = "0.34"
features = ["syntect"]

[dependencies.http]
version = "1"

[dependencies.mime]
version = "0.3"

[dependencies.mime_guess]
version = "2"

[dependencies.percent-encoding]
version = "2"

[dependencies.syntect]
version = "5"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tower]
version = "0.5"

[dependencies.tower-http]
version = "0.6"
features = ["fs"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dev-dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]
default-features = false

[dev-dependencies.tempfile]
version = "3"