fix: inconsistencies between rhai_impl and ewwii_plugin_api

This commit is contained in:
Byson94
2025-10-12 18:56:05 +05:30
parent 34706b1ae8
commit edad7fb3b7
3 changed files with 5 additions and 4 deletions

2
Cargo.lock generated
View File

@@ -527,7 +527,7 @@ dependencies = [
[[package]]
name = "ewwii_plugin_api"
version = "0.4.1"
version = "0.5.1"
dependencies = [
"gtk4",
"rhai",

View File

@@ -6,7 +6,7 @@ resolver = "2"
shared_utils = { version = "0.1.0", path = "crates/shared_utils" }
rhai_impl = { version = "0.1.0", path = "crates/rhai_impl" }
ewwii_plugin_api = { version = "0.5.0", path = "crates/ewwii_plugin_api" }
ewwii_plugin_api = { version = "0.5.1", path = "crates/ewwii_plugin_api" }
anyhow = "1.0.86"
ahash = "0.8.12"

View File

@@ -1,6 +1,6 @@
[package]
name = "ewwii_plugin_api"
version = "0.5.0"
version = "0.5.1"
authors = ["byson94 <byson94wastaken@gmail.com>"]
edition = "2021"
license = "GPL-3.0-or-later"
@@ -18,5 +18,6 @@ include-gtk4 = ["dep:gtk4"]
include-rhai = ["dep:rhai"]
[dependencies]
rhai = { workspace = true, optional = true }
# rhai crate features should exactly match that of rhai_impl
rhai = { workspace = true, optional = true, features = ["internals"] }
gtk4 = { workspace = true, optional = true }