mirror of
https://github.com/panpaul/tiny_os
synced 2024-09-20 09:45:19 +08:00
42 lines
821 B
TOML
42 lines
821 B
TOML
[package]
|
|
name = "kernel"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[features]
|
|
default = ["arch_riscv64", "board_virt", "log_color"]
|
|
|
|
arch_riscv64 = []
|
|
arch_riscv32 = []
|
|
|
|
board_default = []
|
|
board_virt = []
|
|
|
|
log_color = []
|
|
|
|
[profile.dev]
|
|
panic = "abort"
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
lto = "thin"
|
|
|
|
[dependencies]
|
|
api = { path = "../api" }
|
|
vspace = { path = "../lib/vspace" }
|
|
|
|
bitflags = "2.4.2"
|
|
cfg-if = "1.0.0"
|
|
fdt = "0.1"
|
|
lazy_static = { version = "1.4.0", features = ["spin_no_std"] }
|
|
log = "0.4"
|
|
num-derive = "0.4"
|
|
num-traits = { version = "0.2", default-features = false }
|
|
riscv = { version = "0.11.1", features = ["s-mode"] }
|
|
sbi-rt = { version = "0.0.3" }
|
|
spin = "0.9.8"
|
|
static_assertions = "1.1.0"
|
|
uart_16550 = "0.3"
|