2022-05-26 11:17:55 +03:00
|
|
|
[package]
|
2022-06-19 17:53:51 +03:00
|
|
|
name = "dufs"
|
2022-06-21 02:52:45 +03:00
|
|
|
version = "0.20.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-20 14:40:09 +03:00
|
|
|
description = "Dufs is a distinctive utility file server"
|
2022-05-26 15:59:08 +03:00
|
|
|
license = "MIT OR Apache-2.0"
|
2022-06-19 17:53:51 +03:00
|
|
|
homepage = "https://github.com/sigoden/dufs"
|
|
|
|
repository = "https://github.com/sigoden/dufs"
|
2022-05-26 15:59:08 +03:00
|
|
|
categories = ["command-line-utilities", "web-programming::http-server"]
|
2022-06-04 08:21:46 +03:00
|
|
|
keywords = ["static", "file", "server", "webdav", "cli"]
|
2022-05-26 11:17:55 +03:00
|
|
|
|
|
|
|
[dependencies]
|
2022-06-20 14:40:09 +03:00
|
|
|
clap = { version = "3", default-features = false, features = ["std", "wrap_help"] }
|
2022-06-02 06:06:41 +03:00
|
|
|
chrono = "0.4"
|
2022-06-03 05:59:54 +03:00
|
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros", "fs", "io-util", "signal"]}
|
2022-06-02 06:06:41 +03:00
|
|
|
tokio-rustls = "0.23"
|
2022-06-16 05:24:32 +03:00
|
|
|
tokio-util = { version = "0.7", features = ["io-util"] }
|
2022-05-26 11:17:55 +03:00
|
|
|
hyper = { version = "0.14", features = ["http1", "server", "tcp", "stream"] }
|
|
|
|
percent-encoding = "2.1"
|
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
serde_json = "1"
|
|
|
|
futures = "0.3"
|
2022-05-27 04:01:16 +03:00
|
|
|
base64 = "0.13"
|
2022-05-28 13:58:43 +03:00
|
|
|
async_zip = "0.0.7"
|
2022-06-11 09:11:36 +03:00
|
|
|
async-walkdir = "0.2"
|
|
|
|
headers = "0.3"
|
|
|
|
mime_guess = "2.0"
|
|
|
|
get_if_addrs = "0.5"
|
2022-06-02 06:06:41 +03:00
|
|
|
rustls = { version = "0.20", default-features = false, features = ["tls12"] }
|
|
|
|
rustls-pemfile = "1"
|
2022-06-11 09:11:36 +03:00
|
|
|
md5 = "0.7"
|
|
|
|
lazy_static = "1.4"
|
|
|
|
uuid = { version = "1.1", features = ["v4", "fast-rng"] }
|
|
|
|
urlencoding = "2.1"
|
2022-06-06 02:54:12 +03:00
|
|
|
xml-rs = "0.8"
|
2022-06-11 09:11:36 +03:00
|
|
|
env_logger = { version = "0.9", default-features = false, features = ["humantime"] }
|
|
|
|
log = "0.4"
|
2022-06-15 14:33:51 +03:00
|
|
|
socket2 = "0.4"
|
2022-06-16 05:24:32 +03:00
|
|
|
async-stream = "0.3"
|
2022-05-26 11:17:55 +03:00
|
|
|
|
2022-06-12 03:43:50 +03:00
|
|
|
[dev-dependencies]
|
|
|
|
assert_cmd = "2"
|
|
|
|
reqwest = { version = "0.11", features = ["blocking", "multipart", "rustls-tls"], default-features = false }
|
|
|
|
assert_fs = "1"
|
|
|
|
select = "0.5"
|
|
|
|
port_check = "0.1"
|
|
|
|
rstest = "0.13"
|
|
|
|
regex = "1"
|
|
|
|
pretty_assertions = "1.2"
|
|
|
|
url = "2"
|
|
|
|
diqwest = { version = "1", features = ["blocking"] }
|
|
|
|
predicates = "2"
|
|
|
|
|
2022-05-26 11:17:55 +03:00
|
|
|
[profile.release]
|
|
|
|
lto = true
|
|
|
|
strip = true
|
|
|
|
opt-level = "z"
|