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
somewhere in the dependency tree.default-features = false - 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 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. These features may have been created by mistake, and this functionality may be removed in the future.
- sha1_smol script
-
Enables sha1_smol
We need this for script support
- bytes aio?
-
Enables bytes
Only needed for AIO
- futures-util aio?
- pin-project-lite aio?
- tokio-util_wasi aio?
- tokio_wasi aio? tokio-comp?
- arc-swap connection-manager?
-
Enables arc-swap
Only needed for the connection manager
- futures connection-manager?
- r2d2 implicit feature
-
Enables r2d2
Only needed for the r2d2 feature
- crc16 cluster?
-
Enables crc16
Only needed for cluster
- rand cluster?
- async-std async-std-comp?
-
Enables async-std
Only needed for async_std support
- async-trait aio?
- native-tls tls?
-
Enables native-tls
Only needed for TLS
- tokio-native-tls tokio-native-tls-comp?
- async-native-tls async-std-tls-comp?
-
Enables async-native-tls ^0.4
- serde json?
-
Enables serde
Only needed for RedisJSON Support
- serde_json json?
- ahash implicit feature
-
Enables ahash ^0.7.6
Optional aHash support