-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
25 lines (22 loc) · 840 Bytes
/
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
[workspace]
resolver = "2"
members = [
"crates/focus",
"crates/proc_macros",
]
[workspace.package]
version = "0.4.19"
authors = ["Matthew Wilding <mbwilding@gmail.com>"]
description = "Dygma focus api, for use with dygma keyboards"
repository = "https://github.com/mbwilding/dygma-focus"
edition = "2021"
[profile.release]
opt-level = "z" # Optimize for size.
lto = true # Enable Link Time Optimization.
codegen-units = 1 # Reduce the number of codegen units to enhance optimization.
strip = true # Remove symbol information for a smaller binary.
panic = "abort" # Aborts on panic, reducing the binary size.
incremental = false # Disable incremental compilation.
overflow-checks = false # Disable overflow checks if not required (unsafe).
[profile.dev.package."*"]
opt-level = 2