# 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 = "acme-redirect" version = "0.7.0" authors = ["kpcyrd "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Tiny http daemon that answers acme challenges and redirects everything else to https" readme = "README.md" license = "GPL-3.0-or-later" repository = "https://github.com/kpcyrd/acme-redirect" [package.metadata.deb] assets = [ [ "target/release/acme-redirect", "usr/bin/", "755", ], [ "contrib/confs/acme-redirect.conf", "etc/", "644", ], [ "contrib/confs/certs.d/example.com.conf", "etc/acme-redirect.d/example.com.conf.sample", "644", ], [ "contrib/systemd/acme-redirect-renew.service", "usr/lib/systemd/system/", "644", ], [ "contrib/systemd/acme-redirect-renew.timer", "usr/lib/systemd/system/", "644", ], [ "contrib/systemd/acme-redirect.service", "usr/lib/systemd/system/", "644", ], [ "contrib/systemd/acme-redirect.sysusers", "usr/lib/sysusers.d/acme-redirect.conf", "644", ], [ "contrib/systemd/acme-redirect.tmpfiles", "usr/lib/tmpfiles.d/acme-redirect.conf", "644", ], ] extended-description = """ acme-redirect is a tiny http server that implements the ACME (Automated Certificate Management Environment) protocol and redirects everything else to https. It can run directly on port 80 and supports automatic issuance and renew of certificates out of the box with minimal configuration.""" maintainer-scripts = "debian" priority = "optional" section = "web" [lib] name = "acme_redirect" path = "src/lib.rs" [[bin]] name = "acme-redirect" path = "src/main.rs" [[example]] name = "boxxy" path = "examples/boxxy.rs" [dependencies.acme-micro] version = "0.13" [dependencies.actix-web] version = "4" [dependencies.anyhow] version = "1.0.28" [dependencies.clap] version = "4.0.32" features = [ "derive", "env", ] [dependencies.clap_complete] version = "4.0.7" [dependencies.colored] version = "2" [dependencies.config] version = "0.14" features = ["toml"] default-features = false [dependencies.env_logger] version = "0.11" [dependencies.log] version = "0.4.8" [dependencies.nix] version = "0.29" features = [ "fs", "user", ] [dependencies.pem] version = "3" [dependencies.rand] version = "0.8" [dependencies.serde] version = "1.0.106" [dependencies.serde_json] version = "1" [dependencies.time] version = "0.3" features = [ "formatting", "macros", ] [dependencies.toml] version = "0.8" [dependencies.ureq] version = "2" [dependencies.uzers] version = "0.12" [dependencies.x509-parser] version = "0.16.0" [dev-dependencies.boxxy] version = "0.13" [features] vendored = ["acme-micro/vendored"] [target.'cfg(target_os="linux")'.dependencies.caps] version = "0.5"