# 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" version = "0.43.0" authors = ["sigoden "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Dufs is a distinctive utility file server" homepage = "https://github.com/sigoden/dufs" 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/sigoden/dufs" [profile.release] opt-level = 3 lto = true codegen-units = 1 panic = "abort" strip = "symbols" [[bin]] name = "dufs" path = "src/main.rs" [[test]] name = "allow" path = "tests/allow.rs" [[test]] name = "args" path = "tests/args.rs" [[test]] name = "assets" path = "tests/assets.rs" [[test]] name = "auth" path = "tests/auth.rs" [[test]] name = "bind" path = "tests/bind.rs" [[test]] name = "cache" path = "tests/cache.rs" [[test]] name = "cli" path = "tests/cli.rs" [[test]] name = "config" path = "tests/config.rs" [[test]] name = "cors" path = "tests/cors.rs" [[test]] name = "digest_auth_util" path = "tests/digest_auth_util.rs" [[test]] name = "fixtures" path = "tests/fixtures.rs" [[test]] name = "health" path = "tests/health.rs" [[test]] name = "hidden" path = "tests/hidden.rs" [[test]] name = "http" path = "tests/http.rs" [[test]] name = "http_logger" path = "tests/http_logger.rs" [[test]] name = "range" path = "tests/range.rs" [[test]] name = "render" path = "tests/render.rs" [[test]] name = "single_file" path = "tests/single_file.rs" [[test]] name = "sort" path = "tests/sort.rs" [[test]] name = "symlink" path = "tests/symlink.rs" [[test]] name = "tls" path = "tests/tls.rs" [[test]] name = "utils" path = "tests/utils.rs" [[test]] name = "webdav" path = "tests/webdav.rs" [dependencies.alphanumeric-sort] version = "1.4" [dependencies.anyhow] version = "1.0" [dependencies.async-stream] version = "0.3" [dependencies.async_zip] version = "0.0.17" features = [ "deflate", "bzip2", "xz", "chrono", "tokio", ] default-features = false [dependencies.base64] version = "0.22" [dependencies.bytes] version = "1.5" [dependencies.chardetng] version = "0.1" [dependencies.chrono] version = "0.4" features = ["clock"] default-features = false [dependencies.clap] version = "4.5" features = [ "wrap_help", "env", ] [dependencies.clap_complete] version = "4.5" [dependencies.content_inspector] version = "0.2" [dependencies.form_urlencoded] version = "1.2" [dependencies.futures-util] version = "0.3" features = ["alloc"] default-features = false [dependencies.glob] version = "0.3" [dependencies.headers] version = "0.4" [dependencies.http-body-util] version = "0.1" [dependencies.hyper] version = "1" features = [ "http1", "server", ] [dependencies.hyper-util] version = "0.1" features = [ "server-auto", "tokio", ] [dependencies.if-addrs] version = "0.13" [dependencies.indexmap] version = "2.2" [dependencies.lazy_static] version = "1.4" [dependencies.log] version = "0.4" features = ["std"] [dependencies.md5] version = "0.7" [dependencies.mime_guess] version = "2.0" [dependencies.percent-encoding] version = "2.3" [dependencies.pin-project-lite] version = "0.2" [dependencies.rustls-pemfile] version = "2.0" optional = true [dependencies.rustls-pki-types] version = "1.2" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.serde_yaml] version = "0.9" [dependencies.sha-crypt] version = "0.5" [dependencies.sha2] version = "0.10.8" [dependencies.smart-default] version = "0.7" [dependencies.socket2] version = "0.5" [dependencies.tokio] version = "1" features = [ "rt-multi-thread", "macros", "fs", "io-util", "signal", ] [dependencies.tokio-rustls] version = "0.26" features = [ "ring", "tls12", ] optional = true default-features = false [dependencies.tokio-util] version = "0.7" features = [ "io-util", "compat", ] [dependencies.urlencoding] version = "2.1" [dependencies.uuid] version = "1.7" 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.digest_auth] version = "0.3.1" [dev-dependencies.port_check] version = "0.2" [dev-dependencies.predicates] version = "3" [dev-dependencies.regex] version = "1" [dev-dependencies.reqwest] version = "0.12" features = [ "blocking", "multipart", "rustls-tls", ] default-features = false [dev-dependencies.rstest] version = "0.23" [dev-dependencies.url] version = "2" [features] default = ["tls"] tls = [ "rustls-pemfile", "tokio-rustls", ]