# 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 = "miniserve" version = "0.28.0" authors = [ "Sven-Hendrik Haase ", "Boastful Squirrel ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "For when you really just want to serve some files over HTTP right now!" readme = "README.md" keywords = [ "serve", "http-server", "static-files", "http", "server", ] categories = [ "command-line-utilities", "network-programming", "web-programming::http-server", ] license = "MIT" repository = "https://github.com/svenstaro/miniserve" resolver = "2" [profile.release] opt-level = "z" lto = true codegen-units = 1 panic = "abort" strip = true [[bin]] name = "miniserve" path = "src/main.rs" [[test]] name = "archive" path = "tests/archive.rs" [[test]] name = "auth" path = "tests/auth.rs" [[test]] name = "auth_file" path = "tests/auth_file.rs" [[test]] name = "bind" path = "tests/bind.rs" [[test]] name = "cli" path = "tests/cli.rs" [[test]] name = "create_directories" path = "tests/create_directories.rs" [[test]] name = "header" path = "tests/header.rs" [[test]] name = "navigation" path = "tests/navigation.rs" [[test]] name = "qrcode" path = "tests/qrcode.rs" [[test]] name = "raw" path = "tests/raw.rs" [[test]] name = "readme" path = "tests/readme.rs" [[test]] name = "serve_request" path = "tests/serve_request.rs" [[test]] name = "tls" path = "tests/tls.rs" [[test]] name = "upload_files" path = "tests/upload_files.rs" [dependencies.actix-files] version = "0.6.5" [dependencies.actix-multipart] version = "0.7" [dependencies.actix-web] version = "4" features = [ "macros", "compress-brotli", "compress-gzip", "compress-zstd", ] default-features = false [dependencies.actix-web-httpauth] version = "0.8" [dependencies.alphanumeric-sort] version = "1" [dependencies.anyhow] version = "1" [dependencies.bytesize] version = "1" [dependencies.chrono] version = "0.4" [dependencies.chrono-humanize] version = "0.2" [dependencies.clap] version = "4" features = [ "derive", "cargo", "wrap_help", "deprecated", "env", ] [dependencies.clap_complete] version = "4" [dependencies.clap_mangen] version = "0.2" [dependencies.colored] version = "2" [dependencies.comrak] version = "0.28" default-features = false [dependencies.fast_qr] version = "0.12" features = ["svg"] [dependencies.futures] version = "0.3" [dependencies.grass] version = "0.13" features = ["macro"] default-features = false [dependencies.hex] version = "0.4" [dependencies.httparse] version = "1" [dependencies.if-addrs] version = "0.13" [dependencies.libflate] version = "2" [dependencies.log] version = "0.4" [dependencies.maud] version = "0.26" [dependencies.mime] version = "0.3" [dependencies.nanoid] version = "0.4" [dependencies.percent-encoding] version = "2" [dependencies.port_check] version = "0.2" [dependencies.regex] version = "1" [dependencies.rustls] version = "0.23" features = ["ring"] optional = true default-features = false [dependencies.rustls-pemfile] version = "2" optional = true [dependencies.serde] version = "1" features = ["derive"] [dependencies.sha2] version = "0.10" [dependencies.simplelog] version = "0.12" [dependencies.socket2] version = "0.5" [dependencies.strum] version = "0.26" features = ["derive"] [dependencies.tar] version = "0.4" [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1.40.0" features = ["fs"] [dependencies.zip] version = "2" default-features = false [dev-dependencies.assert_cmd] version = "2" [dev-dependencies.assert_fs] version = "1" [dev-dependencies.predicates] version = "3" [dev-dependencies.pretty_assertions] version = "1.2" [dev-dependencies.regex] version = "1" [dev-dependencies.reqwest] version = "0.12" features = [ "blocking", "multipart", "rustls-tls", ] default-features = false [dev-dependencies.rstest] version = "0.22" [dev-dependencies.select] version = "0.6" [dev-dependencies.url] version = "2" [features] default = ["tls"] tls = [ "rustls", "rustls-pemfile", "actix-web/rustls-0_23", ] [target."cfg(not(windows))".dev-dependencies.fake-tty] version = "0.3.1"