Cargo Features
[dependencies]
netxclient = { version = "2.1.0", default-features = false, features = ["use_openssl", "use_rustls", "dserde", "jserde", "backtrace", "tcpclient", "tcp-channel-client"] }
- default = tcpclient
-
The
tcpclient
feature is set by default whenevernetxclient
is added without
somewhere in the dependency tree.default-features = false - use_openssl = openssl, openssl-sys, tokio-openssl
- use_rustls = tokio-rustls
- dserde
- jserde
- backtrace
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- tcpclient default
-
Affects
impl_client::NetPeer
… - tcp-channel-client implicit feature
-
Enables tcp-channel-client
tcp-channel-client:
Asynchronous tcpclient based on aqueue actor
Affects
impl_client::NetPeer
… - openssl use_openssl?
- openssl-sys use_openssl?
- tokio-openssl use_openssl?
- tokio-rustls use_rustls?