-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
69 lines (58 loc) · 1.55 KB
/
Copy pathCargo.toml
File metadata and controls
69 lines (58 loc) · 1.55 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
[package]
name = "axiom_os"
version = "0.3.0-alpha"
edition = "2024"
description = "Axiom OS - bare-metal kernel with BLAKE3 provenance enforcement on every read"
license = "MIT"
[[bin]]
name = "axiom_os"
path = "src/main.rs"
test = true
bench = false
[[bin]]
name = "axiom_os_arm"
path = "src/arch/aarch64/main.rs"
test = false
bench = false
[dependencies]
blake3 = { version = "1.8.3", default-features = false }
spin = "0.5.2"
linked_list_allocator = "0.9.0"
[dependencies.lazy_static]
version = "1.0"
features = ["spin_no_std"]
[dependencies.futures-util]
version = "0.3"
default-features = false
features = ["alloc"]
[dependencies.crossbeam-queue]
version = "0.3"
default-features = false
features = ["alloc"]
[dependencies.conquer-once]
version = "0.2"
default-features = false
[target.'cfg(target_arch = "x86_64")'.dependencies]
# x86 kernel is soft-float / no-SSE, so BLAKE3 stays pure-Rust here.
blake3 = { version = "1.8.3", default-features = false, features = ["pure"] }
bootloader = { version = "0.9", features = ["map_physical_memory"] }
volatile = "0.2.6"
x86_64 = "0.14.2"
uart_16550 = "0.2.0"
pic8259 = "0.10.1"
pc-keyboard = "0.7.0"
[target.'cfg(target_arch = "aarch64")'.dependencies]
# ARM boot already enables FP/SIMD at EL1 (CPACR_EL1), so NEON is usable.
blake3 = { version = "1.8.3", default-features = false, features = ["neon"] }
[package.metadata.bootimage]
test-args = [
"-device",
"isa-debug-exit,iobase=0xf4,iosize=0x04",
"-serial",
"stdio",
"-display",
"none",
]
test-success-exit-code = 33
[build-dependencies]
ar = "0.9"