Skip to content

Commit

Permalink
feat: Reexport cw-utils without a flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jawoznia committed Nov 21, 2024
1 parent 1dd0a52 commit 2cb8141
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
1 change: 1 addition & 0 deletions examples/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions sylvia/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down Expand Up @@ -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"] }
Expand Down
6 changes: 2 additions & 4 deletions sylvia/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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")]
Expand Down
2 changes: 1 addition & 1 deletion sylvia/tests/reply_data.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 2cb8141

Please sign in to comment.