General & Crypto

This commit is contained in:
Alex Emmet 2026-06-20 15:25:36 +02:00
commit 02f94993c7
27 changed files with 1881 additions and 47 deletions

View file

@ -1,14 +1,12 @@
pub fn add(left: u64, right: u64) -> u64 {
left + right
}
pub mod client;
pub mod connection;
pub mod connection_handle;
#[cfg(test)]
mod tests {
use super::*;
pub use client::connect;
pub use connection::{Policy, Receiver, SendMode, Sender};
pub use connection_handle::ConnectionHandle;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}
#[cfg(feature = "host")]
pub mod host;
#[cfg(feature = "host")]
pub use host::{Host, host};