10 releases (6 breaking)
Uses new Rust 2024
| 0.7.0 | Jan 4, 2026 |
|---|---|
| 0.6.1 | Aug 3, 2025 |
| 0.6.0 | Jul 24, 2025 |
| 0.4.0 | Mar 15, 2025 |
| 0.2.0 | Dec 30, 2024 |
#2911 in Procedural macros
650 downloads per month
Used in gqlitebrowser
89KB
2K
SLoC
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
~145–540KB
~13K SLoC