more efforts to automate rhai bindings

This commit is contained in:
timurgordon
2025-05-13 02:00:35 +03:00
parent 16ad4f5743
commit ec4769a6b0
14 changed files with 3174 additions and 52 deletions

View File

@@ -6,7 +6,17 @@ edition = "2021"
description = "A wrapper to make generic Rust functions Rhai-compatible."
[dependencies]
rhai = "1.21.0"
rhai = "1.18.0"
rhai_macros_derive = { path = "../rhai_macros_derive" }
serde = { version = "1.0", features = ["derive"] }
chrono = { version = "0.4", features = ["serde"] }
[dev-dependencies]
[[example]]
name = "user_management_example"
path = "examples/user_management_example.rs"
[[example]]
name = "rust_rhai_wrapper_example"
path = "examples/rust_rhai_wrapper_example.rs"