This is a minimal template repo for eframe, a framework for writing apps using egui.
Start by clicking "Use this template" at the top right. Clone and open it in your favorite code editor.
src/app.rs
contains a simple example app. This is just to give some inspiration - most of it can be removed if you like.
The official egui docs are at https://docs.rs/egui. Check out the the egui web demo and follow the links in it to its source code.
Make sure you are using the latest version of stable rust by running rustup update
.
Then, run the app with cargo run --release
.
On Linux, you need to install the following dev-dependencies:
sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev
When updating egui
and eframe
, it is recommended to do so one version at a time and to read about the changes in the egui changelog and the eframe changelog.