-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
38 lines (31 loc) · 1.25 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
cargo-features = ["edition2021"]
[package]
name = "moon_os"
version = "0.1.0"
authors = ["Emoon <[email protected]>"]
edition = "2021"
[dependencies]
x86_64 = "0.14.3" # enables port-mapped I/O abstractions
uart_16550 = "0.2.15" # implements UART to send data over serial port
pic8259 = "0.10.1" # implements chained x86 PICs
volatile = "0.2.6" # volatile variables avoid compiler optimizing away data
spin = "0.5.2" # spinlock mutex for synchron. safe internal mutability
pc-keyboard = "0.5.1" # maps PS/2 Set 1 scancodes to their respective key names
[dependencies.bootloader] # assists creation of bootable image
version = "0.9.18"
features = ["map_physical_memory"] # map virtual pages using physical offset strategy
[dependencies.lazy_static] # delegates initialization of static variables
version = "1.0"
features = ["spin_no_std"]
[package.metadata.bootimage] # allows shutdown of QEMU in testing
test-args = [
"-device", "isa-debug-exit,iobase=0xf4,iosize=0x04",
"-serial", "stdio", "-display", "none"
]
test-success-exit-code = 33 # maps ExitCode::Success, (0x10000 << 1) | 1, to 0
[[test]]
name = "should_panic"
harness = false # disables test runner for this specific test
[[test]]
name = "stack_overflow"
harness = false