forked from syswonder/ruxos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
56 lines (50 loc) · 1.74 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
[package]
name = "ruxruntime"
version = "0.1.0"
edition = "2021"
authors = [
"Yuekai Jia <[email protected]>",
"yanjuguang <[email protected]>",
"Zheng Wu <[email protected]>",
"AuYang261 <[email protected]>",
]
description = "Runtime library of Ruxos"
license = "GPL-3.0-or-later OR Apache-2.0"
homepage = "https://github.com/syswonder/ruxos"
repository = "https://github.com/syswonder/ruxos/tree/main/modules/ruxruntime"
[features]
default = []
smp = ["ruxhal/smp"]
irq = ["ruxhal/irq", "ruxtask?/irq", "percpu", "kernel_guard"]
tls = ["ruxhal/tls", "ruxtask?/tls"]
alloc = ["axalloc", "dtb"]
paging = ["ruxhal/paging", "lazy_init"]
rtc = ["ruxhal/rtc"]
multitask = ["ruxtask/multitask", "dep:ruxfutex"]
fs = ["ruxdriver", "ruxfs"]
blkfs = ["fs"]
virtio-9p = ["fs", "rux9p"]
net-9p = ["fs", "rux9p"]
net = ["ruxdriver", "axnet"]
display = ["ruxdriver", "ruxdisplay"]
signal = []
musl = ["dep:ruxfutex"]
[dependencies]
cfg-if = "1.0"
ruxhal = { path = "../ruxhal" }
axlog = { path = "../axlog" }
ruxconfig = { path = "../ruxconfig" }
axalloc = { path = "../axalloc", optional = true }
ruxdriver = { path = "../ruxdriver", optional = true }
ruxfs = { path = "../ruxfs", optional = true }
rux9p = { path = "../rux9p", optional = true }
axnet = { path = "../axnet", optional = true }
ruxdisplay = { path = "../ruxdisplay", optional = true }
ruxtask = { path = "../ruxtask", optional = true }
axsync = { path = "../axsync", optional = true }
ruxfutex = { path = "../ruxfutex", optional = true }
crate_interface = "0.1.1"
percpu = { path = "../../crates/percpu", optional = true }
kernel_guard = { version = "0.1.0", optional = true }
lazy_init = { path = "../../crates/lazy_init", optional = true }
dtb = { path = "../../crates/dtb", optional = true }