๐Ÿš€
Rust

Rust

Rust is a general-purpose programming language emphasizing performance, type safety, and concurrency. It enforces memory safety, meaning that all references point to valid memory, without a garbage collector.

https://www.rust-lang.org/ (opens in a new tab)

Cargo

Cargo is the Rust (opens in a new tab) [package manager](https://doc.rust-lang.org/cargo/appendix/glossary.html#package-manager (opens in a new tab) ""package manager" (glossary entry)"). Cargo downloads your Rust [package](https://doc.rust-lang.org/cargo/appendix/glossary.html#package (opens in a new tab) ""package" (glossary entry)")โ€™s dependencies, compiles your packages, makes distributable packages, and uploads them to crates.io (opens in a new tab), the Rust communityโ€™s [package registry](https://doc.rust-lang.org/cargo/appendix/glossary.html#package-registry (opens in a new tab) ""package registry" (glossary entry)").

  • Creating New Project
$ cargo new <project_name>
  • Adding Dependency
$ cargo add <dependency>
  • Checking for Errors
$ cargo check
 
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.01s
  • Building Project
$ cargo build
 
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.05s
  • Running Project
$ cargo run
 
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.01s
Running `target\debug\hello_world.exe`
    
Hello, world!

ยฉ 2024 Driptanil Datta.All rights reserved

Made with Love โค๏ธ

Last updated on Mon Oct 20 2025