dufs/Cargo.toml

72 lines
2.1 KiB
TOML
Raw Normal View History

2022-05-26 11:17:55 +03:00
[package]
name = "dufs"
2023-11-08 05:41:24 +03:00
version = "0.37.0"
2022-05-26 11:17:55 +03:00
edition = "2021"
2022-05-26 15:59:08 +03:00
authors = ["sigoden <sigoden@gmail.com>"]
description = "Dufs is a distinctive utility file server"
2022-05-26 15:59:08 +03:00
license = "MIT OR Apache-2.0"
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]
clap = { version = "4", features = ["wrap_help", "env"] }
2022-11-11 16:46:07 +03:00
clap_complete = "4"
2023-08-24 11:46:38 +03:00
chrono = { version = "0.4", default-features = false, features = ["clock"] }
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"] }
2022-05-26 11:17:55 +03:00
hyper = { version = "0.14", features = ["http1", "server", "tcp", "stream"] }
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"
futures = "0.3"
2023-06-01 17:05:44 +03:00
async_zip = { version = "0.0.15", default-features = false, features = ["deflate", "chrono", "tokio"] }
headers = "0.3"
mime_guess = "2.0"
2023-03-06 05:09:24 +03:00
if-addrs = "0.10.1"
2023-06-01 17:05:44 +03:00
rustls = { version = "0.21", default-features = false, features = ["tls12"], optional = true }
rustls-pemfile = { version = "1", optional = true }
2023-06-01 17:05:44 +03:00
tokio-rustls = { version = "0.24", optional = true }
md5 = "0.7"
lazy_static = "1.4"
2023-08-14 12:31:52 +03:00
uuid = { version = "1.4", features = ["v4", "fast-rng"] }
urlencoding = "2.1"
2022-06-06 02:54:12 +03:00
xml-rs = "0.8"
log = "0.4"
2023-03-06 05:09:24 +03:00
socket2 = "0.5"
2022-06-16 05:24:32 +03:00
async-stream = "0.3"
walkdir = "2.3"
2023-08-14 12:31:52 +03:00
form_urlencoded = "1.2"
alphanumeric-sort = "1.4"
2023-02-21 12:23:24 +03:00
content_inspector = "0.2"
anyhow = "1.0"
chardetng = "0.1"
glob = "0.3.1"
indexmap = "2.0"
serde_yaml = "0.9.27"
2023-11-04 13:12:58 +03:00
sha-crypt = "0.5.0"
base64 = "0.21.5"
2022-05-26 11:17:55 +03:00
[features]
default = ["tls"]
tls = ["rustls", "rustls-pemfile", "tokio-rustls"]
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"
port_check = "0.1"
rstest = "0.18"
2022-06-12 03:43:50 +03:00
regex = "1"
url = "2"
diqwest = { version = "1", features = ["blocking", "rustls-tls"], default-features = false }
2023-03-17 03:54:38 +03:00
predicates = "3"
2022-06-12 03:43:50 +03:00
2022-05-26 11:17:55 +03:00
[profile.release]
opt-level = 3
2022-05-26 11:17:55 +03:00
lto = true
codegen-units = 1
panic = "abort"
strip = "symbols"