Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
80 lines (68 loc) · 2.46 KB
/
Copy pathCargo.toml
File metadata and controls
80 lines (68 loc) · 2.46 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
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
68
69
70
71
72
73
74
75
76
77
78
79
80
[package]
name = "axstd"
version = "0.1.0"
edition = "2021"
authors = [
"Yuekai Jia <equation618@gmail.com>",
"yanjuguang <coolyanjg@163.com>",
"wudashuai <wu-ds20@mails.tsinghua.edu.cn>",
"yfblock <321353225@qq.com>",
"scPointer <bhy18@mails.tsinghua.edu.cn>",
"Shiping Yuan <robert_yuan@pku.edu.com>",
]
description = "ArceOS user library with an interface similar to rust std"
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/ulib/axstd"
documentation = "https://rcore-os.github.io/arceos/axstd/index.html"
keywords = ["Starry"]
[features]
default = []
# Multicore
smp = ["axfeat/smp", "spinlock/smp", "arch_boot/smp"]
# Floating point/SIMD
fp_simd = ["axfeat/fp_simd", "arch_boot/fp_simd"]
# Interrupts
irq = ["arceos_api/irq", "axfeat/irq", "arch_boot/irq"]
# Memory
alloc = ["arceos_api/alloc", "axfeat/alloc", "axio/alloc"]
alloc-tlsf = ["axfeat/alloc-tlsf"]
alloc-slab = ["axfeat/alloc-slab"]
alloc-buddy = ["axfeat/alloc-buddy"]
paging = ["axfeat/paging"]
tls = ["axfeat/tls"]
# Multi-threading and scheduler
multitask = ["arceos_api/multitask", "axfeat/multitask"]
sched_fifo = ["axfeat/sched_fifo"]
sched_rr = ["axfeat/sched_rr", "arch_boot/preempt"]
sched_cfs = ["axfeat/sched_cfs", "arch_boot/preempt"]
# File system
fs = ["arceos_api/fs", "axfeat/fs"]
myfs = ["arceos_api/myfs", "axfeat/myfs"]
fatfs = ["axfeat/fatfs"]
lwext4_rust = ["axfeat/lwext4_rust", "fs"]
# Networking
net = ["arceos_api/net", "axfeat/net"]
dns = []
# Display
display = ["arceos_api/display", "axfeat/display"]
# Device drivers
bus-mmio = ["axfeat/bus-mmio"]
bus-pci = ["axfeat/bus-pci"]
driver-ramdisk = ["axfeat/driver-ramdisk"]
driver-ixgbe = ["axfeat/driver-ixgbe"]
driver-bcm2835-sdhci = ["axfeat/driver-bcm2835-sdhci"]
# Logging
log-level-off = ["axfeat/log-level-off"]
log-level-error = ["axfeat/log-level-error"]
log-level-warn = ["axfeat/log-level-warn"]
log-level-info = ["axfeat/log-level-info"]
log-level-debug = ["axfeat/log-level-debug"]
log-level-trace = ["axfeat/log-level-trace"]
[dependencies]
axfeat = { git = "https://github.com/Starry-OS/axfeat.git" }
arceos_api = { git = "https://github.com/Starry-OS/arceos_api.git" }
axio = { git = "https://github.com/Starry-OS/axio.git" }
axerrno = { git = "https://github.com/Starry-OS/axerrno.git" }
spinlock = { git = "https://github.com/Starry-OS/spinlock.git" }
arch_boot = { git = "https://github.com/Starry-OS/arch_boot.git" }