-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathCargo.toml
44 lines (38 loc) · 1.35 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
[package]
name = "eduos-rs"
version = "0.1.0"
license = "MIT/Apache-2.0"
authors = ["Stefan Lankes <[email protected]>"]
edition = "2021"
[package.metadata.bootimage]
build-command = ["build"]
# The command invoked with the created bootimage (the "{}" will be replaced
# with the path to the bootable disk image)
# Applies to `bootimage run` and `bootimage runner`
run-command = ["qemu-system-x86_64", "-display", "none", "-smp", "1", "-m", "256M", "-serial", "stdio", "-cpu", "qemu64,apic,fsgsbase,rdtscp,xsave,xsaveopt,fxsr", "-device", "isa-debug-exit,iobase=0xf4,iosize=0x04", "-drive", "format=raw,file={}"]
# Additional arguments passed to the run command for non-test executables
# Applies to `bootimage run` and `bootimage runner`
run-args = []
[features]
default = ["qemu-exit"]
vga = []
[dependencies]
bitflags = "2.7"
spinning_top = "0.3"
lock_api = "0"
qemu-exit = { version = "3.0", optional = true }
x86 = { version = "0.52", default-features = false }
cfg-if = "1.0"
num = { version = "0.4", default-features = false }
num-derive = "0.4"
[target.'cfg(target_arch = "x86_64")'.dependencies.bootloader]
version = "0.9.29"
default-features = false
features = ["recursive_page_table"]
[dependencies.num-traits]
version = "0.2"
default-features = false
[dependencies.goblin]
version = "0.9"
default-features = false
features = ["elf64", "elf32", "endian_fd"]