Cargo Features

[dependencies]
netxserver = { version = "2.1.1", default-features = false, features = ["use_openssl", "use_rustls", "dserde", "jserde", "backtrace", "tcpserver", "tcp-channel-server"] }
default = tcpserver

The tcpserver feature is set by default whenever netxserver 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

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.

tcpserver default

Affects impl_server::NetPeer

tcp-channel-server implicit feature

Enables tcp-channel-server

tcp-channel-server:

rust tcp channel server frame

Affects impl_server::NetPeer

openssl use_openssl?
openssl-sys use_openssl?
tokio-openssl use_openssl?
tokio-rustls use_rustls?