I have no idea what I’m doing. ๐ This is my first try. ๐ตโ๐ซ
I TRUST IN RUST. ๐ ๐ฆ
Rust – is a systems programming language focused on safety, speed and concurrency.
Firstable I’ll install rust.
Then GTK.
rustc --version
cargo --version
Create a new Rust project:
cargo new gtk_crab_app cd gtk_crab_app Creating binary (application) `gtk_crab_app` package note: see more `Cargo.toml` keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Add the necessary dependencies to your Cargo.toml
file:
[dependencies]
...
Replace the contents of src/main.rs
with the following code:
...
Build and Run the Application:
cargo build
cargo run
# cargo clean
Leave a Reply