-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathCargo.toml
54 lines (47 loc) · 2.23 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
[package]
name = "axtask"
version = "0.1.0"
edition = "2021"
authors = ["Yuekai Jia <[email protected]>"]
description = "ArceOS task management module"
license = "GPL-3.0-or-later OR Apache-2.0"
homepage = "https://github.com/rcore-os/arceos"
repository = "https://github.com/rcore-os/arceos/tree/main/modules/axtask"
documentation = "https://rcore-os.github.io/arceos/axtask/index.html"
keywords = ["Starry"]
[features]
default = []
multitask = [
"dep:percpu", "dep:spinlock", "dep:lazy_init", "dep:memory_addr",
"dep:scheduler", "dep:timer_list", "kernel_guard","taskctx/multitask"
]
irq = []
tls = ["axhal/tls", "taskctx/tls"]
preempt = ["irq", "percpu?/preempt", "kernel_guard/preempt", "taskctx/preempt"]
sched_fifo = ["multitask"]
sched_rr = ["multitask", "preempt"]
sched_cfs = ["multitask", "preempt"]
test = ["percpu?/sp-naive"]
monolithic = ["multitask", "axhal/monolithic", "taskctx/monolithic"]
[dependencies]
cfg-if = "1.0"
log = "0.4"
numeric-enum-macro = { git = "https://github.com/mexus/numeric-enum-macro" }
axhal = { git = "https://github.com/Starry-OS/axhal.git" }
axsignal = { git = "https://github.com/Starry-OS/axsignal.git" }
axconfig = { git = "https://github.com/Starry-OS/axconfig.git"}
percpu = { git = "https://github.com/Starry-OS/percpu.git", optional = true }
spinlock = { git = "https://github.com/Starry-OS/spinlock.git", optional = true }
lazy_init = { git = "https://github.com/Starry-OS/lazy_init.git", optional = true }
memory_addr = { git = "https://github.com/Starry-OS/memory_addr.git", optional = true }
scheduler = { git = "https://github.com/Starry-OS/scheduler.git", optional = true }
timer_list = { git = "https://github.com/Starry-OS/timer_list.git", optional = true }
kernel_guard = { git = "https://github.com/Starry-OS/kernel_guard.git", optional = true }
taskctx = { git = "https://github.com/Starry-OS/taskctx.git" }
axlog = { git = "https://github.com/Starry-OS/axlog.git" }
linked_list = { git = "https://github.com/Starry-OS/linked_list.git" }
axbacktrace = { git = "https://github.com/kern-crates/axbacktrace.git" }
[dev-dependencies]
rand = "0.8"
axhal = { git = "https://github.com/Starry-OS/axhal.git", features = ["fp_simd"] }
axtask = { git = "https://github.com/Starry-OS/axtask.git", features = ["test"] }