From 3c477defe83b7569846e6010aa60b9f0d92a2e53 Mon Sep 17 00:00:00 2001 From: Teakowa <27560638+Teakowa@users.noreply.github.com> Date: Mon, 19 Oct 2026 16:54:45 +0800 Subject: [PATCH] perf(deps): require workshop-rs 1.18.0 workshop-rs 1.18.0 borrows the cached gameplay catalog in the settings parser instead of cloning it per hero name match. On the Bastion compiled output (471 KB zh-CN) a raw Workshop check drops from about 0.56 s to about 0.20 s warm. Fixes #775 --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c627122b..47c3e14e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2379,9 +2379,9 @@ checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59" [[package]] name = "workshop-rs" -version = "1.17.0" +version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48d21f920ec376c50c960878e1d5b2775bdef6901d6375cfde098a5b52ab340c" +checksum = "f47ea4c984fe44f18f636a1b35fa4ecf0767ba64dfdcf2fd199e739c4d2135c3" dependencies = [ "aho-corasick", "serde", diff --git a/Cargo.toml b/Cargo.toml index 122a1679..367bd5e3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ license = "AGPL-3.0-or-later" repository = "https://github.com/wrightkit/wright" [workspace.dependencies] -workshop-rs = "1.17.0" +workshop-rs = "1.18.0" libc = "0.2" serde = "1" serde_json = "1"