From ee94039e7c08c7bc22cc80b5865874a76dacd56d Mon Sep 17 00:00:00 2001 From: Cashmaney Date: Tue, 2 May 2023 14:53:32 +0300 Subject: [PATCH] Update Cargo.toml --- packages/std-compat/Cargo.toml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/packages/std-compat/Cargo.toml b/packages/std-compat/Cargo.toml index 5318b547c0..ee88e0345e 100644 --- a/packages/std-compat/Cargo.toml +++ b/packages/std-compat/Cargo.toml @@ -16,20 +16,22 @@ iterator = ["secret-cosmwasm-std/iterator"] # staking exposes bindings to a required staking moudle in the runtime, via new # CosmosMsg types, and new QueryRequest types. This should only be enabled on contracts # that require these types, so other contracts can be used on systems with eg. PoA consensus -staking = [] +staking = ["secret-cosmwasm-std/staking"] # backtraces provides much better context at runtime errors (in non-wasm code) # at the cost of a bit of code size and performance. # This feature requires Rust nightly because it depends on the unstable backtrace feature. -backtraces = [] +backtraces = ["secret-cosmwasm-std/backtraces"] # stargate enables stargate-dependent messages and queries, like raw protobuf messages # as well as ibc-related functionality -stargate = [] +stargate = ["secret-cosmwasm-std/stargate"] # ibc3 extends ibc messages with ibc-v3 only features. This should only be enabled on contracts # that require these types. Without this, they get the smaller ibc-v1 API. -ibc3 = ["stargate"] +ibc3 = ["secret-cosmwasm-std/ibc3", "stargate"] # This feature makes `BankQuery::Supply` available for the contract to call, but requires # the host blockchain to run CosmWasm `1.1.0` or higher. cosmwasm_1_1 = ["secret-cosmwasm-std/cosmwasm_1_1"] +random = ["secret-cosmwasm-std/random"] + [dependencies] -secret-cosmwasm-std = { path = "../std" } \ No newline at end of file +secret-cosmwasm-std = { path = "../std" }