From a685674dbf035276419ec1df9d2fdd892e0ea1d4 Mon Sep 17 00:00:00 2001 From: MechaCat02 Date: Sat, 30 May 2026 20:28:47 +0200 Subject: [PATCH] chore(deps): add regex, hex, percent-encoding for v1.1.0 stdlib MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Workspace deps for the seven Rhai utility modules that follow in this PR. `rand`, `base64`, `uuid`, `chrono`, `serde_json` are already in the workspace and reused as-is — only the genuinely new ones land here. Co-Authored-By: Claude Opus 4.7 (1M context) --- Cargo.lock | 5 +++++ Cargo.toml | 6 ++++++ crates/executor-core/Cargo.toml | 7 +++++++ 3 files changed, 18 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index bb8a9c4..977068c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1566,8 +1566,13 @@ dependencies = [ name = "picloud-executor-core" version = "0.6.0" dependencies = [ + "base64", "chrono", + "hex", + "percent-encoding", "picloud-shared", + "rand 0.8.6", + "regex", "rhai", "serde", "serde_json", diff --git a/Cargo.toml b/Cargo.toml index d2f1056..b3f5ff5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -74,6 +74,12 @@ sha2 = "0.10" base64 = "0.22" data-encoding = "2.6" +# Stdlib utility crates (v1.1.0 stdlib PR — registered into the +# Rhai engine as the regex::/random::/etc. namespaces) +regex = "1" +hex = "0.4" +percent-encoding = "2" + [workspace.lints.rust] unsafe_code = "forbid" diff --git a/crates/executor-core/Cargo.toml b/crates/executor-core/Cargo.toml index 1ab142b..1b13667 100644 --- a/crates/executor-core/Cargo.toml +++ b/crates/executor-core/Cargo.toml @@ -18,3 +18,10 @@ tracing.workspace = true uuid.workspace = true chrono.workspace = true rhai.workspace = true + +# Stdlib utility modules — see crates/executor-core/src/sdk/stdlib/. +regex.workspace = true +rand.workspace = true +base64.workspace = true +hex.workspace = true +percent-encoding.workspace = true