5 unstable releases

0.3.2 Feb 15, 2025
0.3.1 Jan 27, 2025
0.3.0 Jan 14, 2025
0.2.0 Dec 30, 2024
0.1.0 Dec 18, 2024

#2061 in Procedural macros

Download history 125/week @ 2024-12-18 108/week @ 2024-12-25 22/week @ 2025-01-01 58/week @ 2025-01-08 56/week @ 2025-01-15 80/week @ 2025-01-22 26/week @ 2025-01-29 22/week @ 2025-02-05 129/week @ 2025-02-12 9/week @ 2025-02-19 8/week @ 2025-02-26

171 downloads per month

MIT license

71KB
1.5K SLoC

stable pipeline dev/1 pipeline docs crates.io

brisk-egui

brisk-egui provides integration with egui.

Example

The following creates a function hello_world_panel(ctx: &egui::Context, title: &str) that can be used with egui to build a user interface.

brisk_it! {
    PanelComponent
    {
        name: hello_world_panel,
        parameters: params!(title: &str),
        CentralPanel
        {
            Heading
            {
                text: title,
            },
        }
    }
}

More examples are available in the examples folder.

Dependencies

~225–670KB
~16K SLoC