2022-05-26 11:17:55 +03:00
|
|
|
[package]
|
2022-06-19 17:53:51 +03:00
|
|
|
name = "dufs"
|
2024-05-22 06:20:24 +03:00
|
|
|
version = "0.41.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]
|
2024-04-19 04:41:41 +03:00
|
|
|
clap = { version = "4.5", features = ["wrap_help", "env"] }
|
|
|
|
clap_complete = "4.5"
|
2023-08-24 11:46:38 +03:00
|
|
|
chrono = { version = "0.4", default-features = false, features = ["clock"] }
|
2022-06-03 05:59:54 +03:00
|
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros", "fs", "io-util", "signal"]}
|
2023-06-01 17:05:44 +03:00
|
|
|
tokio-util = { version = "0.7", features = ["io-util", "compat"] }
|
2024-03-08 03:52:31 +03:00
|
|
|
hyper = { version = "1", features = ["http1", "server"] }
|
2023-08-14 12:31:52 +03:00
|
|
|
percent-encoding = "2.3"
|
2022-05-26 11:17:55 +03:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
serde_json = "1"
|
2023-12-21 09:24:20 +03:00
|
|
|
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
|
2024-04-08 00:19:34 +03:00
|
|
|
async_zip = { version = "0.0.17", default-features = false, features = ["deflate", "bzip2", "xz", "chrono", "tokio"] }
|
2023-12-21 09:24:20 +03:00
|
|
|
headers = "0.4"
|
2022-06-11 09:11:36 +03:00
|
|
|
mime_guess = "2.0"
|
2024-07-11 14:47:05 +03:00
|
|
|
if-addrs = "0.13"
|
2023-12-21 09:24:20 +03:00
|
|
|
rustls-pemfile = { version = "2.0", optional = true }
|
2024-04-08 01:56:51 +03:00
|
|
|
tokio-rustls = { version = "0.26", optional = true, default-features = false, features = ["ring", "tls12"]}
|
2022-06-11 09:11:36 +03:00
|
|
|
md5 = "0.7"
|
|
|
|
lazy_static = "1.4"
|
2024-02-06 12:32:31 +03:00
|
|
|
uuid = { version = "1.7", features = ["v4", "fast-rng"] }
|
2022-06-11 09:11:36 +03:00
|
|
|
urlencoding = "2.1"
|
2022-06-06 02:54:12 +03:00
|
|
|
xml-rs = "0.8"
|
2024-05-11 12:13:31 +03:00
|
|
|
log = { version = "0.4", features = ["std"] }
|
2023-03-06 05:09:24 +03:00
|
|
|
socket2 = "0.5"
|
2022-06-16 05:24:32 +03:00
|
|
|
async-stream = "0.3"
|
2022-07-02 17:55:22 +03:00
|
|
|
walkdir = "2.3"
|
2023-08-14 12:31:52 +03:00
|
|
|
form_urlencoded = "1.2"
|
2022-08-23 09:24:42 +03:00
|
|
|
alphanumeric-sort = "1.4"
|
2023-02-21 12:23:24 +03:00
|
|
|
content_inspector = "0.2"
|
|
|
|
anyhow = "1.0"
|
2023-03-01 04:36:59 +03:00
|
|
|
chardetng = "0.1"
|
2023-12-21 09:24:20 +03:00
|
|
|
glob = "0.3"
|
2024-02-06 12:32:31 +03:00
|
|
|
indexmap = "2.2"
|
2023-12-21 09:24:20 +03:00
|
|
|
serde_yaml = "0.9"
|
|
|
|
sha-crypt = "0.5"
|
2024-03-08 03:52:31 +03:00
|
|
|
base64 = "0.22"
|
2023-12-21 09:24:20 +03:00
|
|
|
smart-default = "0.7"
|
2024-02-06 12:32:31 +03:00
|
|
|
rustls-pki-types = "1.2"
|
2023-12-21 09:24:20 +03:00
|
|
|
hyper-util = { version = "0.1", features = ["server-auto", "tokio"] }
|
|
|
|
http-body-util = "0.1"
|
|
|
|
bytes = "1.5"
|
|
|
|
pin-project-lite = "0.2"
|
2024-04-19 03:48:54 +03:00
|
|
|
sha2 = "0.10.8"
|
2022-05-26 11:17:55 +03:00
|
|
|
|
2022-06-29 04:19:09 +03:00
|
|
|
[features]
|
|
|
|
default = ["tls"]
|
2023-12-21 09:24:20 +03:00
|
|
|
tls = ["rustls-pemfile", "tokio-rustls"]
|
2022-06-29 04:19:09 +03:00
|
|
|
|
2022-06-12 03:43:50 +03:00
|
|
|
[dev-dependencies]
|
|
|
|
assert_cmd = "2"
|
2024-04-08 01:56:51 +03:00
|
|
|
reqwest = { version = "0.12", features = ["blocking", "multipart", "rustls-tls"], default-features = false }
|
2022-06-12 03:43:50 +03:00
|
|
|
assert_fs = "1"
|
2024-04-08 00:19:34 +03:00
|
|
|
port_check = "0.2"
|
2024-04-19 04:41:41 +03:00
|
|
|
rstest = "0.19"
|
2022-06-12 03:43:50 +03:00
|
|
|
regex = "1"
|
|
|
|
url = "2"
|
2023-03-17 03:54:38 +03:00
|
|
|
predicates = "3"
|
2024-04-08 01:56:51 +03:00
|
|
|
digest_auth = "0.3.1"
|
2022-06-12 03:43:50 +03:00
|
|
|
|
2022-05-26 11:17:55 +03:00
|
|
|
[profile.release]
|
2023-08-15 02:24:22 +03:00
|
|
|
opt-level = 3
|
2022-05-26 11:17:55 +03:00
|
|
|
lto = true
|
2023-08-15 02:24:22 +03:00
|
|
|
codegen-units = 1
|
|
|
|
panic = "abort"
|
2023-08-15 06:01:25 +03:00
|
|
|
strip = "symbols"
|