-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
59 lines (48 loc) · 1.63 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 = "rustls-connector"
version = "0.21.4"
authors = ["Marc-Antoine Perennou <[email protected]>"]
edition = "2021"
description = "Connector similar to openssl or native-tls for rustls"
repository = "https://github.com/amqp-rs/rustls-connector"
documentation = "https://docs.rs/rustls-connector"
keywords = ["tls", "rustls"]
categories = ["network-programming"]
license = "BSD-2-Clause"
rust-version = "1.74.0"
[lib]
name = "rustls_connector"
[features]
default = ["native-certs", "rustls--aws_lc_rs" ]
logging = ["rustls/logging"]
native-certs = ["dep:log", "dep:rustls-native-certs"]
webpki-roots-certs = ["dep:webpki-roots"]
# rustls crypto providers. Choose at least one. Otherwise, runtime errors.
# See https://docs.rs/rustls/latest/rustls/#crate-features. for more info
rustls--aws_lc_rs = ["rustls/aws_lc_rs"] # default, but doesn't build everywhere
rustls--ring = ["rustls/ring"] # more compatible, (e.g., easily builds on Windows)
[dependencies.log]
version = "^0.4"
optional = true
[dependencies.rustls]
version = "^0.23"
default-features = false
features = ["std", "tls12"]
[dependencies.rustls-native-certs]
version = "^0.8"
optional = true
[dependencies.rustls-pki-types]
version = "^1.4"
default-features = false
features = ["std"]
[dependencies.rustls-webpki]
version = "^0.102"
default-features = false
features = ["std"]
[dependencies.webpki-roots]
version = "^0.26"
optional = true
[package.metadata.docs.rs]
all-features = true
[badges]
maintenance = { status = "actively-developed" }