Skip to content

siamakhaz/rust-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust sample project

Image not found

Table of content

How install Rust

Image not found

as they say "A language empowering everyone to build reliable and efficient software."

Try Rust online

You can try Rust online in the Rust Playground without installing anything on your computer. Try it online

Install it!

Windows

you need to donload RUSTUP-INIT.EXE and install it on your computer.

Linux

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.

Integrate with VSCode

Image not found

you can install rust-analyser extention and you are ready to go.

Cargo

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:

  • build your project with cargo build
  • run your project with cargo run
  • test your project with cargo test
  • build documentation for your project with cargo doc
  • publish a library to crates.io with 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)

want more?

if you want to study more you can read The Cargo Book.

all the info comefrom Rust Get start page

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published