-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCargo.toml
85 lines (73 loc) · 2.43 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[package]
name = "tokio-rustls-acme"
version = "0.6.0"
authors = [
"dignifiedquire <[email protected]>",
"Florian Uekermann <[email protected]>",
]
edition = "2018"
description = "Automatic TLS certificate management using rustls"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/n0-computer/tokio-rustls-acme"
documentation = "https://docs.rs/tokio-rustls-acme"
keywords = ["acme", "rustls", "tls", "letsencrypt"]
categories = ["asynchronous", "cryptography", "network-programming"]
[dependencies]
futures = "0.3.21"
rcgen = "0.13"
serde_json = "1.0.81"
serde = { version = "1.0.137", features = ["derive"] }
ring = { version = "0.17.0", features = ["std"] }
base64 = "0.22"
log = "0.4.17"
webpki-roots = "0.26"
pem = "3.0"
thiserror = "2.0"
x509-parser = "0.16"
chrono = { version = "0.4.24", default-features = false, features = ["clock"] }
async-trait = "0.1.53"
rustls = { version = "0.23", default-features = false, features = ["ring"] }
time = "0.3.36" # force the transitive dependency to a more recent minimal version. The build fails with 0.3.20
tokio = { version = "1.20.1", default-features = false }
tokio-rustls = { version = "0.26", default-features = false, features = [
"tls12",
] }
reqwest = { version = "0.12", default-features = false, features = [
"rustls-tls",
] }
# Axum
axum-server = { version = "0.7", features = ["tokio-rustls"], optional = true }
[dependencies.proc-macro2]
# This is a transitive dependency, we specify it to make sure we have
# a recent-enough version so that -Z minimal-versions crate resolution
# works.
version = "1.0.78"
[dependencies.num-bigint]
# This is a transitive dependency, we specify it to make sure we have
# a recent-enough version so that -Z minimal-versions crate resolution
# works.
version = "0.4.4"
[dev-dependencies]
simple_logger = "5.0"
structopt = "0.3.26"
clap = { version = "4", features = ["derive"] }
axum = "0.7"
tokio = { version = "1.19.2", features = ["full"] }
tokio-stream = { version = "0.1.9", features = ["net"] }
tokio-util = { version = "0.7.3", features = ["compat"] }
warp = "0.3"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "doc_auto_cfg"]
[features]
default = []
axum = ["dep:axum-server"]
[[example]]
name = "low_level_axum"
required-features = ["axum"]
[[example]]
name = "high_level_warp"
[[example]]
name = "high_level"
[[example]]
name = "low_level"