perf: reduce allocations in MediaType::from_specifier (#23190)

Includes https://github.com/denoland/deno_media_type/pull/7
This commit is contained in:
David Sherret 2024-04-02 17:49:55 -04:00 committed by Satya Rohith
parent 9f7b025a1f
commit 6a32ae8f28
No known key found for this signature in database
GPG key ID: B2705CF40523EB05
2 changed files with 3 additions and 3 deletions

4
Cargo.lock generated
View file

@ -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",

View file

@ -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"