nexgenomics 0.2.4

The official Rust crate for NexGenomics
Documentation


// src/lib.rs

#[cfg(all(feature="async",feature="blocking"))]
compile_error!("Features async and blocking are mutually exclusive");

pub mod ping;
pub mod agents;
pub mod images;
pub mod threads;
mod utils;


pub fn add(left: u64, right: u64) -> u64 {
    left + right
}


#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn it_works() {
        let result = add(2, 2);
        assert_eq!(result, 4);
    }
}