diff --git a/Cargo.lock b/Cargo.lock index 0fb5c61..549948f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -449,12 +449,6 @@ version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" -[[package]] -name = "hex" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" - [[package]] name = "http" version = "1.1.0" @@ -630,7 +624,6 @@ dependencies = [ "bitflags", "byteorder", "clap", - "hex", "num", "num_enum", "reqwest", diff --git a/Cargo.toml b/Cargo.toml index cfab70e..901a5e2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,6 @@ anyhow = { version = "1.0.86", features = ["backtrace"] } bitflags = "2.6.0" byteorder = "1.5.0" clap = { version = "4.5.9", features = ["derive"] } -hex = "0.4.3" num = "0.4.3" num_enum = "0.7.2" sha1 = "0.10.6" diff --git a/src/game_list/mod.rs b/src/game_list/mod.rs index cd6d8dc..fa8fab3 100644 --- a/src/game_list/mod.rs +++ b/src/game_list/mod.rs @@ -1,6 +1,7 @@ // DO NOT EDIT; this file is auto-generated. // Run `./generate.bash titles.jsonl mod.rs` to re-generate. + pub fn find_title_by_id(title_id: u32) -> Option { GAMES_BY_TITLE_ID .binary_search_by_key(&title_id, |x| x.0)