-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
80 lines (64 loc) · 1.5 KB
/
Cargo.toml
File metadata and controls
80 lines (64 loc) · 1.5 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[package]
name = "kodios"
version = "0.1.0"
edition = "2024"
authors = ["Anders C. Sørby <anders@sorby.xyz>"]
[dependencies]
# bootloader = "0.11.12"
bootloader = { version = "0.9", features = ["map_physical_memory"] }
linked_list_allocator = { version = "0.9.0", optional = true }
spin = "0.10.0"
volatile = "0.2.6"
uart_16550 = "0.2.0"
pic8259 = "0.11.0"
pc-keyboard = "0.8.0"
[dependencies.crossbeam-queue]
version = "0.3.11"
default-features = false
features = ["alloc"]
[dependencies.conquer-once]
version = "0.2.0"
default-features = false
[dependencies.futures-util]
version = "0.3.4"
default-features = false
features = ["alloc"]
[features]
default = ["ext_linked_list_allocator"]
fsb_allocator = ["dep:linked_list_allocator"]
linked_list_allocator = []
ext_linked_list_allocator = ["dep:linked_list_allocator"]
bump_allocator = []
[dependencies.lazy_static]
version = "1.0"
features = ["spin_no_std"]
[target.'cfg(target_arch = "riscv64")'.dependencies]
riscv64 = "0.0.0"
[target.'cfg(target_arch = "x86_64")'.dependencies]
x86_64 = "0.15.2"
[[bin]]
name = "kodios"
test = true
bench = false
[[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
test-timeout = 300 # (in seconds)