From fc0441ffe94ba20d6e2794d1a31f84e3ea7755fe Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Fri, 21 Aug 2026 21:51:50 +0200 Subject: [PATCH] Update to string-cache 0.11.0 Signed-off-by: Simon Sapin --- Cargo.toml | 4 ++-- rcdom/tests/html-serializer.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a8a79f14..e69d8376 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,8 +32,8 @@ memchr = "2.8.0" new_debug_unreachable = "1.0.2" phf = "0.14" phf_codegen = "0.14" -string_cache = { version = "0.10.0", default-features = false } -string_cache_codegen = "0.7.0" +string_cache = { version = "0.11.0", default-features = false } +string_cache_codegen = "0.11.0" # Dev dependencies criterion = "0.8" diff --git a/rcdom/tests/html-serializer.rs b/rcdom/tests/html-serializer.rs index 67e3ca79..e3775072 100644 --- a/rcdom/tests/html-serializer.rs +++ b/rcdom/tests/html-serializer.rs @@ -41,7 +41,7 @@ impl Serialize for Tokens { let name = QualName::new( None, "http://www.w3.org/1999/xhtml".into(), - tag.name.as_ref().into(), + tag.name.as_str().into(), ); match tag.kind { TagKind::StartTag => serializer.start_elem(