diff --git a/examples/Cargo.lock b/examples/Cargo.lock index 7cc96363..1fc09af2 100644 --- a/examples/Cargo.lock +++ b/examples/Cargo.lock @@ -1271,6 +1271,7 @@ dependencies = [ "cosmwasm-schema", "cosmwasm-std", "cw-multi-test", + "cw-utils", "derivative", "konst", "schemars", diff --git a/sylvia/Cargo.toml b/sylvia/Cargo.toml index 92df9d7a..754ca0ed 100644 --- a/sylvia/Cargo.toml +++ b/sylvia/Cargo.toml @@ -20,7 +20,6 @@ cosmwasm_1_2 = [ "cosmwasm-std/cosmwasm_1_2", "cw-multi-test/cosmwasm_1_2", "sylvia-derive/cosmwasm_1_2", - "dep:cw-utils", "cosmwasm_1_1", ] cosmwasm_1_3 = [ @@ -51,7 +50,7 @@ konst = "0.3.8" cw-multi-test = { workspace = true, features = ["staking"], optional = true } anyhow = { workspace = true, optional = true } derivative = { version = "2.2.0" } -cw-utils = { workspace = true, optional = true } +cw-utils = { workspace = true } [dev-dependencies] cw-multi-test = { workspace = true, features = ["staking"] } diff --git a/sylvia/src/lib.rs b/sylvia/src/lib.rs index 4b0a1ea8..70e171ab 100644 --- a/sylvia/src/lib.rs +++ b/sylvia/src/lib.rs @@ -1,7 +1,7 @@ #![cfg_attr(docsrs, feature(doc_cfg))] -//! Framework for creating CosmWasm Smart Contract with high-level abstraction layer +//! Framework for creating CosmWasm Smart Contract with high-level abstraction layer. //! -//! Most of implementation lies in `sylvia-derive` crate which is reexported here +//! Most of implementation lies in `sylvia-derive` crate which is reexported here. pub mod builder; pub mod ctx; @@ -18,8 +18,6 @@ pub use anyhow; #[cfg_attr(docsrs, doc(cfg(feature = "mt")))] #[cfg(feature = "mt")] pub use cw_multi_test; -#[cfg_attr(docsrs, doc(cfg(feature = "cosmwasm_1_2")))] -#[cfg(feature = "cosmwasm_1_2")] pub use cw_utils; #[cfg_attr(docsrs, doc(cfg(feature = "mt")))] #[cfg(feature = "mt")] diff --git a/sylvia/tests/reply_data.rs b/sylvia/tests/reply_data.rs index 8d282f44..ca822c5c 100644 --- a/sylvia/tests/reply_data.rs +++ b/sylvia/tests/reply_data.rs @@ -1,12 +1,12 @@ use cosmwasm_schema::cw_serde; use cosmwasm_std::to_json_binary; use cw_storage_plus::Item; -use cw_utils::{MsgInstantiateContractResponse, ParseReplyError}; use noop_contract::sv::{Executor, NoopContractInstantiateBuilder}; use sv::SubMsgMethods; use sylvia::builder::instantiate::InstantiateBuilder; use sylvia::ctx::{ExecCtx, InstantiateCtx, ReplyCtx}; use sylvia::cw_std::{Addr, Binary, Response, StdError, SubMsg}; +use sylvia::cw_utils::{MsgInstantiateContractResponse, ParseReplyError}; use sylvia::types::Remote; use sylvia::{contract, entry_points}; use thiserror::Error;