๐Ÿš€
๐Ÿฆ€ Rust
Languages

Rust

Rust is a general-purpose programming language emphasizing performance, type safety, and concurrency. It enforces mem...

Mar 202510 min read

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!

ยฉ 2026 Driptanil Datta. All rights reserved.

Software Developer & Engineer

Disclaimer:The content provided on this blog is for educational and informational purposes only. While I strive for accuracy, all information is provided "as is" without any warranties of completeness, reliability, or accuracy. Any action you take upon the information found on this website is strictly at your own risk.

Copyright & IP:Certain technical content, interview questions, and datasets are curated from external educational sources to provide a centralized learning resource. Respect for original authorship is maintained; no copyright infringement is intended. All trademarks, logos, and brand names are the property of their respective owners.

System Operational

Built with Love โค๏ธ | Last updated: Mar 16 2026