-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathCargo.toml
More file actions
22 lines (19 loc) · 898 Bytes
/
Cargo.toml
File metadata and controls
22 lines (19 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[workspace]
members = ["gateway", "network", "client", "agent", "types","token-generator"]
resolver = "2"
[workspace.lints.clippy]
unwrap_used = "warn"
[patch.crates-io]
narrowlink-types = { path = "types" }
narrowlink-network = { path = "network" }
[profile.release]
opt-level = "z" # Optimize for size.
lto = true # Enable Link Time Optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations.
panic = "abort" # Abort on panic
debug = false # Strip debug symbols from the binary.
rpath = false # Do not embed the path to the dynamic library in the binary.
debug-assertions = false # Remove assertions from the binary.
incremental = false # Disable incremental compilation.
overflow-checks = false # Disable overflow checks.
strip = true # Automatically strip symbols from the binary.