Create new egui project
Chester Wyke April 08, 2024 Updated: July 14, 2026 #RustConditional Compilation
Install
Crate Serde
References
Cargo
Toolchain (Nightly)
String Formatting
Time
Crate Tokio
Publish Crate
rustfmt
Single file script
Snippets
CI
Pattern Type State
WASM
Create New Crate
Documentation
JSON
Pattern Builder
Testing
Working with collections of bytes
Thoughts about rust
Are we yet
OnceLock
Crate Actix Web
Stack Overflow
Crate Clap
Crate Poll Promise
Crate Insta
Tips
Create new egui project
Crate CSV
Crate egui
Iterators
Crate Tracing Subscriber
Regex
vscode
Enum Conversion
Macros
lettre
Google APIs
Versioning Crates
After setting up the project locally using the instructions below you can follow the first few steps in the new create setup to link to the remote repo. It may not make sense to link to the CI jobs as the templates already include jobs.
Currently have a PR in flight to address this https://github.com/emilk/eframe_template/pull/227. In the mean while you may still use it with the instructions in the readme at https://github.com/c-git/eframe_template/tree/create-cargo-generate-template.
See also the windowed section below for an application with a basic windowing framework.
TLDR from Readme
See favorites setup
If you want to check what favorites you have created you can use the following command
cargo generate --list-favoritesUse a favorite
cargo generate eguiUse from github repo
Windowed Framework Application
This basic framework is designed to allow one to easily spin up a new application that supports multiple windows. The github repo can be found at https://github.com/c-git/egui_windowed_application_template. See readme for more details or use the commands below if you’ve already done the setup (ie. installed cargo generate).
Use a favorite
cargo generate egui_windowedUse from github repo
cargo generate c-git/egui_windowed_application_template --branch cargo-gen