rust-raspberrypi-OS-tutorials/05_drivers_gpio_uart/Cargo.toml

31 lines
770 B
TOML
Raw Normal View History

2019-10-08 20:13:25 +00:00
[package]
2021-04-04 20:30:40 +00:00
name = "mingo"
version = "0.5.0"
2019-10-08 20:13:25 +00:00
authors = ["Andre Richter <andre.o.richter@gmail.com>"]
2021-10-11 13:46:01 +00:00
edition = "2021"
2019-10-08 20:13:25 +00:00
2020-11-23 21:44:31 +00:00
[profile.release]
lto = true
2019-10-08 20:13:25 +00:00
[features]
default = []
bsp_rpi3 = ["tock-registers"]
bsp_rpi4 = ["tock-registers"]
2020-10-28 10:45:28 +00:00
2021-04-04 20:30:40 +00:00
[[bin]]
name = "kernel"
path = "src/main.rs"
2020-10-28 10:45:28 +00:00
##--------------------------------------------------------------------------------------------------
## Dependencies
##--------------------------------------------------------------------------------------------------
2019-10-08 20:13:25 +00:00
[dependencies]
# Optional dependencies
2022-09-26 21:15:07 +00:00
tock-registers = { version = "0.8.x", default-features = false, features = ["register_types"], optional = true }
2020-10-28 10:45:28 +00:00
# Platform specific dependencies
[target.'cfg(target_arch = "aarch64")'.dependencies]
2022-09-26 21:15:07 +00:00
cortex-a = { version = "8.x.x" }