forked from Starry-OS/axstarry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
73 lines (57 loc) · 1.98 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
68
69
70
71
72
73
[package]
name = "axstarry"
version = "0.1.0"
edition = "2021"
keywords = ["Starry"]
authors = ["Youjie Zheng <[email protected]>"]
description = "ArceOS user program library for linux apps with posix_syscall"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["monolithic"]
monolithic = ["arch_boot/monolithic", "axfeat/monolithic", "paging", "fs", "multitask", "irq", "net"]
alloc = ["axfeat/alloc"]
img = ["axfeat/img"]
# Multicore
smp = ["axfeat/smp", "arch_boot/smp"]
# Floating point/SIMD
fp_simd = ["axfeat/fp_simd", "arch_boot/fp_simd"]
# Interrupts
irq = ["axfeat/irq", "arch_boot/irq"]
# Memory
paging = ["axfeat/paging"]
tls = ["axfeat/tls"]
# Multi-threading and scheduler
multitask = ["axfeat/multitask"]
sched_fifo = ["axfeat/sched_fifo"]
sched_rr = ["axfeat/sched_rr", "arch_boot/preempt"]
sched_cfs = ["axfeat/sched_cfs", "arch_boot/preempt"]
# Display
display = ["axfeat/display"]
# Bus-Pci
bus-pci = ["axfeat/bus-pci"]
# Fs
fs = ["axfeat/fs"]
fatfs = ["axfeat/fatfs"]
lwext4_rust = ["axfeat/lwext4_rust"]
ext4_rs = ["axfeat/ext4_rs"]
another_ext4 = ["axfeat/another_ext4"]
myfs = ["axfeat/myfs"]
devfs = []
# Network
net = ["axfeat/net", "linux_syscall_api/net"]
ixgbe_net = ["net", "axfeat/driver-ixgbe"]
e1000_net = ["net", "axfeat/driver-e1000"]
# 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]
linux_syscall_api = { git = "https://github.com/Starry-OS/linux_syscall_api.git" }
axfeat = { git = "https://github.com/Starry-OS/axfeat.git" }
axlog = { git = "https://github.com/Starry-OS/axlog.git" }
arch_boot = { git = "https://github.com/Starry-OS/arch_boot.git" }
axtask = { git = "https://github.com/Starry-OS/axtask.git" }
axfs = { git = "https://github.com/Starry-OS/axfs.git" }