lib.rs (386B)
1 // since the loader is locked in the ev loop, only 1 reference to a unit can be held at await points 2 // in start/teardown, only 1 reference is held as well 3 #![allow(clippy::await_holding_refcell_ref)] 4 5 pub use control::*; 6 7 mod control; 8 // mod event; 9 mod loader; 10 11 // TODO; this will be revamped anyway 12 pub async fn event(_data: Vec<u8>) -> kanit_common::error::Result<()> { 13 Ok(()) 14 }