nexgenomics 0.2.11

The official Rust crate for NexGenomics
Documentation


// src/lib.rs
#![doc=include_str!("../README.md")]

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




// TODO, Too many mods, we will need to refactor this...

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


#[allow(dead_code)]
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);
    }
}