Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Reexport cw-utils without a flag #462

Merged
merged 1 commit into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading