From f2544cbabdda9c5d72e0a0905b929ad6a217908d Mon Sep 17 00:00:00 2001 From: Crauzer <0xcrauzer@proton.me> Date: Sat, 3 Oct 2026 13:19:43 +0200 Subject: [PATCH] feat(cli): default to mimir-tables --- README.md | 2 +- crates/ltk_mimir_cli/src/main.rs | 4 ++-- docs/CONSUMERS.md | 12 +++++++----- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index a8fb26d..2097609 100644 --- a/README.md +++ b/README.md @@ -193,7 +193,7 @@ connection - and wrapping a fetcher is how you cancel a download in flight (see use ltk_mimir_cache::{HashStore, ReleaseSource, UpdateOptions, UpdateOutcome, UreqFetch}; let store = HashStore::discover()?; -let remote = UreqFetch::new(ReleaseSource::github("LeagueToolkit/mimir")); +let remote = UreqFetch::new(ReleaseSource::github("LeagueToolkit/mimir-tables")); match store.update(&remote, UpdateOptions::default())? { UpdateOutcome::Completed(report) => println!("installed {:?}", report.installed), diff --git a/crates/ltk_mimir_cli/src/main.rs b/crates/ltk_mimir_cli/src/main.rs index aa009d6..53a6923 100644 --- a/crates/ltk_mimir_cli/src/main.rs +++ b/crates/ltk_mimir_cli/src/main.rs @@ -124,7 +124,7 @@ enum Command { /// Say what an update would do, without downloading or locking anything. Check { /// GitHub repository whose latest release ships the tables. - #[arg(long, default_value = "LeagueToolkit/mimir")] + #[arg(long, default_value = "LeagueToolkit/mimir-tables")] repo: String, /// Base URL serving `manifest.json` and the `.lhdb` assets (a mirror); @@ -139,7 +139,7 @@ enum Command { Update { /// GitHub repository whose latest release ships the tables. - #[arg(long, default_value = "LeagueToolkit/mimir")] + #[arg(long, default_value = "LeagueToolkit/mimir-tables")] repo: String, /// Base URL serving `manifest.json` and the `.lhdb` assets (a mirror); diff --git a/docs/CONSUMERS.md b/docs/CONSUMERS.md index 3b82b11..0d4492d 100644 --- a/docs/CONSUMERS.md +++ b/docs/CONSUMERS.md @@ -244,8 +244,10 @@ miss stays in your tool - mimir returns `Option`, it never invents a hex string. ## Getting and updating tables -Tables are published as GitHub release assets: each release carries every table as an -immutable `