[package]
edition = "2021"
name = "kernel"
version = "0.2.0"


[dependencies]
# embedded-graphics = "0.8"
hbvm = { git = "https://git.ablecorp.us/AbleOS/holey-bytes.git", features = [
	"nightly",
] }
log = "0.4"
spin = "0.9"
slab = { version = "0.4", default-features = false }
uart_16550 = { version = "0.3", features = ["nightly"] }
xml.git = "https://git.ablecorp.us/ableos/ableos_userland"
versioning.git = "https://git.ablecorp.us/ableos/ableos_userland"
# able_graphics_library.git = "https://git.ablecorp.us/ableos/ableos_userland"
hashbrown = { version = "0.15", features = ["nightly"] }
limine = "0.1"

[dependencies.crossbeam-queue]
version = "0.3"
default-features = false
features = ["alloc", "nightly"]

[dependencies.derive_more]
version = "1"
default-features = false
features = [
	"add",
	"add_assign",
	"constructor",
	"display",
	"from",
	"into",
	"mul",
	"mul_assign",
	"not",
	"sum",
]


[target.'cfg(target_arch = "x86_64")'.dependencies]
x86_64 = "0.15"
x2apic = "0.4"
# virtio-drivers = "0.7"

[target.'cfg(target_arch = "riscv64")'.dependencies]
sbi = "0.2.0"

[target.'cfg(target_arch = "aarch64")'.dependencies]
aarch64-cpu = "9"