# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "cosmwasm-vm" version = "2.2.0-rc.3" authors = ["Ethan Frey "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "VM bindings to run cosmwams contracts" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/CosmWasm/cosmwasm/tree/main/packages/vm" [package.metadata.release] pre-release-hook = ["../../devtools/release_checks.sh"] [[package.metadata.release.pre-release-replacements]] exactly = 1 file = "../../CHANGELOG.md" replace = "## [{{version}}] - {{date}}" search = '## \[Unreleased\]' [[package.metadata.release.pre-release-replacements]] file = "../../CHANGELOG.md" replace = "{{version}}" search = "(U|u)nreleased" [[package.metadata.release.pre-release-replacements]] exactly = 1 file = "../../CHANGELOG.md" replace = """ ## [Unreleased]""" search = "" [[package.metadata.release.pre-release-replacements]] exactly = 1 file = "../../CHANGELOG.md" replace = """ [unreleased]: https://github.com/CosmWasm/cosmwasm/compare/{{tag_name}}...HEAD""" search = """ """ [[package.metadata.release.pre-release-replacements]] exactly = 1 file = "../../CHANGELOG.md" replace = "...{{tag_name}}" search = '\.\.\.HEAD' [profile.release] debug = 1 [lib] name = "cosmwasm_vm" path = "src/lib.rs" bench = false [[example]] name = "heap_profiling" path = "examples/heap_profiling.rs" [[example]] name = "module_size" path = "examples/module_size.rs" [[example]] name = "multi_threaded_cache" path = "examples/multi_threaded_cache.rs" [[bench]] name = "main" path = "benches/main.rs" harness = false [dependencies.bech32] version = "0.11.0" [dependencies.blake2] version = "0.10.6" [dependencies.bytes] version = "1.4.0" [dependencies.clru] version = "0.6.1" [dependencies.cosmwasm-core] version = "2.2.0-rc.3" [dependencies.cosmwasm-crypto] version = "2.2.0-rc.3" [dependencies.cosmwasm-std] version = "2.2.0-rc.3" features = ["std"] default-features = false [dependencies.cosmwasm-vm-derive] version = "2.2.0-rc.3" [dependencies.crc32fast] version = "1.3.2" [dependencies.derivative] version = "2" [dependencies.dhat] version = "0.3.3" optional = true [dependencies.hex] version = "0.4" [dependencies.rand_core] version = "0.6" features = ["getrandom"] [dependencies.schemars] version = "0.8.4" [dependencies.serde] version = "1.0.192" features = [ "alloc", "derive", ] default-features = false [dependencies.serde_json] version = "1.0.40" [dependencies.sha2] version = "0.10.3" [dependencies.strum] version = "0.26.2" features = ["derive"] default-features = false [dependencies.thiserror] version = "1.0.26" [dependencies.tracing] version = "0.1.32" [dependencies.wasmer] version = "=4.3.7" features = ["singlepass"] default-features = false [dependencies.wasmer-middlewares] version = "=4.3.7" [dependencies.wasmer-types] version = "=4.3.7" [dev-dependencies.clap] version = "4" [dev-dependencies.criterion] version = "0.5.1" features = ["html_reports"] [dev-dependencies.glob] version = "0.3.1" [dev-dependencies.hex-literal] version = "0.4.1" [dev-dependencies.leb128] version = "0.2" [dev-dependencies.rand] version = "0.8" [dev-dependencies.target-lexicon] version = "0.12" [dev-dependencies.tempfile] version = "3.1.0" [dev-dependencies.time] version = "0.3.28" features = ["formatting"] [dev-dependencies.wasm-encoder] version = "0.205.0" [dev-dependencies.wat] version = "1.0" [features] cranelift = [] default = [ "iterator", "staking", ] dhat-heap = ["dep:dhat"] iterator = ["cosmwasm-std/iterator"] staking = ["cosmwasm-std/staking"] stargate = ["cosmwasm-std/stargate"]