Cargo Features

nut-client has no features set by default.

[dependencies]
nut-client = { version = "0.4.2", features = ["ssl", "async", "async-ssl", "async-rt"] }
ssl async-ssl? = rustls, webpki, webpki-roots

Enables dangerous_configuration of rustls ^0.19

async async-rt? async-ssl? = tokio

Affects nut-client::tokio

async-ssl = async, ssl, tokio-rustls
async-rt = async

a feature gate for examples

Enables macros and rt-multi-thread of tokio

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.

rustls ssl?

Enables rustls ^0.19

webpki ssl?

Enables webpki ^0.21

webpki-roots ssl?

Enables webpki-roots ^0.21

tokio async? async-rt?
tokio-rustls async-ssl?

Enables tokio-rustls ^0.22