1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
//! onlyne-client role runtime. pub mod host; pub mod ops; pub mod runtime; pub mod session; pub use runtime::runloop::ClientInit; pub async fn run(init: ClientInit) -> anyhow::Result<()> { runtime::runloop::run(init).await } pub fn version() -> &'static str { env!("CARGO_PKG_VERSION") } #[cfg(test)] mod tests { #[test] fn reports_package_version() { assert!(!super::version().is_empty()); } }