[package] name = "junctor" version = "0.0.1" authors = ["Ana Hobden "] edition = "2018" description = "Nothing quite yet!" license = "MIT OR Apache-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] cortex-m = "0.6.2" cortex-m-rt = "0.6.12" #panic-log = { git = "https://github.com/ferrous-systems/embedded-trainings-2020.git" } heapless = "0.5.5" log = "0.4.8" #dk = { git = "https://github.com/ferrous-systems/embedded-trainings-2020.git", features = ["beginner"] } # optimize code in both profiles [profile.dev] codegen-units = 1 debug = 1 debug-assertions = true # ! incremental = false lto = "fat" opt-level = 'z' # ! overflow-checks = false [profile.release] codegen-units = 1 debug = 1 debug-assertions = false incremental = false lto = "fat" opt-level = 3 overflow-checks = false # faster builds from scratch [profile.dev.build-override] codegen-units = 8 debug = false debug-assertions = false opt-level = 0 overflow-checks = false [profile.release.build-override] codegen-units = 8 debug = false debug-assertions = false opt-level = 0 overflow-checks = false