feat(display-server): add DisplayServer<F: Framebuffer> with protocol, mock adapter, and tests

This commit is contained in:
2026-10-18 03:03:58 +02:00
parent c14fe50c23
commit b6cfea814a
10 changed files with 336 additions and 12 deletions

View File

@@ -1,14 +1,10 @@
pub fn add(left: u64, right: u64) -> u64 {
left + right
}
#![no_std]
pub mod adapters;
pub mod framebuffer;
pub mod protocol;
pub mod server;
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}
#[path = "tests/mod.rs"]
mod tests;