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


[dependencies]
limine = { version = "0.1", git = "https://github.com/limine-bootloader/limine-rs" }

hbvm = { git = "https://git.ablecorp.us/ableos/holey-bytes" }
# hbasm = { git = "https://git.ablecorp.us/ableos/holey-bytes" }

embedded-graphics = "0.7.1"


error-stack = { version = "0.3", default-features = false }
log = "0.4"
spin = "0.9"
uart_16550 = "0.2"
slab = { version = "0.4", default-features = false }
xml = { git = "https://git.ablecorp.us/ableos/ableos_userland" }

clparse = { git = "https://git.ablecorp.us/ableos/ableos_userland", default-features = false }
versioning = { git = "https://git.ablecorp.us/ableos/ableos_userland" }
able_graphics_library = { git = "https://git.ablecorp.us/ableos/ableos_userland" }
hashbrown = "*"

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

[dependencies.derive_more]
version = "0.99"
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.14"
x2apic = "0.4"
virtio-drivers = "0.4.0"
# rdrand = "*"
rdrand = { version = "0.8", default-features = false }


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