From 1320fadc30004572415a93aeb9bf2b0a88c92bb8 Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Thu, 24 Aug 2023 00:16:35 +0200 Subject: [PATCH] Bump rust embed (#2883) This is a follow-up to a recent patch I've submitted to this crate to improve compile time and runtime (in older versions file lookup was essentially O(n) with respect to path count, now it's O(log n)) Release Notes: - N/A --- Cargo.lock | 12 ++++++------ Cargo.toml | 2 +- crates/zed/Cargo.toml | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6dea29746f0af0..ce3f97c2b4f3d0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6130,9 +6130,9 @@ dependencies = [ [[package]] name = "rust-embed" -version = "6.8.1" +version = "8.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a36224c3276f8c4ebc8c20f158eca7ca4359c8db89991c4925132aaaf6702661" +checksum = "b1e7d90385b59f0a6bf3d3b757f3ca4ece2048265d70db20a2016043d4509a40" dependencies = [ "rust-embed-impl", "rust-embed-utils", @@ -6141,9 +6141,9 @@ dependencies = [ [[package]] name = "rust-embed-impl" -version = "6.8.1" +version = "8.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49b94b81e5b2c284684141a2fb9e2a31be90638caf040bf9afbc5a0416afe1ac" +checksum = "3c3d8c6fd84090ae348e63a84336b112b5c3918b3bf0493a581f7bd8ee623c29" dependencies = [ "proc-macro2", "quote", @@ -6154,9 +6154,9 @@ dependencies = [ [[package]] name = "rust-embed-utils" -version = "7.8.1" +version = "8.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d38ff6bf570dc3bb7100fce9f7b60c33fa71d80e88da3f2580df4ff2bdded74" +checksum = "873feff8cb7bf86fdf0a71bb21c95159f4e4a37dd7a4bd1855a940909b583ada" dependencies = [ "globset", "sha2 0.10.7", diff --git a/Cargo.toml b/Cargo.toml index a60b4eb610c07d..f5b5994e89f284 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -98,7 +98,7 @@ postage = { version = "0.5", features = ["futures-traits"] } rand = { version = "0.8.5" } refineable = { path = "./crates/refineable" } regex = { version = "1.5" } -rust-embed = { version = "6.3", features = ["include-exclude"] } +rust-embed = { version = "8.0", features = ["include-exclude"] } schemars = { version = "0.8" } serde = { version = "1.0", features = ["derive", "rc"] } serde_derive = { version = "1.0", features = ["deserialize_in_place"] } diff --git a/crates/zed/Cargo.toml b/crates/zed/Cargo.toml index a555e58679a1ea..a821e33327aa1d 100644 --- a/crates/zed/Cargo.toml +++ b/crates/zed/Cargo.toml @@ -93,7 +93,7 @@ postage.workspace = true rand.workspace = true regex.workspace = true rsa = "0.4" -rust-embed = { version = "6.8.1" } +rust-embed.workspace = true serde.workspace = true serde_derive.workspace = true serde_json.workspace = true