-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathCargo.toml
More file actions
61 lines (54 loc) · 1.55 KB
/
Copy pathCargo.toml
File metadata and controls
61 lines (54 loc) · 1.55 KB
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
[workspace]
members = [
"contracts/common",
"contracts/governance",
"contracts/multisig-account",
"contracts/receipt-anchor",
"contracts/receipt-shard",
"contracts/refund-policy-time",
"contracts/refund-policy-vdf",
"contracts/refund-vault",
"contracts/state-channel",
"contracts/refund-vault-factory",
"contracts/testutils",
"contracts/upto-authorization",
]
# `testutils` is a test-support crate (publish = false) whose only dependency
# is soroban-sdk with the `testutils` feature enabled — a feature soroban-sdk
# refuses to compile on wasm targets. Excluding it from the default build keeps
# `cargo build --target wasm32v1-none --release` (the CI wasm gate) building
# only the deployable contracts; it is still compiled by `cargo test
# --workspace` and `cargo clippy --workspace`.
default-members = [
"contracts/common",
"contracts/multisig-account",
"contracts/receipt-anchor",
"contracts/receipt-shard",
"contracts/refund-vault",
]
resolver = "2"
[workspace.package]
license = "MIT"
repository = "https://github.com/accensa/accensa-contracts"
edition = "2021"
[workspace.dependencies]
soroban-sdk = "27.0.6"
accensa-common = { path = "contracts/common" }
[workspace.lints.rust]
warnings = "deny"
[workspace.lints.clippy]
all = "warn"
[profile.dev]
overflow-checks = true
[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