Cargo Features

[dependencies]
redis_wasi = { version = "0.22.3", default-features = false, features = ["acl", "aio", "geospatial", "json", "cluster", "script", "tls", "async-std-comp", "async-std-tls-comp", "tokio-comp", "tokio-native-tls-comp", "connection-manager", "streams", "r2d2", "ahash"] }
default = acl, geospatial, script, streams

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

acl default

Affects redis_wasi::acl

aio async-std-comp? connection-manager? tokio-comp? = async-trait, bytes, futures-util, pin-project-lite, tokio-util_wasi

Enables tokio_wasi of combine_wasi, alloc and sink of futures-util, codec of tokio-util_wasi, io-util and sync of tokio_wasi

Affects cmd::AsyncIter, redis_wasi::aio, types::RedisFuture

geospatial default

Affects redis_wasi::geo

json = serde, serde_json
cluster = crc16, rand

Affects redis_wasi::cluster

script default = sha1_smol
tls async-std-tls-comp? tokio-native-tls-comp? = native-tls
async-std-comp async-std-tls-comp? = aio, async-std

Affects aio::async_std

async-std-tls-comp = async-native-tls, async-std-comp, tls
tokio-comp = aio, tokio_wasi

Enables net of tokio_wasi

Affects aio::tokio

tokio-native-tls-comp = tls, tokio-native-tls
connection-manager = aio, arc-swap, futures
streams default

Affects redis_wasi::streams

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

sha1_smol script

bytes aio?

With default (std)

futures-util aio?
pin-project-lite aio?
tokio-util_wasi aio?
tokio_wasi tokio-comp?

With rt and net

arc-swap connection-manager?

futures connection-manager?

With default features

r2d2 implicit feature

crc16 cluster?

rand cluster?

With default features

async-std async-std-comp?

With default features

async-trait aio?
native-tls tls?

tokio-native-tls tokio-native-tls-comp?
async-native-tls async-std-tls-comp?

Enables default (runtime-async-std) of async-native-tls ^0.4

serde json?

With default (std)

serde_json json?

With default (std)

ahash implicit feature

Enables default (std) of ahash ^0.7.6

Optional aHash support