Skip to content

Commit 693e55d

Browse files
authored
Merge pull request #448 from cakebaker/bump_phf_crates
Bump `phf` and `phf_codegen` & fix compilation error
2 parents 9e7c760 + 7a77aaa commit 693e55d

3 files changed

Lines changed: 50 additions & 11 deletions

File tree

Cargo.lock

Lines changed: 47 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ crossterm = "0.29.0"
6060
ctor = "0.4.1"
6161
libc = "0.2.154"
6262
nix = { version = "0.30", default-features = false, features = ["process"] }
63-
phf = "0.11.2"
64-
phf_codegen = "0.11.2"
63+
phf = "0.12.1"
64+
phf_codegen = "0.12.1"
6565
prettytable-rs = "0.10.0"
6666
rand = { version = "0.9.0", features = ["small_rng"] }
6767
ratatui = "0.29.0"

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pub fn main() {
5353
let mut phf_map = phf_codegen::OrderedMap::<&str>::new();
5454
for krate in &crates {
5555
let map_value = format!("({krate}::uumain, {krate}::uu_app)");
56-
phf_map.entry(krate, &map_value);
56+
phf_map.entry(krate, map_value);
5757
}
5858
write!(mf, "{}", phf_map.build()).unwrap();
5959
mf.write_all(b"\n}\n").unwrap();

0 commit comments

Comments
 (0)