Mar 30 2021
RUST on RPI
even with so many soft and hardware projects open i still think i have to keep my mind openfor new things:
RUST
a programming language i want to know what it is and how i can play with it on a Raspberry Pi.
see a video about it here,
go to RUST website install
and find documentation: book
ok:
* booting up my old RPI3B+
* update
* install RUST
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
and reboot.
check:
rustc --version
cargo --version
i see here 1.51.0
start rust project with:
mkdir rust
cd rust
cargo new test_rust
cd test_rust
cargo build or directly cargo run ( means build & run )
( or manual start: )
cd target
cd debug
./test_rust
in the video also make a LED blink using
[dependencies]
rust_gpiozero = "0.2.0"