@@ -33,16 +33,16 @@ in the dependency tree. Otherwise conflicting C exports are created.
3333
3434The library comes with the following features:
3535
36- | Feature | Enabled by default | Description |
37- | ------------ | ------------------ | ------------------------------------------------------------------------------------ |
38- | iterator | x | Storage iterators |
39- | abort | x | DEPRECATED A panic handler that aborts the contract execution with a helpful message |
40- | stargate | | Cosmos SDK 0.40+ features and IBC |
41- | staking | | Access to the staking module |
42- | cosmwasm_1_1 | | Features that require CosmWasm 1.1+ on the chain |
43- | cosmwasm_1_2 | | Features that require CosmWasm 1.2+ on the chain |
44- | cosmwasm_1_3 | | Features that require CosmWasm 1.3+ on the chain |
45- | cosmwasm_1_4 | | Features that require CosmWasm 1.4+ on the chain |
36+ | Feature | Enabled by default | Description |
37+ | ------------ | ------------------ | -------------------------------------------------------------------------------- |
38+ | exports | x | Adds exports and imports needed for basic communication between contract and VM. |
39+ | iterator | x | Storage iterators |
40+ | stargate | | Cosmos SDK 0.40+ features and IBC |
41+ | staking | | Access to the staking module |
42+ | cosmwasm_1_1 | | Features that require CosmWasm 1.1+ on the chain |
43+ | cosmwasm_1_2 | | Features that require CosmWasm 1.2+ on the chain |
44+ | cosmwasm_1_3 | | Features that require CosmWasm 1.3+ on the chain |
45+ | cosmwasm_1_4 | | Features that require CosmWasm 1.4+ on the chain |
4646
4747## The cosmwasm-std dependency for contract developers
4848
@@ -78,13 +78,13 @@ might move certain existing functionality to that feature in the future.
7878
7979Also libraries should define a loose version range that allows the contract
8080developer to control which cosmwasm-std version they want to use in the final
81- project. E.g. if your library does not work with 1 .0.0 due to a bug fixed in
82- 1 .0.1, your min version is 1 .0.1 and not the latest stable.
81+ project. E.g. if your library does not work with 3 .0.0 due to a bug fixed in
82+ 3 .0.1, your min version is 3 .0.1 and not the latest stable.
8383
8484A typical dependency then looks like this:
8585
8686``` toml
87- # We really need `stargate` here as this is an IBC related library. `abort ` and `iterator` are not needed.
87+ # We really need `stargate` here as this is an IBC related library. `exports ` and `iterator` are not needed.
8888# `std` should always stay enabled.
89- cosmwasm-std = { version = " 1 .0.1" , default-features = false , features = [" std" , " stargate" ] }
89+ cosmwasm-std = { version = " 3 .0.1" , default-features = false , features = [" std" , " stargate" ] }
9090```
0 commit comments