forked from KuangjuX/hypercraft
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathCargo.toml
49 lines (40 loc) · 1.41 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
[package]
name = "hypercraft"
version = "0.1.0"
edition = "2021"
authors = ["KuangjuX <[email protected]>"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
type1_5 = []
[dependencies]
log = "0.4.17"
memoffset = { version = ">=0.6.5", features = ["unstable_const"] }
arrayvec = { version = "0.7.2", default-features = false }
spin = { version = "0.9", features = ["once", "rwlock", "spin_mutex"] }
tock-registers = "0.8.1"
cortex-a = "8.1.1"
aarch64-cpu = "9.3"
# arceos crates
page_table = { path = "../page_table" }
page_table_entry = { path = "../page_table_entry" }
arm_gic = { path = "../arm_gic" }
spinlock = { path = "../spinlock" }
memory_addr = { path = "../memory_addr" }
[dependencies.iced-x86]
version = "1.21.0"
default-features = false
# See below for all features
features = ["no_std", "decoder", "masm"]
[target.'cfg(target_arch = "riscv64")'.dependencies]
riscv = { git = "https://github.com/rcore-os/riscv", features = ["inline-asm"] }
riscv-decode = { git = "https://github.com/KuangjuX/riscv-decode.git" }
sbi-spec = { version = "0.0.6", features = ["legacy"] }
sbi-rt = { version = "0.0.2", features = ["integer-impls", "legacy"] }
[target.'cfg(target_arch = "x86_64")'.dependencies]
raw-cpuid = "10.2"
bitflags = "1.3"
bit_field = "0.10"
bit-set = { version = "0.5", default-features = false }
x86 = "0.52"
x86_64 = "0.14"
numeric-enum-macro = "0.2"