mirror of
https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials.git
synced 2024-11-15 18:14:02 +00:00
29 lines
710 B
TOML
29 lines
710 B
TOML
[package]
|
|
name = "kernel"
|
|
version = "0.1.0"
|
|
authors = ["Andre Richter <andre.o.richter@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
[profile.release]
|
|
lto = true
|
|
|
|
# The features section is used to select the target board.
|
|
[features]
|
|
default = []
|
|
bsp_rpi3 = ["register"]
|
|
bsp_rpi4 = ["register"]
|
|
|
|
##--------------------------------------------------------------------------------------------------
|
|
## Dependencies
|
|
##--------------------------------------------------------------------------------------------------
|
|
|
|
[dependencies]
|
|
|
|
# Optional dependencies
|
|
register = { version = "1.x.x", optional = true }
|
|
|
|
# Platform specific dependencies
|
|
[target.'cfg(target_arch = "aarch64")'.dependencies]
|
|
cortex-a = { version = "5.x.x" }
|
|
|