2221e1fa93
Rustflags apply to ALL the crates in the graph, while we only need them for the toplevel crate which is the only one getting linked. Rustflags are not equal for all crates, this caused cargo to re-build the same dependency crate multiple times uselessly. After this change, deps are reused more, making builds faster. Note that this only applies when sharing the target/ dir for multiple crates in the repo which is not the default.
29 lines
791 B
TOML
29 lines
791 B
TOML
[package]
|
|
name = "embassy-stm32f0-examples"
|
|
version = "0.1.0"
|
|
authors = ["Thales Fragoso <thales.fragosoz@gmail.com>"]
|
|
edition = "2018"
|
|
resolver = "2"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
cortex-m = { version = "0.7.3", features = ["inline-asm"] }
|
|
cortex-m-rt = "0.7.0"
|
|
defmt = "0.2.3"
|
|
defmt-rtt = "0.2.0"
|
|
panic-probe = "0.2.0"
|
|
rtt-target = { version = "0.3.1", features = ["cortex-m"] }
|
|
embassy = { path = "../../embassy", features = ["defmt"] }
|
|
embassy-stm32 = { path = "../../embassy-stm32", features = ["defmt", "memory-x", "stm32f030f4", "time-driver-tim3"] }
|
|
|
|
[features]
|
|
default = [
|
|
"defmt-default",
|
|
]
|
|
defmt-default = []
|
|
defmt-trace = []
|
|
defmt-debug = []
|
|
defmt-info = []
|
|
defmt-warn = []
|
|
defmt-error = []
|