<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cargo on AI VOID</title><link>https://ai-blog.noorshomelab.dev/tags/cargo/</link><description>Recent content in Cargo on AI VOID</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 20 Mar 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://ai-blog.noorshomelab.dev/tags/cargo/index.xml" rel="self" type="application/rss+xml"/><item><title>Chapter 1: Setting Up Your Rust Development Environment (Rust 1.94.0)</title><link>https://ai-blog.noorshomelab.dev/rust-mastery-2026/rust-dev-environment-setup/</link><pubDate>Fri, 20 Mar 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/rust-mastery-2026/rust-dev-environment-setup/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Welcome, future Rustacean! You&amp;rsquo;re about to embark on an exciting journey into the world of Rust, a language celebrated for its unparalleled performance, robust memory safety, and delightful developer experience. Whether you&amp;rsquo;re a seasoned developer looking for a new challenge or just starting your coding adventure, Rust offers a powerful toolkit for building reliable and efficient software.&lt;/p&gt;
&lt;p&gt;In this first chapter, our mission is simple: get you up and running with a fully functional Rust development environment. We&amp;rsquo;ll cover the essential tools you&amp;rsquo;ll need, guide you through the installation process for Rust 1.94.0, and help you create and run your very first Rust program. By the end of this chapter, you&amp;rsquo;ll have a solid foundation to explore Rust&amp;rsquo;s unique features, including its groundbreaking memory safety model that we&amp;rsquo;ll start to touch upon. Get ready to write some blazing-fast, secure code!&lt;/p&gt;</description></item><item><title>Chapter 2: Mastering Cargo: Rust&amp;#39;s Build System and Package Manager</title><link>https://ai-blog.noorshomelab.dev/rust-mastery-2026/mastering-cargo-toolchain/</link><pubDate>Fri, 20 Mar 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/rust-mastery-2026/mastering-cargo-toolchain/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Welcome back, aspiring Rustacean! In Chapter 1, you embarked on your Rust journey by installing &lt;code&gt;rustup&lt;/code&gt;, the powerful toolchain manager that ensures you always have the right Rust compiler and tools at your fingertips. Now, it&amp;rsquo;s time to meet Rust&amp;rsquo;s best friend and your primary companion for all things development: &lt;strong&gt;Cargo&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Think of Cargo as your personal project assistant. It’s not just a build system that compiles your code; it’s also Rust’s official package manager, a testing harness, and a documentation generator, all rolled into one. If you&amp;rsquo;ve used tools like &lt;code&gt;npm&lt;/code&gt; for Node.js, &lt;code&gt;pip&lt;/code&gt; for Python, or &lt;code&gt;Maven&lt;/code&gt;/&lt;code&gt;Gradle&lt;/code&gt; for Java, you&amp;rsquo;ll find Cargo&amp;rsquo;s role familiar, but with Rust&amp;rsquo;s unique flavor. It simplifies project creation, manages external libraries (called &amp;ldquo;crates&amp;rdquo; in Rust), builds your project, runs your tests, and much more. Without Cargo, developing in Rust would be significantly more complex and less standardized.&lt;/p&gt;</description></item><item><title>Chapter 2: Setting Up Your First Ratatui Project</title><link>https://ai-blog.noorshomelab.dev/ratatui-mastery-guide-2026/02-setting-up-project/</link><pubDate>Tue, 17 Mar 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/ratatui-mastery-guide-2026/02-setting-up-project/</guid><description>&lt;p&gt;Welcome back, future TUI masters! In &lt;a href="../../01-understanding-tuis"&gt;Chapter 1: Understanding Terminal User Interfaces&lt;/a&gt;, we explored the fascinating world of TUIs, how they bridge the gap between simple command-line tools and full-blown graphical applications, and where Ratatui fits into the Rust ecosystem. You now have a solid conceptual foundation, and it&amp;rsquo;s time to get our hands dirty!&lt;/p&gt;
&lt;p&gt;In this chapter, we&amp;rsquo;ll take our first practical steps with Ratatui. We&amp;rsquo;ll set up a brand-new Rust project, add the necessary dependencies, and write the minimal code required to render a simple &amp;ldquo;Hello, TUI!&amp;rdquo; message in your terminal. By the end of this chapter, you&amp;rsquo;ll have a running Ratatui application and a clear understanding of the initial setup process. Ready to cook up some terminal magic? Let&amp;rsquo;s go!&lt;/p&gt;</description></item><item><title>Intermediate Topics: Modules, Crates, and the Cargo Ecosystem</title><link>https://ai-blog.noorshomelab.dev/rust-guide/intermediate-modules-crates-cargo/</link><pubDate>Sat, 25 Oct 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/rust-guide/intermediate-modules-crates-cargo/</guid><description>&lt;h1 id="intermediate-topics-modules-crates-and-the-cargo-ecosystem"&gt;Intermediate Topics: Modules, Crates, and the Cargo Ecosystem&lt;/h1&gt;
&lt;p&gt;As your Rust projects grow in complexity, organizing your code becomes paramount for maintainability, reusability, and collaboration. Rust provides a robust module system, managed by its powerful build tool and package manager, Cargo. This chapter will guide you through understanding Rust&amp;rsquo;s project hierarchy, controlling visibility, and leveraging the rich Cargo ecosystem.&lt;/p&gt;
&lt;h2 id="understanding-the-hierarchy-packages-crates-and-modules"&gt;Understanding the Hierarchy: Packages, Crates, and Modules&lt;/h2&gt;
&lt;p&gt;Rust&amp;rsquo;s code organization follows a clear hierarchy:&lt;/p&gt;</description></item><item><title>Chapter 11: Building a Production-Ready CLI Application with Rust</title><link>https://ai-blog.noorshomelab.dev/rust-mastery-2026/building-production-cli/</link><pubDate>Fri, 20 Mar 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/rust-mastery-2026/building-production-cli/</guid><description>&lt;h2 id="chapter-11-building-a-production-ready-cli-application-with-rust"&gt;Chapter 11: Building a Production-Ready CLI Application with Rust&lt;/h2&gt;
&lt;p&gt;Welcome back, Rustacean! In our journey through Rust, we&amp;rsquo;ve explored its powerful memory safety, robust type system, and efficient concurrency. Now, it&amp;rsquo;s time to apply these concepts to build something incredibly practical and widely used: a production-ready Command-Line Interface (CLI) application.&lt;/p&gt;
&lt;p&gt;CLI tools are the workhorses of development, automation, and system administration. From &lt;code&gt;git&lt;/code&gt; to &lt;code&gt;ls&lt;/code&gt;, &lt;code&gt;grep&lt;/code&gt; to &lt;code&gt;docker&lt;/code&gt;, CLIs are everywhere. Rust, with its focus on performance, reliability, and small binaries, is an exceptional choice for crafting CLIs that are fast, dependable, and easy to distribute. This chapter will guide you through building a simple yet robust CLI tool that searches for a pattern within text files. We&amp;rsquo;ll cover essential aspects like parsing command-line arguments, handling file input/output, and implementing structured error management.&lt;/p&gt;</description></item><item><title>Rust Mastery: Beginner to Production 2026</title><link>https://ai-blog.noorshomelab.dev/rust-mastery-2026/</link><pubDate>Fri, 20 Mar 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/rust-mastery-2026/</guid><description>&lt;p&gt;Welcome to the ultimate learning guide for Rust, designed to take you from an absolute beginner to a master of production-grade applications by 2026. This comprehensive resource focuses on modern, practical, and industry-relevant usage, moving beyond outdated examples to equip you with essential skills. Dive deep into Rust&amp;rsquo;s core concepts like ownership, borrowing, lifetimes, and memory safety, ensuring a robust understanding of its unique approach compared to garbage-collected languages.&lt;/p&gt;</description></item><item><title>Chapter 1: Setting Up Rust and Your Project</title><link>https://ai-blog.noorshomelab.dev/rust-password-generator-guide/chapter-01-setup-rust-and-project/</link><pubDate>Mon, 01 Dec 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/rust-password-generator-guide/chapter-01-setup-rust-and-project/</guid><description>&lt;h3 id="purpose-of-this-chapter"&gt;Purpose of This Chapter&lt;/h3&gt;
&lt;p&gt;In this foundational chapter, you will set up your development environment by installing Rust and its accompanying package manager, Cargo. You will then initialize a new Rust project, which will serve as the base for our password generator CLI application. Getting this right is crucial for a smooth development process.&lt;/p&gt;
&lt;h3 id="concepts-explained"&gt;Concepts Explained&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Rust:&lt;/strong&gt; A modern systems programming language known for its speed, memory safety, and parallelism. It&amp;rsquo;s an excellent choice for CLI tools due to its performance and the ability to compile to a single, self-contained binary.&lt;/p&gt;</description></item><item><title>Chapter 10: Deployment with `cargo install`</title><link>https://ai-blog.noorshomelab.dev/rust-password-generator-guide/chapter-10-deployment-with-cargo-install/</link><pubDate>Mon, 01 Dec 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/rust-password-generator-guide/chapter-10-deployment-with-cargo-install/</guid><description>&lt;h3 id="purpose-of-this-chapter"&gt;Purpose of This Chapter&lt;/h3&gt;
&lt;p&gt;Our password generator is now complete with core features, robust error handling, logging, and unit tests. The final step to making it a production-ready tool is to properly package and deploy it so that users (including yourself) can easily install and run it from anywhere on their system. This chapter will cover building a release binary and deploying it using &lt;code&gt;cargo install&lt;/code&gt;.&lt;/p&gt;
&lt;h3 id="concepts-explained"&gt;Concepts Explained&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Release Build:&lt;/strong&gt; When developing, Rust compiles code in &amp;ldquo;debug mode&amp;rdquo; by default, which includes debugging information and fewer optimizations, making compilation faster. For deployment, we use &amp;ldquo;release mode&amp;rdquo; which optimizes the code for performance and size, resulting in a production-ready executable.&lt;/p&gt;</description></item></channel></rss>