forked from CalloraOrg/Callora-Contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
45 lines (39 loc) · 1.3 KB
/
Copy pathCargo.toml
File metadata and controls
45 lines (39 loc) · 1.3 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
[package]
name = "callora-contracts-e2e"
version = "0.0.0"
edition = "2021"
publish = false
[workspace]
resolver = "2"
members = [
"contracts/vault",
"contracts/revenue_pool",
"contracts/settlement",
"contracts/helpers",
"contracts/revenue_pool/fuzz",
]
default-members = [
"contracts/vault",
"contracts/revenue_pool",
"contracts/settlement",
"contracts/helpers",
]
[workspace.dependencies]
soroban-sdk = "22"
[dev-dependencies]
callora-vault = { path = "contracts/vault" }
callora-settlement = { path = "contracts/settlement" }
callora-revenue-pool = { path = "contracts/revenue_pool" }
soroban-sdk = { workspace = true, features = ["testutils"] }
[profile.dev]
overflow-checks = true
[profile.release]
# Size optimization settings to keep WASM under Soroban's 64KB limit
opt-level = "z" # Optimize for size (more aggressive than "s")
overflow-checks = true # Keep overflow checks for safety
debug = 0 # No debug info
strip = "symbols" # Remove symbol table and debug info
debug-assertions = false # Disable debug assertions in release
panic = "abort" # Smaller panic handler (no unwinding)
codegen-units = 1 # Better optimization (slower compile, smaller binary)
lto = true # Link-time optimization across all crates