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 |
#2874 in Procedural macros
591 downloads per month
Used in gqlitebrowser
99KB
2.5K
SLoC
brisk-eframe
brisk-eframe provides integration with the eframe framework from egui.
Example
The following creates a user interface with an Hello World! banner.
use brisk_eframe::brisk_it;
struct MyApp {
}
impl MyApp {
fn new(_: &eframe::CreationContext) -> Self {
Self {
}
}
}
brisk_it! {
Main
{
title: "My egui App",
viewport: Viewport
{
inner_size: [320.0, 240.0],
},
App {
target: MyApp,
CentralPanel
{
Heading
{
text: "Hello World!",
},
}
}
}
}
A more complete example is available in the hello world example.
Dependencies
~145–530KB
~12K SLoC