diff --git a/Cargo.toml b/Cargo.toml index a0f650fa..03245bef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,10 +32,10 @@ proc-macro2 = "1" log = "0.4" mac = "0.1" tendril = "0.4" -string_cache = "0.8.8" -string_cache_codegen = "0.5.4" -phf = "0.11" -phf_codegen = "0.11" +string_cache = "0.9.0" +string_cache_codegen = "0.6.0" +phf = "0.13" +phf_codegen = "0.13" # Dev dependencies criterion = "0.6" diff --git a/web_atoms/build.rs b/web_atoms/build.rs index 73cad2f3..a1463107 100644 --- a/web_atoms/build.rs +++ b/web_atoms/build.rs @@ -65,7 +65,7 @@ fn main() { writeln!( generated, r#" - /// Maps the input of [`namespace_prefix!`](macro.namespace_prefix.html) to + /// Maps the input of [`namespace_prefix!`](macro.namespace_prefix.html) to /// the output of [`namespace_url!`](macro.namespace_url.html). /// #[macro_export] macro_rules! ns {{ @@ -101,7 +101,7 @@ fn named_entities_to_phf(to: &Path) { let mut phf_map = phf_codegen::Map::new(); for (key, value) in entities { - phf_map.entry(key, &format!("{value:?}")); + phf_map.entry(key, format!("{value:?}")); } let mut file = File::create(to).unwrap();