-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
93 lines (83 loc) · 2.05 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[package]
name = "rtshyper_rs"
version = "0.2.0"
authors = ["Ce Mo"]
edition = "2021"
build = "build.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.dev]
panic = "abort"
[profile.release]
lto = true
panic = "abort"
debug = true
[build-dependencies]
chrono = "0.4.23"
built = { version = "0.6.1", features = [] }
gethostname = "0.4.3"
[workspace]
members = [
"deps/libfdt-binding",
"deps/spin",
"deps/ffi_interface",
"deps/raii",
"deps/raii-derive",
]
[dependencies]
shyper = { git = "https://github.com/tsemo4917/libshyper" }
fdt = { path = "deps/libfdt-binding" }
spin = { version = "0.9.8" }
buddy_system_allocator = { version = "0.9.0", default-features = false }
vm-fdt = { git = "https://github.com/migu4917/vm-fdt", features = ["alloc"] }
log = { version = "0.4", features = [
"max_level_info",
"release_max_level_info",
] }
tock-registers = "0.8.0"
static_assertions = "1.1.0"
derive_more = "0.99.17"
intrusive-collections = "0.9"
cfg-if = "1.0.0"
ffi_interface = { path = "deps/ffi_interface" }
raii = { path = "deps/raii" }
# optional dependencies
spin-irqsave = { package = "spin", path = "deps/spin", optional = true }
fastrand = { version = "2.0.0", default-features = false, features = [
"alloc",
], optional = true }
[target.'cfg(target_arch = "aarch64")'.dependencies]
aarch64-cpu = "9.3.1"
smccc = "0.1.1"
[features]
default = ["tx2"]
tx2 = [
"pa-bits-39",
"iommu",
"vtimer",
"ns16550",
"self-coloring",
"memory-reservation",
]
qemu = ["pa-bits-39", "pl011", "preempt"]
pi4 = ["pa-bits-39", "gpio", "pl011", "preempt"]
ramdisk = []
static-config = []
ns16550 = []
pl011 = []
preempt = ["spin-irqsave"]
unishyper = []
unilib = []
pa-bits-39 = []
pa-bits-48 = []
gpio = []
vtimer = []
balloon = []
iommu = ["smmuv2"]
smmuv2 = []
self-coloring = []
trap-wfi = []
rt-sched = [] # real-time scheduling
memory-reservation = ["fastrand", "dynamic-budget"]
# This feature "dynamic-budget" belongs to "memory-reservation"
dynamic-budget = []
trace-memory = []