rust-stm32-blinky/Cargo.toml

27 lines
625 B
TOML

[package]
authors = ["sebastian"]
edition = "2018"
readme = "README.md"
name = "stm32_f1_blinky"
version = "0.1.0"
[dependencies]
cortex-m = "0.6"
cortex-m-rt = "0.6.12"
stm32f1xx-hal = { version = "0.6.1", features = ["stm32f103", "stm32-usbd", "rt"] }
panic-semihosting = "0.5"
embedded-hal = "0.2.4"
rtt-target = {version = "0.2.2", features = ["cortex-m"]}
# this lets you use `cargo fix`!
[[bin]]
name = "stm32_f1_blinky"
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