-
Notifications
You must be signed in to change notification settings - Fork 8
/
Cargo.toml
46 lines (36 loc) · 1.37 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[package]
name = "enterprise-versioning"
version = "1.0.0"
authors = ["Terra Money <[email protected]>"]
edition = "2021"
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"]
[features]
default = ["contract"]
# for more explicit tests, cargo test --features=backtraces
backtraces = ["cosmwasm-std/backtraces"]
# use contract feature to enable all instantiate/execute/query exports
contract = []
interface = ["dep:cw-orch"]
[package.metadata.scripts]
optimize = """docker run --rm -v "${process.cwd()}":/code \
-v "${path.join(process.cwd(), "../../", "packages")}":/packages \
--mount type=volume,source="${contract}_cache",target=/code/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
cosmwasm/rust-optimizer${process.env.TERRARIUM_ARCH_ARM64 ? "-arm64" : ""}:0.12.6
"""
[dependencies]
common = { path = "../../packages/common" }
cosmwasm-std = "1"
cw-storage-plus = "1.0.1"
cw2 = "1.0.1"
enterprise-versioning-api = { path = "../../packages/enterprise-versioning-api" }
cw-orch = {version = "0.18.1", optional = true }
[dev-dependencies]
cosmwasm-schema = "1.1.9"