-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
67 lines (62 loc) · 1.92 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[package]
name = "kernel"
version = "0.1.0"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["executor/fifo", "naive_fs"]
fifo_executor = ["crossbeam-queue"]
vga_text_mod = []
[dependencies]
spin = { version = "0.9", default-features = false, features = [
"lock_api",
"mutex",
"spin_mutex",
"rwlock",
] }
linked_list_allocator = "0.9"
crossbeam-queue = { version = "0.3", optional = true, default-features = false, features = [
"alloc",
] }
bitflags = "1.2"
bitmap = { path = "crates/bitmap" }
lru = { path = "crates/lru" }
hashbrown = "0.11"
naive_fs = { path = "crates/naive_fs", optional = true }
lock_api = { version = "0.4", features = ["nightly"] }
pin-project = "1"
futures-util = { version = "0.3", default-features = false, features = [
"alloc",
] }
sleeplock = { path = "crates/sleeplock" }
future_ext = { path = "crates/future_ext" }
# [target.'cfg(any(target_arch = "riscv32", target_arch = "riscv64"))'.dependencies]
riscv = "0.6"
virtio-drivers = { git = "https://github.com/xrs-os/virtio-drivers", branch = "main" }
log = "0.4"
mm = { path = "crates/mm" }
executor = { path = "crates/executor", features = ["fifo"] }
num_enum = { path = "crates/num_enum" }
array-init = "2"
xmas-elf = "0.8"
device_tree = { git = "https://github.com/rcore-os/device_tree-rs", rev = "2f2e55fb5238466747fef49d9ce0f59b2e808154" }
volatile = "0.4"
naive-timer = { git = "https://github.com/rcore-os/naive-timer", rev = "72a976fe3bd59854610bad67885c36ae8ffb42f4" }
[dev-dependencies]
# tokio-test = "0.4"
[workspace]
# See https://github.com/rust-lang/rfcs/blob/master/text/2957-cargo-features2.md
resolver = "2"
members = [
"crates/bitmap",
"crates/lru",
"crates/sleeplock",
"crates/naive_fs",
"crates/future_ext",
"crates/mm",
"crates/executor",
"crates/num_enum",
"crates/init_proc",
"crates/debug",
"mkfs",
]