forked from kpcyrd/acme-redirect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
59 lines (52 loc) · 1.85 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[package]
name = "acme-redirect"
version = "0.5.1"
description = "Tiny http daemon that answers acme challenges and redirects everything else to https"
authors = ["kpcyrd <[email protected]>"]
license = "GPL-3.0"
repository = "https://github.com/kpcyrd/acme-redirect"
readme = "README.md"
edition = "2018"
[package.metadata.deb]
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."""
section = "web"
priority = "optional"
build-depends = "pkg-config, libssl-dev"
maintainer-scripts = "debian"
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"],
]
[dependencies]
acme-micro = "0.11"
structopt = "0.3.14"
anyhow = "1.0.28"
env_logger = "0.8"
log = "0.4.8"
serde = "1.0.106"
toml = "0.5.6"
actix-web = "3"
openssl = "0.10.29"
time = "0.1"
colored = "2"
nix = "0.20"
users = "0.11"
rand = "0.8"
ureq = "1.1.1"
pem = "0.8"
config = { version = "0.11", default-features = false, features = ["toml"] }
serde_json = "1"
[target.'cfg(target_os="linux")'.dependencies]
caps = "0.5"
[dev-dependencies]
boxxy = "0.11.0"