From bbc419222964c546e73e3b7c433d2f3fd3c22bd3 Mon Sep 17 00:00:00 2001 From: Paolo Barbolini Date: Thu, 10 Apr 2025 11:20:43 +0200 Subject: [PATCH] build: upgrade dependencies --- Cargo.toml | 6 +++--- src/types.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 578f691..15fc050 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,12 +28,12 @@ serde = { version = "1.0.104", features = ["derive"] } serde_json = "1.0.48" unicode-id-start = "1" if_chain = "1.0.0" -scroll = { version = "0.10.1", features = ["derive"], optional = true } +scroll = { version = "0.12.0", features = ["derive"], optional = true } data-encoding = "2.3.3" debugid = {version = "0.8.0", features = ["serde"] } -base64-simd = { version = "0.7" } +base64-simd = { version = "0.8" } bitvec = "1.0.1" -rustc-hash = "1.1.0" +rustc-hash = "2.1.1" [build-dependencies] rustc_version = "0.2.3" diff --git a/src/types.rs b/src/types.rs index a6e276b..6f86de6 100644 --- a/src/types.rs +++ b/src/types.rs @@ -538,7 +538,7 @@ impl SourceMap { pub fn to_data_url(&self) -> Result { let mut buf = vec![]; encode(self, &mut buf)?; - let b64 = base64_simd::Base64::STANDARD.encode_to_boxed_str(&buf); + let b64 = base64_simd::STANDARD.encode_to_string(&buf); Ok(format!( "data:application/json;charset=utf-8;base64,{}", b64