create macros for generating rhai wrappers and add tests

This commit is contained in:
timurgordon
2025-05-12 02:31:45 +03:00
parent 22032f329a
commit 16ad4f5743
11 changed files with 2735 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
[package]
name = "rhai_macros_derive"
version = "0.1.0"
edition = "2021"
[lib]
proc-macro = true
[dependencies]
syn = { version = "2.0", features = ["full", "extra-traits"] }
quote = "1.0"
proc-macro2 = "1.0"
# We might need rhai types for some advanced scenarios, but start without it
# rhai = { version = "1.21.0" }