# 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 = "2021" name = "dufs-zh" version = "0.31.4" authors = [ "sigoden ", "xxnuo ", ] description = "Dufs 是一个独特的实用文件服务器" homepage = "https://github.com/xxnuo/dufs/tree/zh" readme = "README.md" keywords = [ "static", "file", "server", "webdav", "cli", ] categories = [ "command-line-utilities", "web-programming::http-server", ] license = "MIT OR Apache-2.0" repository = "https://github.com/xxnuo/dufs/tree/zh" [profile.release] opt-level = "z" lto = true strip = true [[bin]] name = "dufs" path = "src/main.rs" [dependencies.alphanumeric-sort] version = "1.4" [dependencies.async-stream] version = "0.3" [dependencies.async_zip] version = "0.0.8" features = ["deflate"] default-features = false [dependencies.base64] version = "0.13" [dependencies.chrono] version = "0.4" [dependencies.clap] version = "4" features = ["wrap_help"] [dependencies.clap_complete] version = "4" [dependencies.form_urlencoded] version = "1.0" [dependencies.futures] version = "0.3" [dependencies.headers] version = "0.3" [dependencies.hyper] version = "0.14" features = [ "http1", "server", "tcp", "stream", ] [dependencies.if-addrs] version = "0.7" [dependencies.lazy_static] version = "1.4" [dependencies.log] version = "0.4" [dependencies.md5] version = "0.7" [dependencies.mime_guess] version = "2.0" [dependencies.percent-encoding] version = "2.1" [dependencies.rustls] version = "0.20" features = ["tls12"] optional = true default-features = false [dependencies.rustls-pemfile] version = "1" optional = true [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.socket2] version = "0.4" [dependencies.tokio] version = "1" features = [ "rt-multi-thread", "macros", "fs", "io-util", "signal", ] [dependencies.tokio-rustls] version = "0.23" optional = true [dependencies.tokio-util] version = "0.7" features = ["io-util"] [dependencies.urlencoding] version = "2.1" [dependencies.uuid] version = "1.1" features = [ "v4", "fast-rng", ] [dependencies.walkdir] version = "2.3" [dependencies.xml-rs] version = "0.8" [dev-dependencies.assert_cmd] version = "2" [dev-dependencies.assert_fs] version = "1" [dev-dependencies.diqwest] version = "1" features = ["blocking"] [dev-dependencies.indexmap] version = "1.9" [dev-dependencies.port_check] version = "0.1" [dev-dependencies.predicates] version = "2" [dev-dependencies.regex] version = "1" [dev-dependencies.reqwest] version = "0.11" features = [ "blocking", "multipart", "rustls-tls", ] default-features = false [dev-dependencies.rstest] version = "0.15" [dev-dependencies.url] version = "2" [features] default = ["tls"] tls = [ "rustls", "rustls-pemfile", "tokio-rustls", ]