From 3d0d3748a3ad242bfe6dcc8e3229d3e5c97ed41c Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Wed, 3 May 2023 01:14:34 +0800 Subject: [PATCH] Add version to no-std-compat. --- CHANGELOG.md | 4 ++++ Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 68bb17c6..7844a45a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ Rhai Release Notes Version 1.14.0 ============== +This new version contains a substantial number of bug fixes for edge cases. + +A new syntax is supported to facilitate writing object methods in script. + The code hacks that attempt to optimize branch prediction performance are removed because benchmarks do not show any material speed improvements. Bug fixes diff --git a/Cargo.toml b/Cargo.toml index 908b55cb..337e7a40 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ bitflags = { version = "1", default-features = false } smartstring = { version = "1", default-features = false } rhai_codegen = { version = "1.5.0", path = "codegen", default-features = false } -no-std-compat = { git = "https://gitlab.com/jD91mZM2/no-std-compat", default-features = false, features = ["alloc"], optional = true } +no-std-compat = { git = "https://gitlab.com/jD91mZM2/no-std-compat", version = "0.4.1", default-features = false, features = ["alloc"], optional = true } libm = { version = "0.2", default-features = false, optional = true } hashbrown = { version = "0.13", optional = true } core-error = { version = "0.0", default-features = false, features = ["alloc"], optional = true }