Cargo Features
[dependencies]
cw-storage-plus = { version = "2.0.0", default-features = false, features = ["iterator", "macro"] }
- default = iterator
-
The
iterator
feature is set by default whenevercw-storage-plus
is added without
somewhere in the dependency tree.default-features = false - iterator default
-
Enables iterator of cosmwasm-std
cosmwasm-std:
iterator allows us to iterate over all DB items in a given range optional as some merkle stores (like tries) don't support this given Ethereum 1.0, 2.0, Substrate, and other major projects use Tries we keep this optional, to allow possible future integration (or different Cosmos Backends)
- macro = cw-storage-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.