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