Cargo Features
[dependencies]
radix-substate-store-queries = { version = "1.2.0", default-features = false, features = ["std", "alloc", "moka", "lru"] }
- default = moka, std
-
You should enable either
std
oralloc
- std default
-
Enables std of hex, radix-common, radix-engine, radix-engine-interface, radix-rust, radix-substate-store-interface, radix-transactions, and sbor
sbor:
preserve_order requires std
- alloc
-
Enables alloc of hex, radix-common, radix-engine, radix-engine-interface, radix-rust, radix-substate-store-interface, radix-transactions, and sbor
- moka default
-
Enables moka of radix-engine
radix-engine:
Two features for the two possible libraries to use for caching. Moka is not WASM friendly while LRU is. One of these two features must be enabled.
- lru
-
Enables lru of radix-engine