27 lines
629 B
TOML
27 lines
629 B
TOML
[workspace]
|
|
resolver = "3"
|
|
members = ["acid-firmware", "password-hash"]
|
|
default-members = []
|
|
|
|
[workspace.dependencies]
|
|
spectre-api-sys = { git = "https://github.com/Limeth/spectre-api-sys", rev = "9e844eb056c3dfee8286ac21ec40fa689a8b8aa2" }
|
|
|
|
|
|
[profile.dev.package.esp-storage]
|
|
opt-level = 3
|
|
|
|
[profile.dev]
|
|
# Rust debug is too slow.
|
|
# For debug builds always builds with some optimization
|
|
opt-level = "s"
|
|
lto = 'thin'
|
|
|
|
[profile.release]
|
|
codegen-units = 1 # LLVM can perform better optimizations using a single thread
|
|
debug = 2
|
|
debug-assertions = false
|
|
incremental = false
|
|
lto = 'thin'
|
|
opt-level = 3
|
|
overflow-checks = false
|