cw-orch 0.19.0

Scripting library for deploying and interacting with CosmWasm smart-contracts
Documentation
#![doc(html_logo_url = "https://raw.githubusercontent.com/AbstractSDK/assets/mainline/logo.svg")]
#![doc = include_str ! (concat!(env!("CARGO_MANIFEST_DIR"), "/README.md"))]
#![deny(missing_docs)]

// macros
pub use cw_orch_contract_derive::interface;
pub use cw_orch_fns_derive::{ExecuteFns, QueryFns};

/// Re-export anyhow for use in the macros
pub extern crate anyhow;

// prelude
pub mod prelude;

pub use cw_orch_core::build;
pub use cw_orch_core::contract;
pub use cw_orch_core::environment;
pub use cw_orch_mock as mock;

#[deprecated(since = "0.13.4", note = "Deploy trait moved to contract namespace")]
/// Used to introduce Deploy trait.
/// Deprecated since 0.13.4.
pub mod deploy {
    pub use cw_orch_core::contract::Deploy;
}

#[deprecated(since = "0.13.4", note = "State trait moved to environment namespace")]
/// Used to introduce state traits.
/// Deprecated since 0.13.4.
pub mod state {
    pub use cw_orch_core::environment::{ChainState, DeployDetails, StateInterface};
}

/// Re-export tokio, the async runtime when using daemons.
#[cfg(feature = "daemon")]
pub extern crate tokio;
#[cfg(feature = "daemon")]
pub mod daemon;

mod error;
#[cfg(feature = "osmosis-test-tube")]
pub mod osmosis_test_tube;

#[cfg(feature = "snapshot-testing")]
pub mod snapshots;

// Rexporting for the macro to work properly
#[cfg(feature = "snapshot-testing")]
pub extern crate insta;
#[cfg(feature = "snapshot-testing")]
pub extern crate sanitize_filename;