From cc4ede41a7d39e318d18d3bccf797d232a5b286a Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 2 Apr 2024 17:49:55 -0400 Subject: [PATCH] perf: reduce allocations in `MediaType::from_specifier` (#23190) Includes https://github.com/denoland/deno_media_type/pull/7 --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 90e617a76d..a75aa2ea78 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1586,9 +1586,9 @@ dependencies = [ [[package]] name = "deno_media_type" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a798670c20308e5770cc0775de821424ff9e85665b602928509c8c70430b3ee0" +checksum = "edf9879493856d1622be70f396b0b0d3e519538dd6501b7c609ecbaa7e2194d2" dependencies = [ "data-url", "serde", diff --git a/Cargo.toml b/Cargo.toml index cb01275f9b..f1edecd5ca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,7 +48,7 @@ deno_core = { version = "0.272.0" } deno_bench_util = { version = "0.138.0", path = "./bench_util" } deno_lockfile = "0.19.0" -deno_media_type = { version = "0.1.1", features = ["module_specifier"] } +deno_media_type = { version = "0.1.3", features = ["module_specifier"] } deno_permissions = { version = "0.4.0", path = "./runtime/permissions" } deno_runtime = { version = "0.152.0", path = "./runtime" } deno_terminal = "0.1.1"