#component #ambient #proc-macro #helper #convert #definition #concise

macro ambient_element_component

Helper procedural macro for the Ambient runtime that converts a function to an ElementComponent, allowing for more concise definitions of components

16 releases

0.3.1 Oct 25, 2023
0.3.1-rc.1 Oct 24, 2023
0.3.0-rc.2 Sep 29, 2023
0.2.1 May 6, 2023

#23 in #concise

Download history 5/week @ 2024-11-13 35/week @ 2024-11-20 30/week @ 2024-11-27 53/week @ 2024-12-04 79/week @ 2024-12-11 24/week @ 2024-12-18 1/week @ 2025-01-01 10/week @ 2025-01-08 35/week @ 2025-01-15 4/week @ 2025-01-22 8/week @ 2025-01-29 19/week @ 2025-02-05 11/week @ 2025-02-12 11/week @ 2025-02-19 47/week @ 2025-02-26

90 downloads per month
Used in 20 crates (2 directly)

MIT/Apache

20KB
431 lines

ambient_element_component

Helper procedural macro for the Ambient runtime that converts a function to an ElementComponent, allowing for more concise definitions of components.


lib.rs:

Provides a macro for converting a function to an ElementComponent, allowing for more concise definitions of components.

Dependencies

~2MB
~46K SLoC