Use rhai fork to remove dep on unmaintained crate

This commit is contained in:
Dennis Kobert
2025-03-24 15:18:57 +01:00
parent 205bb89335
commit ef155c4066
2 changed files with 3 additions and 15 deletions

View File

@@ -89,13 +89,7 @@ web-sys = { workspace = true, optional = true, features = [
# Optional dependencies
image-compare = { version = "0.4.1", optional = true }
ndarray = "0.16.1"
[target.'cfg(target_arch = "wasm32")'.dependencies]
rhai = { version = "1.21.0", features = ["serde", "wasm-bindgen"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
rhai = { version = "1.21.0", features = ["serde"] }
rhai = { git = "https://github.com/TrueDoctor/rhai", features = ["serde", "no_time"] }
[dev-dependencies]
tokio = { workspace = true, features = ["macros"] }