forked from Starry-OS/StarryOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
140 lines (124 loc) · 3.44 KB
/
Cargo.toml
File metadata and controls
140 lines (124 loc) · 3.44 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
[workspace]
resolver = "2"
members = ["api", "core"]
exclude = ["arceos"]
[workspace.package]
version = "0.1.0"
edition = "2024"
license = "Apache-2.0"
authors = [
"Azure-stars <Azure_stars@126.com>",
"Yuekai Jia <equation618@gmail.com>",
"KylinSoft Co., Ltd. <https://www.kylinos.cn/>",
"朝倉水希 <asakuramizu111@gmail.com>",
"Mivik <mivikq@gmail.com>",
]
homepage = "https://github.com/arceos-org/arceos"
repository = "https://github.com/arceos-org/starry-next"
[workspace.dependencies]
axfeat = { path = "arceos/api/axfeat", features = [
"alloc-slab",
"fp-simd",
"fs-ext4",
"irq",
"multitask",
"net",
"page-alloc-4g",
"rtc",
"sched-rr",
"task-ext",
"uspace",
] }
axalloc = { path = "arceos/modules/axalloc" }
axconfig = { path = "arceos/modules/axconfig" }
axdisplay = { path = "arceos/modules/axdisplay" }
axdriver = { path = "arceos/modules/axdriver" }
axfs = { path = "arceos/modules/axfs" }
axhal = { path = "arceos/modules/axhal" }
axinput = { path = "arceos/modules/axinput" }
axlog = { path = "arceos/modules/axlog" }
axmm = { path = "arceos/modules/axmm" }
axnet = { path = "arceos/modules/axnet" }
axruntime = { path = "arceos/modules/axruntime" }
axsync = { path = "arceos/modules/axsync" }
axtask = { path = "arceos/modules/axtask" }
axbacktrace = "0.1"
axerrno = "0.2"
axfs-ng-vfs = "0.1"
axio = "0.3.0-pre.1"
axpoll = "0.1"
bitflags = "2.10"
bytemuck = { version = "1.23", features = ["unsound_ptr_pod_impl"] }
cfg-if = "1.0"
event-listener = { version = "5.4.0", default-features = false }
extern-trait = "0.2"
hashbrown = "0.16"
kspin = "0.1"
lazy_static = { version = "1.5", features = ["spin_no_std"] }
linkme = "0.3.33"
linux-raw-sys = { version = "0.11", default-features = false, features = [
"no_std",
"general",
"net",
"prctl",
"system",
] }
memory_addr = "0.4"
scope-local = "0.1"
slab = { version = "0.4.9", default-features = false }
spin = "0.10"
starry-process = "0.2"
starry-signal = { version = "0.2", git = "https://github.com/Starry-OS/starry-signal.git", tag = "dev-v02" }
starry-vm = "0.2"
starry-core = { path = "./core" }
starry-api = { path = "./api" }
[package]
name = "starry"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
[features]
default = []
qemu = [
"axfeat/display",
"axfeat/input",
"starry-api/input",
"axfeat/vsock",
"starry-api/vsock",
"axfeat/defplat",
"axfeat/bus-pci",
# auxilary features
"axfeat/fs-times",
"starry-api/dev-log",
]
smp = ["axfeat/smp", "axplat-riscv64-visionfive2?/smp"]
vf2 = ["dep:axplat-riscv64-visionfive2", "axfeat/driver-sdmmc"]
[dependencies]
axdriver.workspace = true
axerrno.workspace = true
axfeat.workspace = true
axfs.workspace = true
axhal.workspace = true
axlog.workspace = true
axruntime.workspace = true
axsync.workspace = true
axtask.workspace = true
cfg-if.workspace = true
linkme.workspace = true
linux-raw-sys.workspace = true
starry-process.workspace = true
starry-signal.workspace = true
starry-core.workspace = true
starry-api.workspace = true
[dependencies.axplat-riscv64-visionfive2]
version = "0.3"
git = "https://github.com/Starry-OS/axplat-riscv64-visionfive2.git"
tag = "dev-v03"
features = ["fp-simd", "irq", "rtc"]
optional = true
[package.metadata.vendor-filter]
platforms = ["riscv64gc-unknown-none-elf", "loongarch64-unknown-none-softfloat"]
all-features = true