Cargo Features
[dependencies]
scrypto-test = { version = "1.2.0", default-features = false, features = ["std", "alloc", "moka", "lru", "resource_tracker", "rocksdb", "post_run_db_check", "coverage"] }
- default = std
-
The
std
feature is set by default wheneverscrypto-test
is added without
somewhere in the dependency tree.default-features = false - std default = moka
-
Enables std of radix-common, radix-engine, radix-engine-interface, radix-native-sdk, radix-substate-store-impls, radix-substate-store-interface, radix-substate-store-queries, radix-transactions, sbor, and scrypto-compiler
sbor:
The Radix Engine Stack
- alloc = lru
-
Enables alloc of radix-common, radix-engine, radix-engine-interface, radix-native-sdk, radix-substate-store-impls, radix-substate-store-interface, radix-substate-store-queries, radix-transactions, sbor, and scrypto-compiler
- moka std
-
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 alloc?
-
Enables lru of radix-engine
- resource_tracker
-
Enables resource_tracker of radix-common and radix-engine
- rocksdb
-
Enables rocksdb of radix-substate-store-impls
- post_run_db_check
- coverage
-
Enables coverage of radix-common and radix-engine
radix-engine:
This flag disables package size limit, memory size limit and fee limit