Skip to content

Commit 9f03d77

Browse files
committed
Add std feature
1 parent 632b8c2 commit 9f03d77

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/std/Cargo.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,13 @@ readme = "README.md"
1212
features = ["abort", "stargate", "staking", "cosmwasm_1_4"]
1313

1414
[features]
15-
default = ["iterator", "abort"]
15+
default = ["iterator", "abort", "std"]
1616
abort = []
17+
# This feature is currently unused, but might be used in the future to replace internal
18+
# implementation details with no_std compatible ones or feature-gate functionality
19+
# that is only available in std environments.
20+
# You probably want to keep this enabled for now to avoid breaking changes later.
21+
std = []
1722
# iterator allows us to iterate over all DB items in a given range
1823
# optional as some merkle stores (like tries) don't support this
1924
# given Ethereum 1.0, 2.0, Substrate, and other major projects use Tries

0 commit comments

Comments
 (0)