-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
63 lines (53 loc) · 1.41 KB
/
Copy pathCargo.toml
File metadata and controls
63 lines (53 loc) · 1.41 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
[package]
name = "rust_os"
version = "0.2.0"
edition = "2024"
description = "A small x86_64 kernel written in Rust"
license = "MIT"
repository = "https://github.com/ismoilovdevml/rust-os"
[dependencies]
bootloader = { version = "0.9.31", features = ["map_physical_memory"] }
x86_64 = "0.15.5"
spin = "0.9.8"
uart_16550 = "0.6.0"
pic8259 = "0.11.0"
pc-keyboard = "0.9.0"
linked_list_allocator = "0.10.5"
[dependencies.crossbeam-queue]
version = "0.3.13"
default-features = false
features = ["alloc"]
[dependencies.conquer-once]
version = "0.4.0"
default-features = false
[dependencies.futures-util]
version = "0.3.33"
default-features = false
features = ["alloc"]
# Integration tests under `tests/` link against the crate, not its dependency
# graph, so anything they name directly has to be repeated here.
[dev-dependencies]
bootloader = { version = "0.9.31", features = ["map_physical_memory"] }
x86_64 = "0.15.5"
spin = "0.9.8"
# Each of these asserts a single fatal event, so neither can use the normal
# multi-test harness.
[[test]]
name = "should_panic"
harness = false
[[test]]
name = "stack_overflow"
harness = false
[profile.dev]
panic = "abort"
[profile.release]
panic = "abort"
[package.metadata.bootimage]
run-args = ["-serial", "stdio"]
test-args = [
"-device", "isa-debug-exit,iobase=0xf4,iosize=0x04",
"-serial", "stdio",
"-display", "none",
]
test-success-exit-code = 33 # (0x10 << 1) | 1
test-timeout = 60