Featured image of post How to Start and Execute Samples of Rust's Lightweight GUI Library 'egui'

How to Start and Execute Samples of Rust's Lightweight GUI Library 'egui'

We introduce basic usage of 'egui', a GUI library that can be easily handled in Rust. We explain the simple steps from cloning a template from GitHub to launching and executing a sample app with the cargo run command.

What is egui

It is a GUI library that can be used with Rust.

Trying out egui

You can run the egui sample with the following commands.

1
2
3
git clone https://github.com/emilk/eframe_template/ egui_test
cd egui_test
cargo run

After that, you can try various things while tinkering with the sample code.

Reference

Official github

comments powered by Disqus