rshs 0.9.2

A lightweight HTTP + WebDAV file server
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"
rust-version = "1.88"
name = "rshs"
version = "0.9.2"
authors = ["Zheng Junyi <zhengjunyi@live.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight HTTP + WebDAV file server"
documentation = "https://docs.rs/rshs"
readme = "README.md"
keywords = [
    "http",
    "webdav",
    "file-server",
    "axum",
]
categories = ["web-programming::http-server"]
license = "MIT"
repository = "https://github.com/mogeko/rshs"

[features]
default = []

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

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

[[test]]
name = "auth_tests"
path = "tests/auth_tests.rs"

[[test]]
name = "cli_tests"
path = "tests/cli_tests.rs"

[[test]]
name = "http_tests"
path = "tests/http_tests.rs"

[[test]]
name = "lock_tests"
path = "tests/lock_tests.rs"

[[test]]
name = "parse_tests"
path = "tests/parse_tests.rs"

[[test]]
name = "shutdown_tests"
path = "tests/shutdown_tests.rs"

[[test]]
name = "tls_tests"
path = "tests/tls_tests.rs"

[[test]]
name = "types_tests"
path = "tests/types_tests.rs"

[[test]]
name = "webdav_tests"
path = "tests/webdav_tests.rs"

[[bench]]
name = "fileserver"
path = "benches/fileserver.rs"
harness = false

[[bench]]
name = "micro"
path = "benches/micro.rs"
harness = false

[[bench]]
name = "middleware"
path = "benches/middleware.rs"
harness = false

[[bench]]
name = "path_resolve"
path = "benches/path_resolve.rs"
harness = false

[[bench]]
name = "scenarios"
path = "benches/scenarios.rs"
harness = false

[[bench]]
name = "webdav"
path = "benches/webdav.rs"
harness = false

[dependencies.axum]
version = "0.8"
features = ["http2"]

[dependencies.base64]
version = "0.22"

[dependencies.clap]
version = "4.6"
features = [
    "derive",
    "env",
]

[dependencies.derive-new]
version = "0.7"

[dependencies.futures-util]
version = "0.3"

[dependencies.mime_guess]
version = "2.0"

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

[dependencies.quick-xml]
version = "0.40"

[dependencies.rustls]
version = "0.23"

[dependencies.rustls-pemfile]
version = "2.2"

[dependencies.sha-crypt]
version = "0.6"
features = ["getrandom"]

[dependencies.sha2]
version = "0.11"

[dependencies.tokio]
version = "1.52"
features = [
    "macros",
    "net",
    "rt-multi-thread",
    "signal",
    "fs",
]

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

[dependencies.tokio-util]
version = "0.7"
features = ["io"]

[dependencies.tower]
version = "0.5"

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

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.criterion]
version = "0.8"
features = [
    "async_tokio",
    "html_reports",
]

[dev-dependencies.rcgen]
version = "0.14"

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

[target.'cfg(target_os = "linux")'.dependencies.io-uring]
version = "0.7"

[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2"

[target."cfg(unix)".dev-dependencies.libc]
version = "0.2"