Cargo Features
[dependencies]
netxclient = { version = "2.2.0", default-features = false, features = ["use_openssl", "use_rustls", "dserde", "jserde", "backtrace", "tcpclient", "tcp-channel-client"] }
- default = tcpclient
-
The
tcpclientfeature is set by default whenevernetxclientis added withoutsomewhere in the dependency tree.default-features = false - use_openssl = openssl, openssl-sys, tokio-openssl
- use_rustls = tokio-rustls
- dserde
- jserde
- backtrace
-
anyhow:
THIS HAS NO EFFECT. This feature remains to preserve compatibility with the old
backtraceoptional dependency that this crate used to have.
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?