Cargo Features
[dependencies]
redis-om = { version = "0.1.0", default-features = false, features = ["json", "aio", "tokio-comp", "async-std-comp", "tls", "tokio-native-tls-comp", "async-std-tls-comp"] }
- default = tokio-comp
-
The
tokio-comp
feature is set by default wheneverredis-om
is added without
somewhere in the dependency tree.default-features = false - json = serde, serde_json
-
Enables json model support
Enables json of redis ^0.22.1 and redis-om-macros
- aio async-std-comp? tokio-comp = async-trait, futures
-
! ### Internal features
Enables aio (used in tokio-native-tls-comp, tokio-comp)Enables aio of redis ^0.22.1 and redis-om-macros
- tokio-comp default = aio
-
Enables async-tokio support
Enables tokio-comp of redis ^0.22.1
- async-std-comp = aio
-
Enables async-std support
Enables async-std-comp of redis ^0.22.1
- tls
-
Enables tls support
Enables tls of redis ^0.22.1
- tokio-native-tls-comp
-
Enables async-tokio with tls support
Enables tokio-native-tls-comp of redis ^0.22.1
- async-std-tls-comp
-
Enables async-std with tls support
Enables async-std-tls-comp of redis ^0.22.1
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.