-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
39 lines (33 loc) · 1012 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[package]
name = "kernel"
version = "0.1.0"
edition = "2021"
[dependencies]
log = "^0.4.21"
volatile = "0.5.1"
buddy_system_allocator = "0.9.1"
bitflags = "2.4.2"
intrusive-collections = "0.9.6"
lazy_static = { version = "1.4.0", features = ["spin_no_std"] }
xmas-elf = "0.9.1"
#fatfs = { version = "0.4", default-features = false, git = "https://github.com/rafalh/rust-fatfs", features = ["alloc", "lfn"] }
fatfs = { version = "0.4", default-features = false, path = "../third-party/rust-fatfs", features = ["alloc", "lfn"] }
#fatfs-embedded = "0.1.0"
virtio-drivers = "0.7.1"
spin = "0.9.8"
# My own crate
user = { path = "../user" }
c_defines_to_enum = "0.1.0"
#[target.'cfg(target_arch = "riscv64")'.dependencies]
riscv = "^0.11.1"
sbi = "^0.2.0"
fdt = "0.1.5"
[build-dependencies]
chrono = "0.4.35"
# Use panic=abort to disable unwinding of panic and reduce binary size, therefore eh_personality is not required.
[profile.dev]
panic = "abort"
lto = "fat"
[profile.release]
panic = "abort"
lto = "fat"