Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
41 lines (36 loc) · 1.61 KB
/
Copy pathCargo.toml
File metadata and controls
41 lines (36 loc) · 1.61 KB
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
[package]
name = "arceos_api"
version = "0.1.0"
edition = "2021"
authors = ["Yuekai Jia <equation618@gmail.com>"]
description = "Public APIs and types for ArceOS modules"
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/api/arceos_api"
documentation = "https://rcore-os.github.io/arceos/arceos_api/index.html"
keywords = ["Starry"]
[features]
default = []
irq = ["axfeat/irq"]
alloc = ["dep:axalloc", "axfeat/alloc"]
multitask = ["axtask/multitask", "axfeat/multitask"]
fs = ["dep:axfs", "axfeat/fs"]
net = ["dep:axnet", "axfeat/net"]
display = ["dep:axdisplay", "axfeat/display"]
async = ["axtask/async"]
myfs = ["axfeat/myfs"]
# Use dummy functions if the feature is not enabled
dummy-if-not-enabled = []
[dependencies]
axfeat = { git = "https://github.com/Starry-OS/axfeat.git" }
axruntime = { git = "https://github.com/Starry-OS/axruntime.git" }
axconfig = { git = "https://github.com/Starry-OS/axconfig.git" }
axlog = { git = "https://github.com/Starry-OS/axlog.git" }
axio = { git = "https://github.com/Starry-OS/axio.git" }
axerrno = { git = "https://github.com/Starry-OS/axerrno.git" }
axhal = { git = "https://github.com/Starry-OS/axhal.git" }
axalloc = { git = "https://github.com/Starry-OS/axalloc.git", optional = true }
axtask = { git = "https://github.com/Starry-OS/axtask.git", optional = true }
axfs = { git = "https://github.com/Starry-OS/axfs.git", optional = true }
axnet = { git = "https://github.com/Starry-OS/axnet.git", optional = true }
axdisplay = { git = "https://github.com/Starry-OS/axdisplay.git", optional = true }