mirror of
https://github.com/panpaul/tiny_os
synced 2024-09-20 09:45:19 +08:00
38 lines
735 B
TOML
38 lines
735 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", "frame_freelist"]
|
|
|
|
arch_riscv64 = []
|
|
arch_riscv32 = []
|
|
|
|
board_default = []
|
|
board_virt = []
|
|
board_thead = []
|
|
|
|
log_color = []
|
|
|
|
frame_bitmap = []
|
|
frame_freelist = []
|
|
|
|
[profile.dev]
|
|
panic = "abort"
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
|
|
[dependencies]
|
|
bitflags = "2.4.1"
|
|
lazy_static = { version = "1.4.0", features = ["spin_no_std"] }
|
|
log = "0.4"
|
|
riscv = { version = "0.11.1", features = ["s-mode"] }
|
|
sbi-rt = { version = "0.0.3", features = ["legacy"] }
|
|
spin = "0.9.8"
|
|
static_assertions = "1.1.0"
|
|
uart_16550 = "0.3"
|