yggdrasil/kernel/Cargo.toml

91 lines
2.3 KiB
TOML
Raw Normal View History

2023-07-18 18:03:45 +03:00
[package]
name = "yggdrasil-kernel"
version = "0.1.0"
edition = "2021"
2023-08-05 16:32:12 +03:00
build = "build.rs"
2023-12-11 03:04:49 +02:00
authors = ["Mark Poliakov <mark@alnyan.me>"]
2023-07-18 18:03:45 +03:00
[dependencies]
abi-lib.workspace = true
yggdrasil-abi.workspace = true
kernel-arch-interface.workspace = true
libk.workspace = true
libk-util.workspace = true
libk-mm.workspace = true
libk-device.workspace = true
elf.workspace = true
2024-12-02 10:19:48 +02:00
chrono.workspace = true
2024-03-12 13:46:24 +02:00
device-api = { workspace = true, features = ["derive"] }
device-api-macros.workspace = true
2023-07-18 18:03:45 +03:00
memtables.workspace = true
vmalloc.workspace = true
kernel-arch.workspace = true
# Drivers
2024-02-03 20:44:04 +02:00
ygg_driver_pci = { path = "driver/bus/pci" }
2024-02-26 23:04:51 +02:00
ygg_driver_usb = { path = "driver/bus/usb" }
ygg_driver_net_core = { path = "driver/net/core" }
2024-01-26 18:53:07 +02:00
ygg_driver_net_loopback = { path = "driver/net/loopback" }
2024-02-03 20:44:04 +02:00
ygg_driver_virtio_net = { path = "driver/virtio/net", features = ["pci"] }
2024-02-04 13:15:18 +02:00
ygg_driver_ahci = { path = "driver/block/ahci" }
2024-02-26 23:04:51 +02:00
ygg_driver_usb_xhci = { path = "driver/usb/xhci" }
ygg_driver_input = { path = "driver/input" }
2024-02-04 13:15:18 +02:00
kernel-fs = { path = "driver/fs/kernel-fs" }
2023-12-11 03:04:49 +02:00
memfs = { path = "driver/fs/memfs" }
2024-07-30 17:46:50 +03:00
ext2 = { path = "driver/fs/ext2" }
log.workspace = true
bitflags.workspace = true
tock-registers.workspace = true
static_assertions.workspace = true
bytemuck.workspace = true
futures-util.workspace = true
crossbeam-queue.workspace = true
async-trait.workspace = true
2024-07-28 12:53:30 +03:00
git-version = "0.3.9"
2023-07-28 14:26:39 +03:00
2023-07-29 19:31:56 +03:00
[target.'cfg(target_arch = "aarch64")'.dependencies]
aarch64-cpu.workspace = true
device-tree.workspace = true
kernel-arch-aarch64.workspace = true
2023-07-29 19:31:56 +03:00
2023-07-28 14:26:39 +03:00
[target.'cfg(target_arch = "x86_64")'.dependencies]
yboot-proto.workspace = true
kernel-arch-x86_64.workspace = true
kernel-arch-x86.workspace = true
2024-01-04 23:04:34 +02:00
ygg_driver_nvme = { path = "driver/block/nvme" }
acpi.workspace = true
aml.workspace = true
acpi-system.workspace = true
2024-10-10 18:06:54 +03:00
[target.'cfg(target_arch = "x86")'.dependencies]
kernel-arch-i686.workspace = true
kernel-arch-x86.workspace = true
2024-10-10 18:06:54 +03:00
2024-03-12 13:46:24 +02:00
[build-dependencies]
abi-generator.workspace = true
2024-03-12 13:46:24 +02:00
prettyplease = "0.2.15"
# To make rust-analyzer recognize those
[dev-dependencies]
aarch64-cpu.workspace = true
device-tree.workspace = true
kernel-arch-x86_64.workspace = true
kernel-arch-i686.workspace = true
kernel-arch-x86.workspace = true
kernel-arch-aarch64.workspace = true
[features]
default = ["fb_console"]
2023-09-06 18:48:00 +03:00
fb_console = []
2024-07-25 11:58:47 +03:00
2024-11-19 19:33:08 +02:00
[lints]
workspace = true