# TODO remove cargo-features = ["edition"] [package] edition = "2018" authors = ["{{authors}}"] name = "{{project-name}}" version = "0.1.0" [dependencies] cortex-m = "0.5.7" cortex-m-rt = "0.6.1" cortex-m-semihosting = "0.3.1" panic-halt = "0.1.3" # Uncomment for the panic example. # panic-itm = "0.3.0" # Uncomment for the allocator example. # alloc-cortex-m = "0.3.5" # Uncomment for the device example. # [dependencies.stm32f30x] # features = ["rt"] # version = "0.7.1" # this lets you use `cargo fix`! [[bin]] name = "{{project-name}}" test = false bench = false [profile.release] codegen-units = 1 # better optimizations debug = true # symbols are nice and they don't increase the size on Flash lto = true # better optimizations