2 releases

0.1.1 Jan 5, 2025
0.1.0 Nov 6, 2023

#1485 in Procedural macros

Download history 1/week @ 2024-12-11 136/week @ 2025-01-01 60/week @ 2025-01-08 31/week @ 2025-01-15 4/week @ 2025-01-22 5/week @ 2025-01-29 33/week @ 2025-02-05

78 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