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

Download history 409/week @ 2025-10-26 252/week @ 2025-11-02 240/week @ 2025-11-09 39/week @ 2025-11-16 99/week @ 2025-11-23 69/week @ 2025-11-30 74/week @ 2025-12-07 69/week @ 2025-12-14 114/week @ 2025-12-21 47/week @ 2025-12-28 66/week @ 2026-01-04 386/week @ 2026-01-11 142/week @ 2026-01-18 49/week @ 2026-01-25 206/week @ 2026-02-01 131/week @ 2026-02-08

591 downloads per month
Used in gqlitebrowser

MIT license

99KB
2.5K SLoC

stable pipeline dev/1 pipeline docs crates.io

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