2022-05-26 11:17:55 +03:00
|
|
|
[package]
|
2022-05-26 13:06:52 +03:00
|
|
|
name = "duf"
|
2022-06-01 18:12:52 +03:00
|
|
|
version = "0.8.0"
|
2022-05-26 11:17:55 +03:00
|
|
|
edition = "2021"
|
2022-05-26 15:59:08 +03:00
|
|
|
authors = ["sigoden <sigoden@gmail.com>"]
|
2022-06-01 17:55:11 +03:00
|
|
|
description = "Duf is a fully functional file server."
|
2022-05-26 15:59:08 +03:00
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
homepage = "https://github.com/sigoden/duf"
|
|
|
|
repository = "https://github.com/sigoden/duf"
|
|
|
|
autotests = false
|
|
|
|
categories = ["command-line-utilities", "web-programming::http-server"]
|
2022-05-26 16:43:58 +03:00
|
|
|
keywords = ["static", "file", "server", "http", "cli"]
|
2022-05-26 11:17:55 +03:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
clap = { version = "3", default-features = false, features = ["std", "cargo"] }
|
|
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros", "fs", "io-util"]}
|
|
|
|
hyper = { version = "0.14", features = ["http1", "server", "tcp", "stream"] }
|
|
|
|
percent-encoding = "2.1"
|
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
serde_json = "1"
|
|
|
|
tokio-util = { version = "0.7", features = ["codec", "io-util"] }
|
|
|
|
futures = "0.3"
|
2022-05-27 04:01:16 +03:00
|
|
|
base64 = "0.13"
|
|
|
|
log = "0.4"
|
|
|
|
simple_logger = "2.1.0"
|
2022-05-28 13:58:43 +03:00
|
|
|
async_zip = "0.0.7"
|
|
|
|
async-walkdir = "0.2.0"
|
2022-05-29 12:33:21 +03:00
|
|
|
headers = "0.3.7"
|
2022-05-30 06:22:28 +03:00
|
|
|
mime_guess = "2.0.4"
|
2022-06-02 04:44:40 +03:00
|
|
|
get_if_addrs = "0.5.3"
|
2022-05-26 11:17:55 +03:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
lto = true
|
|
|
|
strip = true
|
|
|
|
opt-level = "z"
|