15 lines
268 B
Rust
15 lines
268 B
Rust
#![no_std]
|
|
|
|
pub mod protocol;
|
|
pub mod server;
|
|
|
|
#[cfg(test)]
|
|
#[path = "tests/mod.rs"]
|
|
mod tests;
|
|
|
|
pub fn run() -> ! {
|
|
let mut srv = server::PermissionManager::new();
|
|
let ep = types::bounded::CapSlot::new(0).unwrap();
|
|
server_framework::serve(&mut srv, ep)
|
|
}
|