Initial commit, copied examples from postcard-rpc repo.

This commit is contained in:
2025-08-04 16:59:17 +02:00
commit d494cd75aa
7 changed files with 1810 additions and 0 deletions

14
src/lib.rs Normal file
View File

@@ -0,0 +1,14 @@
#![deny(missing_debug_implementations)]
pub mod client;
pub use bioz_icd as icd;
pub async fn read_line() -> String {
tokio::task::spawn_blocking(|| {
let mut line = String::new();
std::io::stdin().read_line(&mut line).unwrap();
line
})
.await
.unwrap()
}