redgold_common_no_wasm/
lib.rs1
2#![allow(unused_imports)]
3pub mod data_folder_read_ext;
4pub mod retry;
5pub mod cmd;
6pub mod tx_new;
7pub mod machine_info;
8pub mod ssh_like;
9pub mod output_handlers;
10
11pub mod stream_handlers;
12pub mod arc_swap_wrapper;
13pub mod readers_writers;
14pub mod cleanup;
15pub mod tokio_help;
16pub fn add(left: u64, right: u64) -> u64 {
17 left + right
18}
19
20#[cfg(test)]
21mod tests {
22 use super::*;
23
24 #[test]
25 fn it_works() {
26 let result = add(2, 2);
27 assert_eq!(result, 4);
28 }
29}