d9bbdff08c
these should be used to include external files and resources in the kernel binary
at compile time.
- libm currently supports loading psf-1 formatted fonts
- added two fonts that are included in the binary at compile time
- refactored libk to make the crate structure more organised and maintainable in future.
new structure:
- drivers (hardware interaction)
- resources (consts and statics included either manually or via macros)
- std (standard functions for higher level interaction with the os, for example creating windows)
- added geometry.rs
- provides the Vec2<T> struct for use with dimensions, coordinates etc.
- added window.rs
- provides the Window struct for rendering the state of an application to the screen
- added application.rs
- provides the Application trait for custom programs to implement in order to run
23 lines
546 B
TOML
23 lines
546 B
TOML
[package]
|
|
name = "libk"
|
|
publish = ["gitea"]
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
authors.workspace = true
|
|
description = "A library crate used to write the kernel for Foundry OS."
|
|
|
|
[dependencies]
|
|
limine = "0.3.1"
|
|
x86_64 = "0.15.2"
|
|
crossbeam = { version = "0.8.4", default-features = false, features = [
|
|
"alloc",
|
|
"crossbeam-queue",
|
|
] }
|
|
pc-keyboard = "0.8.0"
|
|
spin = "0.9.8"
|
|
futures-util = { version = "0.3.31", default-features = false, features = [
|
|
"alloc",
|
|
] }
|
|
linked_list_allocator = "0.10.5"
|
|
libm = { path = "../libm" }
|