nexgenomics 0.2.4

The official Rust crate for NexGenomics
Documentation


use nexgenomics::ping;

#[tokio::test]
#[cfg(feature="async")]
async fn test_ping() {
    let r = ping::ping().await.unwrap();
    println!("ASYNC PING ^^^ {:#?} &&&&",r)

}

#[test]
#[cfg(feature="blocking")]
fn test_ping_blocking() {
    let r = ping::ping().unwrap();
    println!("BLOCKING PING ^^^ {:#?} &&&&",r)
}