Cargo Features

[dependencies]
smb-transport = { version = "0.11.1", default-features = false, features = ["async", "is_sync", "netbios-transport", "quic", "rdma"] }
default = async, netbios-transport

These default features are set whenever smb-transport is added without default-features = false somewhere in the dependency tree.

async default = futures-core, futures-util, tokio, tokio-util

Affects traits::SmbTransport.connect, traits::SmbTransportWrite.send_raw, traits::SmbTransportWrite.send, traits::SmbTransportWriteExt.send, traits::SmbTransportRead.receive_exact, traits::SmbTransportRead.receive, traits::SmbTransportReadExt.receive

is_sync

Enables is_sync of maybe-async

netbios-transport default

Affects smb-transport::netbios

quic

Enables quinn, rustls, and rustls-platform-verifier

quinn:

QUIC

Affects smb-transport::quic

rdma

Enables smb-msg

Affects smb-transport::rdma, config::RdmaConfig

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.

tokio async
tokio-util async
futures-core async
futures-util async