2 releases
new 0.1.1 | Jan 5, 2025 |
---|---|
0.1.0 | Nov 6, 2023 |
#1464 in Procedural macros
157 downloads per month
Used in neovide
8KB
141 lines
Neovide-Derive
Derive macros for Neovide
lib.rs
:
Derive macro for setting groups.
This macro will generate a SettingGroup
implementation for the struct it is applied to.
It will also generate an enum with the name {StructName}Changed
that contains a variant for
each field in the struct. The enum will be used to send events when a setting is changed.
Dependencies
~0.6–1.1MB
~21K SLoC