hop-cli 0.2.61

Interact with Hop in your terminal
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![deny(clippy::pedantic, clippy::nursery)] // clippy::cargo is removed because of dependency issues :( (tokio and hyper)

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    #[cfg(debug_assertions)]
    let now = tokio::time::Instant::now();

    // a lib level function
    // for proper type checking
    hop_cli::run().await?;

    #[cfg(debug_assertions)]
    log::debug!("Finished in {:#?}", now.elapsed());

    Ok(())
}