Cargo Features
[dependencies]
tencentcloud = { version = "0.2.2", default-features = false, features = ["tokio-rustls-tls", "tokio-native-tls", "async-std-rustls-tls", "async-std-native-tls"] }
- default = tokio-rustls-tls
-
The
tokio-rustls-tls
feature is set by default whenevertencentcloud
is added without
somewhere in the dependency tree.default-features = false - tokio-rustls-tls default
-
Enables hyper-rustls ^0.24
tokio rustls or native-tls
Affects
http_client::HttpClient
,http_client::new_http_client
… - tokio-native-tls
-
Enables tokio-native-tls, tcp of hyper ^0.14, net of tokio and native-tls
make sure we can set alpn
Affects
http_client::HttpClient
,http_client::new_http_client
… - async-std-rustls-tls
-
Enables async-std, futures-rustls ^0.24, rustls-native-certs ^0.6, tokio, and tokio-util
async-std:
async-std rustls or native-tls
Affects
http_client::HttpClient
,http_client::new_http_client
… - async-std-native-tls
-
Enables async-native-tls, async-std, tokio, and tokio-util
Affects
http_client::HttpClient
,http_client::new_http_client
…