-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
63 lines (50 loc) · 1.19 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
[package]
name = "trustful-stellar-v1"
version = "0.1.0"
edition = "2021"
[workspace]
members = [
"contracts/scorer",
"contracts/deployer",
"contracts/scorer_factory"
]
[workspace.package]
version = "0.1.0"
[workspace.dependencies]
soroban-sdk = "21.7.7"
[lib]
crate-type = ["cdylib"]
doctest = false
[dependencies]
soroban-sdk = { workspace = true }
scorer = { path = "contracts/scorer" }
scorer_factory = { path = "contracts/scorer_factory" }
deployer = { path = "contracts/deployer" }
[dev-dependencies]
soroban-sdk = { workspace = true, features = ["testutils"] }
[features]
testutils = ["soroban-sdk/testutils"]
[profile.release]
opt-level = "z"
overflow-checks = true
debug = 0
strip = "symbols"
debug-assertions = false
panic = "abort"
codegen-units = 1
lto = true
[profile.release-with-logs]
inherits = "release"
debug-assertions = true
[package.metadata.build]
build-script = true
[package.metadata.package]
include = [
"wasm/**/*",
]
[package.metadata.scripts]
build-wasm = """
cargo build --target wasm32-unknown-unknown --release -p scorer
cargo build --target wasm32-unknown-unknown --release -p deployer
cargo build --target wasm32-unknown-unknown --release -p scorer_factory
"""