rs-histver 0.2.1

A CLI tool and library for querying Rust historical release versions with local redb cache
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use anyhow::Result;
use clap::Parser;
use rs_histver::cli::Cli;

#[tokio::main]
async fn main() -> Result<()> {
    // 1. Parse CLI arguments
    let cli = Cli::parse();

    // 2. Initialize application with default config
    let cfg = rs_histver::Config::new();
    let app = rs_histver::app::App::init(cfg)?;

    // 3. Execute business logic
    app.execute(cli.command).await
}