Cargo Features

[dependencies]
stretto = { version = "0.8.4", default-features = false, features = ["full", "async", "sync", "serde"] }
default = sync

The sync feature is set by default whenever stretto is added without default-features = false somewhere in the dependency tree.

full = async, serde, sync
async full? = async-channel, async-io

Enables futures, future of wg

Affects ring::AsyncRingStripe

sync default full? = crossbeam-channel

Affects ring::RingStripe

serde full?

Enables serde and serde_json

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.

async-channel async?
async-io async?
crossbeam-channel sync
futures async?