2 releases

new 0.1.1 Jan 5, 2025
0.1.0 Nov 6, 2023

#1464 in Procedural macros

Download history 8/week @ 2024-09-21 1/week @ 2024-12-07 157/week @ 2025-01-04

157 downloads per month
Used in neovide

MIT license

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