This is a small GUI app, built with Slint UI framework and the Rust Programming language. This app lets users write small snippets of rust code and run it using the machine, without installing rustc/cargo on their machine.
For completing the project, I have used the API of Rust playground and used reqwest crate to execute
Big Thanks to github.com/menard-codes which i refered for completing the project.
As well as youtube.com/@TravisMediab> for inspiring me in building a gui with rust
A template for a Rust application that's using Slint for the user interface.
This template helps you get started developing a Rust application with Slint as toolkit
for the user interface. It demonstrates the integration between the .slint
UI markup and
Rust code, how to trigger react to callbacks, get and set properties and use basic widgets.
- Install Rust by following the Rust Getting Started Guide.
Once this is done, you should have the
rustc
compiler and thecargo
build system installed in your path. - Install
cargo-generate
cargo install cargo-generate
- Set up a sample project with this template
cargo generate --git https://github.com/slint-ui/slint-rust-template --name my-project cd my-project
- Build with cargo
cargo build
- Run the application binary
cargo run
We recommend using an IDE for development, along with our LSP-based IDE integration for .slint
files. You can also load this project directly in Visual Studio Code and install our Slint extension.
We hope that this template helps you get started and you enjoy exploring making user interfaces with Slint. To learn more
about the Slint APIs and the .slint
markup language check out our online documentation.
Don't forget to edit this README to replace it by yours