Cargo Features
[dependencies]
aerospike = { version = "2.0.0-alpha.3", default-features = false, features = ["serialization", "async", "sync", "rt-tokio", "rt-async-std"] }
- default = async, rt-tokio, serialization
-
These default features are set whenever
aerospike
is added without
somewhere in the dependency tree.default-features = false - serialization default
-
Enables serialization of aerospike-core
- async default = aerospike-core
- sync = aerospike-sync
- rt-tokio default
-
Enables rt-tokio of aerospike-core and aerospike-macro
- rt-async-std
-
Enables rt-async-std of aerospike-core and aerospike-macro
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.