[package] name = "cw-it" version = "0.4.0-rc.1" authors = ["Pacman ", "Sturdy "] edition = "2021" license = "MPL-2.0" description = "A crate of utils for integration testing CosmWasm smart contracts" documentation = "https://docs.rs/cw-it" repository = "https://github.com/apollodao/cw-it" readme = "README.md" exclude = [ # Those files are rust-optimizer artifacts. You might want to commit them for convenience but they should not be part of the source code publication. "contract.wasm", "hash.txt", ] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] crate-type = ["cdylib", "rlib"] [profile.release] opt-level = 3 debug = false rpath = false lto = true debug-assertions = false codegen-units = 1 panic = 'abort' incremental = false overflow-checks = true [features] default = [] astroport = ["cw20", "dep:astroport", "dep:astroport_v5"] osmosis = ["proptest", "apollo-utils", "osmosis-test-tube"] rpc-runner = ["bip32"] chain-download = ["tokio"] multi-test = ["apollo-cw-multi-test", "paste", "regex"] astroport-multi-test = [ "multi-test", "astroport", "astroport-token", "astroport-native-coin-registry", "astroport-factory", "astroport-maker", "astroport-pair-stable", "astroport-pair", "astroport-router", "astroport-staking", "astroport-vesting", "astroport-whitelist", "astroport-pair-concentrated", "astroport-incentives" ] osmosis-test-tube = ["dep:osmosis-test-tube"] [package.metadata.scripts] optimize = """docker run --rm -v "$(pwd)":/code \ --mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \ --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \ cosmwasm/rust-optimizer:0.12.6 """ [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [package.metadata.cargo-machete] ignored = ["astroport-token", "astroport-native-coin-registry", "astroport-factory", "astroport-maker", "astroport-pair-stable", "astroport-pair", "astroport-router", "astroport-staking", "astroport-vesting", "astroport-whitelist"] [dependencies] bip32 = { version = "0.5", features = ["bip39"], optional = true } cosmwasm-std = { version = "1.5.5", features = ["stargate"] } serde = { version = "1.0.152", default-features = false, features = ["derive"] } thiserror = { version = "1.0.31" } cosmwasm-schema = "1.2.1" cosmrs = { version = "0.15", features = ["rpc", "cosmwasm"] } prost = { version = "0.12", default-features = false, features = [ "prost-derive", ] } config = { version = "0.14.0", features = ["yaml"] } anyhow = "1.0.66" strum = { version = "0.24.1", features = ["derive"] } osmosis-std = "0.25.0" test-tube = { version = "0.7.0", features = ["module-wrappers"] } osmosis-test-tube = { version = "25.0.0", optional = true } # Astroport deps astroport = { version = "2.9.0", optional = true } astroport_v5 = { package = "astroport", version = "5.1.0", optional = true } cw20 = { version = "0.15", optional = true } # Astroport contracts for multi-test astroport-token = { version = "=1.1.1", optional = true, features = ["library"] } astroport-native-coin-registry = { version = "=1.0.1", optional = true, features = ["library"] } astroport-factory = { version = "=1.8.0", optional = true, features = ["library"] } astroport-maker = { version = "=1.5.0", optional = true } astroport-pair-stable = { version = "=4.0.0", optional = true, features = ["library"] } astroport-pair = { version = "=2.0.1", optional = true } astroport-router = { version = "=1.2.1", optional = true } astroport-staking = { version = "=2.1.0", optional = true } astroport-vesting = { version = "=1.4.0", optional = true, features = ["library"] } astroport-whitelist = { version = "=2.0.0", optional = true, features = ["library"] } astroport-pair-concentrated = { version = "=4.0.1", optional = true, features = ["library"] } astroport-incentives = { version = "=1.1.0", optional = true, features = ["library"] } # Osmosis deps proptest = { version = "1.0.0", optional = true } apollo-utils = { version = "0.1.1", optional = true } regex = { version = "1.7.3", optional = true } # Cw-multi-test deps apollo-cw-multi-test = { version = "0.18.0", features = ["stargate"], optional = true } paste = { version = "1.0.12", optional = true } # RPC Runner and chain-download deps tokio = { version = "1.27.0", optional = true } [dev-dependencies] test-case = "3.0.0" cw20-base = { version = "0.15", features = ["library"] } cw20 = "0.15"