forked from rustls/rcgen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
62 lines (52 loc) · 1.61 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
[package]
name = "rcgen"
version = "0.13.0"
documentation = "https://docs.rs/rcgen"
description.workspace = true
repository.workspace = true
readme.workspace = true
license.workspace = true
edition.workspace = true
keywords.workspace = true
[[example]]
name = "rsa-irc"
required-features = ["pem"]
[[example]]
name = "rsa-irc-openssl"
required-features = ["pem"]
[[example]]
name = "sign-leaf-with-ca"
required-features = ["pem", "x509-parser"]
[[example]]
name = "simple"
required-features = ["crypto"]
[dependencies]
aws-lc-rs = { version = "1.0.0", optional = true }
yasna = { version = "0.5.2", features = ["time", "std"] }
ring = { workspace = true, optional = true }
pem = { workspace = true, optional = true }
time = { version = "0.3.6", default-features = false }
x509-parser = { workspace = true, features = ["verify"], optional = true }
zeroize = { version = "1.2", optional = true }
[features]
default = ["crypto", "pem", "ring"]
crypto = []
aws_lc_rs = ["crypto", "dep:aws-lc-rs"]
ring = ["crypto", "dep:ring"]
less-safe-getrandom-custom-or-rdrand = ["ring/less-safe-getrandom-custom-or-rdrand"]
[package.metadata.docs.rs]
features = ["x509-parser"]
[package.metadata.cargo_check_external_types]
allowed_external_types = [
"time::offset_date_time::OffsetDateTime",
"zeroize::Zeroize"
]
[dev-dependencies]
openssl = "0.10"
pki-types = { package = "rustls-pki-types", version = "1" }
x509-parser = { workspace = true, features = ["verify"] }
rustls-webpki = { version = "0.102", features = ["std"] }
botan = { version = "0.10", features = ["vendored"] }
rand = { workspace = true }
rsa = "0.9"
ring = { workspace = true }