diff --git a/Cargo.toml b/Cargo.toml index f64cd93..4dd8ca1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,6 +32,7 @@ defmt-info = [] defmt-warn = [] defmt-error = [] +# cargo build/run [profile.dev] codegen-units = 1 debug = 2 @@ -40,6 +41,7 @@ incremental = false opt-level = 3 # <- overflow-checks = true # <- +# cargo test [profile.test] codegen-units = 1 debug = 2 @@ -48,6 +50,7 @@ incremental = false opt-level = 3 # <- overflow-checks = true # <- +# cargo build/run --release [profile.release] codegen-units = 1 debug = 2 @@ -57,6 +60,16 @@ lto = 'fat' opt-level = 3 # <- overflow-checks = false # <- +# cargo test --release +[profile.bench] +codegen-units = 1 +debug = 2 +debug-assertions = false # <- +incremental = false +lto = 'fat' +opt-level = 3 # <- +overflow-checks = false # <- + # uncomment this to switch from the crates.io version of defmt to its git version # check app-template's README for instructions # [patch.crates-io]