Skip to content

Drewol/luals-gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

luals-gen

Generate LuaLS annotations for Rust structs.

Intended to be used together with mlua::LuaSerdeExt

Notes

  • Serde rename attributes have basic support.
  • Basically no testing has been done

TODO

  • Generate annotations based on mlua::UserData
  • Enum support
  • Better serde attribute support
  • Alias other exported struct definitions

Acknowledgements

Some inspiration from https://github.com/lenscas/tealr/

About

Generate LuaLS annotations for Rust structs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages