dropdir 0.1.1

A tiny, zero-config file manager served over HTTP from a local directory. Browse, upload, rename, delete, and edit files in your browser from a single self-contained Rust binary.
# 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 = "dropdir"
version = "0.1.1"
authors = ["zhanboliang"]
build = false
exclude = [
    ".github/",
    ".gitignore",
    ".DS_Store",
    "**/.DS_Store",
    "target/",
    "*.log",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A tiny, zero-config file manager served over HTTP from a local directory. Browse, upload, rename, delete, and edit files in your browser from a single self-contained Rust binary."
homepage = "https://github.com/zhanboliang/dropdir"
documentation = "https://docs.rs/dropdir"
readme = "README.md"
keywords = [
    "file-manager",
    "http",
    "server",
    "upload",
    "cli",
]
categories = [
    "command-line-utilities",
    "filesystem",
    "web-programming::http-server",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/zhanboliang/dropdir"

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

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.7"
features = ["multipart"]

[dependencies.chrono]
version = "0.4"
features = [
    "clock",
    "serde",
]
default-features = false

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

[dependencies.getrandom]
version = "0.2"

[dependencies.if-addrs]
version = "0.13"

[dependencies.mime_guess]
version = "2"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

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

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

[dependencies.tower-http]
version = "0.5"
features = ["limit"]

[profile.release]
lto = true
strip = true