From 8f33e767a2a7ebb64295f342a3081909b8905d16 Mon Sep 17 00:00:00 2001 From: john Date: Wed, 1 Nov 2023 13:40:32 -0500 Subject: [PATCH] add dev dependencies back --- Cargo.toml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index ae92fdd..63ad4c8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,10 +30,17 @@ overflow-checks = true [features] # for more explicit tests, cargo test --features=backtraces -# backtraces = ["cosmwasm-std/backtraces"] +backtraces = ["cosmwasm-std/backtraces"] # use library feature to disable all instantiate/execute/query exports library = [] +[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.8 +""" + [dependencies] cw-utils = "0.13.4" cosmwasm-std = "1.1.0" @@ -42,3 +49,6 @@ cw-storage-plus = "0.13.4" cosmwasm-schema = "1.1.0" cw2 = "0.13.4" thiserror = "1.0.31" + +[dev-dependencies] +cosmwasm-vm = "1.1.0"