forked from Creditra/Creditra-Contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
31 lines (28 loc) · 804 Bytes
/
Copy pathCargo.toml
File metadata and controls
31 lines (28 loc) · 804 Bytes
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
[workspace]
resolver = "2"
members = [
"contracts/credit",
"contracts/risk",
"contracts/accrual",
"contracts/collateral",
"contracts/borrow",
"contracts/lifecycle",
"contracts/query",
"contracts/freeze",
"contracts/risk",
"gateway-contract/contracts/auction_contract",
]
[workspace.package]
edition = "2021"
rust-version = "1.75"
[workspace.dependencies]
soroban-sdk = "22"
[profile.release]
opt-level = "z" # Optimize for size
overflow-checks = false # Disable for smaller binary
debug = 0 # No debug info
strip = "symbols" # Strip symbols
debug-assertions = false # No debug assertions
panic = "abort" # Smaller than unwinding
codegen-units = 1 # Better optimization
lto = true # Link time optimization