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 whenevernetxserver
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.
- 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?