-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathCargo.toml
70 lines (59 loc) · 2.57 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[package]
name = "enterprise-factory"
version = "1.2.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]
attestation-api = { path = "../../packages/attestation-api" }
common = { path = "../../packages/common" }
cosmwasm-std = "1"
cosmwasm-schema = "1"
cw-asset = "2.2"
cw-storage-plus = "1.0.1"
cw-utils = "1.0.1"
cw2 = "1.0.1"
cw3 = "1.0.1"
cw20 = "1.0.1"
cw20-base = { version = "1.0.1", features = ["library"] }
cw721 = "0.16.0"
cw721-base = { version = "0.16.0", features = ["library"] }
enterprise-protocol = { path = "../../packages/enterprise-protocol" }
enterprise-factory-api = { path = "../../packages/enterprise-factory-api" }
enterprise-governance-api = { path = "../../packages/enterprise-governance-api" }
enterprise-governance-controller-api = { path = "../../packages/enterprise-governance-controller-api" }
enterprise-outposts-api = { path = "../../packages/enterprise-outposts-api" }
enterprise-treasury-api = { path = "../../packages/enterprise-treasury-api" }
enterprise-versioning-api = { path = "../../packages/enterprise-versioning-api" }
funds-distributor-api = { path = "../../packages/funds-distributor-api" }
token-staking-api = { path = "../../packages/token-staking-api" }
denom-staking-api = { path = "../../packages/denom-staking-api" }
multisig-membership-api = { path = "../../packages/multisig-membership-api" }
membership-common-api = { path = "../../packages/membership-common-api" }
nft-staking-api = { path = "../../packages/nft-staking-api" }
itertools = "0.10"
cw-orch = { version = "0.18.1", optional = true }
[dev-dependencies]
anyhow = "1"
cw-multi-test = "0.16.2"