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 tcpclient feature is set by default whenever netxclient is added without default-features = false somewhere in the dependency tree.

use_openssl = openssl, openssl-sys, tokio-openssl
use_rustls = tokio-rustls
dserde

Enables data of data-rw

jserde

Enables json of data-rw

backtrace

Enables backtrace of anyhow

anyhow:

THIS HAS NO EFFECT. This feature remains to preserve compatibility with the old backtrace optional 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?