#update #per #channel #field #generate #macro #baton

macro baton-derive

A derive macro that generates a baton per field

4 releases

0.2.1 Jan 28, 2025
0.2.0 Jan 15, 2025
0.1.1 Jan 8, 2025
0.1.0 Dec 7, 2024

#58 in #per

Download history 144/week @ 2024-12-04 22/week @ 2024-12-11 1/week @ 2024-12-18 137/week @ 2025-01-08 239/week @ 2025-01-15 108/week @ 2025-01-22 150/week @ 2025-01-29 42/week @ 2025-02-05 22/week @ 2025-02-12 39/week @ 2025-02-19 46/week @ 2025-02-26 16/week @ 2025-03-05

124 downloads per month
Used in baton

MIT/Apache

5KB
77 lines

Derive a struct, creatig a XxxSend and XxxRecv struct. Each field has its own channel, allowing you to send and receive updates independently.

Dependencies

~205–640KB
~15K SLoC