Crates.io | hello_devops |
lib.rs | hello_devops |
version | 0.1.1 |
source | src |
created_at | 2022-06-10 15:56:32.906067 |
updated_at | 2022-06-10 15:56:32.906067 |
description | A fun game where you guess what number the computer has chosen. |
homepage | |
repository | |
max_upload_size | |
id | 603650 |
size | 12,532 |
You can try Rust online in the Rust Playground without installing anything on your computer.
you need to donload RUSTUP-INIT.EXE and install it on your computer.
If you’re a Windows Subsystem for Linux user or a linux user run the following in your terminal, then follow the on-screen instructions to install Rust.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
for more installation options you can see this link.
you can install rust-analyser extention and you are ready to go.
When you install Rustup you’ll also get the latest stable version of the Rust build tool and package manager, also known as Cargo. Cargo does lots of things:
cargo build
cargo run
cargo test
cargo doc
cargo publish
To test that you have Rust and Cargo installed, you can run this in your terminal of choice:
cargo --version
you should see something like this cargo 1.61.0 (a028ae42f 2022-04-29)
if you want to study more you can read The Cargo Book.
all the info comefrom Rust Get start page