-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
45 lines (37 loc) · 1017 Bytes
/
Cargo.toml
File metadata and controls
45 lines (37 loc) · 1017 Bytes
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
[package]
name = "hugo4os"
version = "0.1.0"
edition = "2021"
[workspace]
members = [
"crates/hugo4os_std",
"crates/hugo4os_syscall",
"crates/bootloader_bios",
"crates/hugo4os_x86_64_bios",
]
[features]
default = ["serial"]
verbose = ["serial"]
serial = ["uart_16550"]
[dependencies]
# External
crossbeam-queue = { version = "0.3.5", default-features = false, features = ["alloc"] }
futures-util = { version = "0.3.5", default-features = false, features = ["alloc"] }
conquer-once = { version = "0.3.2", default-features = false }
bootloader_bios = { path = "./crates/bootloader_bios" }
uart_16550 = { version = "0.2.17", optional = true }
pc-keyboard = "0.5.1"
fontdue = "0.7.2"
libm = "0.2.1"
# Internal
hugo4os_syscall = { path = "./crates/hugo4os_syscall" }
[package.metadata.bootloader]
map-physical-memory = true
[profile.dev]
opt-level = 1 # Initial boot is incredibly slow on opt-level=0
panic = "abort"
[profile.release]
panic = "abort"
lto = false
debug = true
overflow-checks = true