feat: Added attribute to easily register additional lua methods
Previously this could only be done by implementing a trait, like `AddAdditionalMethods`, that that has an add_methods function where you can put your custom methods. With this new attribute you can pass in a register function directly!
This commit is contained in:
1
Cargo.lock
generated
1
Cargo.lock
generated
@@ -167,6 +167,7 @@ name = "automation_macro"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"itertools",
|
||||
"mlua",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 2.0.106",
|
||||
|
||||
Reference in New Issue
Block a user