hypixel-bazaar-tui 1.1.0

A TUI application to view the Hypixel Bazaar data. An upgraded version of my old CLI version
mod app;
mod events;
mod ui;
mod util;

use crate::app::state::App;
use hypixel::HypixelClient;
use std::error::Error;
use std::time::Duration;

#[tokio::main]
async fn main() -> Result<(), Box<dyn Error>> {
    // Keyless endpoint; clones share this client's connection pool.
    let client = HypixelClient::builder()
        .timeout(Duration::from_secs(10))
        .retry_on_rate_limit(2)
        .build();

    let initial = client.skyblock_bazaar().await?;
    let mut app = App::new(client, initial);

    events::run::run_app(&mut app).await?;
    Ok(())
}