Перейти к содержимому

Build a Desktop App in Rust from Scratch — egui Setup & First Window

ThinkingOutLoud

0:00 / 0:00

Build a Desktop App in Rust from Scratch — egui Setup & First Window

872 просмотра · 2 месяца назад
ThinkingOutLoud
52 подписчика
872 просмотра · 2 месяца назад
In this first video of the series, we set up a Rust desktop GUI project from scratch using eframe and egui — one of the most popular native GUI libraries in the Rust ecosystem. We start with cargo new, walk through the Cargo.toml dependency setup, and write the minimal boilerplate needed to open a real native window. By the end of this video you'll have a running Rust GUI app on your screen. This series is aimed at developers who already know how to code but are new to Rust. Every concept is explained clearly — nothing is skipped. What you'll learn in this video: → How cargo new works and what it creates → What Cargo.toml is and how to add dependencies → What eframe and egui are and how they relate → How to implement the eframe::App trait → How to configure window size and title → How to open a native desktop window with cargo run Source code for the full series is linked below. Drop a comment if you get stuck — happy to help.