5 unstable releases

new 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

#2014 in Procedural macros

Download history 120/week @ 2024-12-15 5/week @ 2024-12-22 121/week @ 2024-12-29 10/week @ 2025-01-05 97/week @ 2025-01-12 16/week @ 2025-01-19 99/week @ 2025-01-26 28/week @ 2025-02-02 30/week @ 2025-02-09

183 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

~200–630KB
~15K SLoC