-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
59 lines (48 loc) · 1.89 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 = "tcp-stream"
version = "0.29.2"
authors = ["Marc-Antoine Perennou <[email protected]>"]
edition = "2021"
description = "std::net::TcpStream on steroids"
repository = "https://github.com/amqp-rs/tcp-stream"
documentation = "https://docs.rs/tcp-stream"
keywords = ["tcp", "io", "async", "non-blocking"]
categories = ["asynchronous", "network-programming"]
license = "BSD-2-Clause"
rust-version = "1.74.0"
[lib]
name = "tcp_stream"
[features]
default = ["rustls-native-certs", "rustls--aws_lc_rs"]
native-tls = ["dep:native-tls", "dep:rustls-pemfile"]
openssl = ["dep:openssl"]
rustls-webpki-roots-certs = ["rustls-common", "rustls-connector/webpki-roots-certs"]
rustls-native-certs = ["rustls-common", "rustls-connector/native-certs"]
rustls-common = ["dep:rustls-connector", "dep:rustls-pemfile", "dep:p12-keystore"]
vendored-openssl = ["openssl", "openssl/vendored"]
# 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 = ["dep:rustls-connector", "rustls-connector/rustls--aws_lc_rs"] # default, but doesn't build everywhere
rustls--ring = ["dep:rustls-connector", "rustls-connector/rustls--ring"] # more compatible, (e.g., easily builds on Windows)
[dependencies]
cfg-if = "^1.0"
[dependencies.native-tls]
version = "^0.2"
optional = true
[dependencies.openssl]
version = "^0.10"
optional = true
[dependencies.p12-keystore]
version = "^0.1"
optional = true
[dependencies.rustls-pemfile]
version = "^2.0"
optional = true
[dependencies.rustls-connector]
version = "^0.21"
optional = true
default-features = false
[package.metadata.docs.rs]
all-features = true
[badges]
maintenance = { status = "actively-developed" }