# 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" rust-version = "1.66" name = "vacuna" version = "0.2.0" authors = ["tglman "] description = "Simple web server for static files" readme = "README.md" keywords = [ "http", "web", "server", "static", ] categories = ["web-programming::http-server"] license = "Apache-2.0" repository = "https://gitlab.com/tglman/vacuna" [package.metadata.deb] assets = [ [ "target/release/vacuna", "usr/bin/vacuna", "755", ], [ "default-conf.kdl", "/etc/vacuna/conf.kdl", "644", ], ] conf-files = ["/etc/vacuna/conf.kdl"] depends = "$auto" extended-description = "Simple web server for host simple static self-hostable site." features = ["main"] maintainer-scripts = "systemd/" priority = "optional" section = "utility" separate-debug-symbols = true [package.metadata.deb.systemd-units] enable = false [dependencies.actix-files] version = "0.6" [dependencies.actix-rt] version = "2.9" [dependencies.actix-web] version = "4.4" features = [ "rustls-0_21", "compress-brotli", "compress-gzip", "compress-zstd", ] [dependencies.awc] version = "3.2" features = ["rustls-0_21"] [dependencies.clap] version = "4.4" features = ["derive"] optional = true [dependencies.futures-util] version = "0.3" features = ["std"] default-features = false [dependencies.knuffel] version = "3.2.0" [dependencies.log] version = "0.4" [dependencies.miette] version = "5.10" features = ["fancy"] [dependencies.regex] version = "1.10" [dependencies.rustls] version = "0.21" [dependencies.rustls-pemfile] version = "1" [dependencies.rustls-pki-types] version = "1.0" [dependencies.rustls-webpki] version = "0.102" [dependencies.time] version = "0.3" features = ["formatting"] default-features = false [dependencies.tracing] version = "0.1" [dependencies.tracing-subscriber] version = "0.3" optional = true [dependencies.url] version = "2.4" [dev-dependencies.actix-test] version = "0.1" [dev-dependencies.awc] version = "3.2" features = ["rustls"] [dev-dependencies.capture-logger] version = "0.1" [dev-dependencies.pretty_env_logger] version = "0.5" [features] main = [ "dep:clap", "dep:tracing-subscriber", ] [badges.gitlab] branch = "master" repository = "tglman/persy" [badges.maintenance] status = "actively-developed"