-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCargo.toml
57 lines (49 loc) · 1.45 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
[package]
name = "{{project-name}}"
version = "0.1.0"
authors = ["{{authors}}"]
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.
"artifacts/*",
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib", "rlib"]
[profile.release]
codegen-units = 1
debug = false
debug-assertions = false
incremental = false
lto = true
opt-level = 3
overflow-checks = true
panic = 'abort'
rpath = false
[features]
# for more explicit tests, cargo test --features=backtraces
backtraces = ["cosmwasm-std/backtraces"]
# use library feature to disable all instantiate/execute/query exports
library = []
[package.metadata.scripts]
optimize = """docker run --rm \
-e CARGO_TERM_COLOR=always \
-v "$(pwd)":/code \
-v "$(basename "$(pwd)")_cache":/code/target \
-v "$(basename "$(pwd)")_registry_cache":/usr/local/cargo/registry \
-v "$(basename "$(pwd)")_cosmwasm_sccache":/root/.cache/sccache \
--name "$(basename "$(pwd)")" \
cosmwasm/rust-optimizer:0.14.0
"""
[dependencies]
archway-bindings = "0.2.1"
cosmwasm-schema = "1.3.1"
cosmwasm-std = "1.3.1"
cosmwasm-storage = "1.3.1"
cw-storage-plus = "1.1.0"
cw2 = "1.1.0"
schemars = "0.8.12"
serde = { version = "1.0.183", default-features = false, features = ["derive"] }
thiserror = "1.0.44"
[dev-dependencies]
cw-multi-test = "0.17.0"