@@ -33,16 +33,16 @@ in the dependency tree. Otherwise conflicting C exports are created.
33
33
34
34
The library comes with the following features:
35
35
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 |
46
46
47
47
## The cosmwasm-std dependency for contract developers
48
48
@@ -78,13 +78,13 @@ might move certain existing functionality to that feature in the future.
78
78
79
79
Also libraries should define a loose version range that allows the contract
80
80
developer 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.
83
83
84
84
A typical dependency then looks like this:
85
85
86
86
``` 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.
88
88
# `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" ] }
90
90
```
0 commit comments