<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Dev's blog]]></title><description><![CDATA[Dev's blog]]></description><link>https://blog.divyanshmehta.in</link><generator>RSS for Node</generator><lastBuildDate>Wed, 08 Apr 2026 20:16:45 GMT</lastBuildDate><atom:link href="https://blog.divyanshmehta.in/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Mitosis: Write Once, Run Everywhere 🌐]]></title><description><![CDATA[What is Mitosis?
Mitosis is an open-source project by Builder.io that provides a unified development experience across different frontend frameworks. Here’s what it offers:

Single Codebase, Multiple Frameworks:

With Mitosis, you can build your comp...]]></description><link>https://blog.divyanshmehta.in/mitosis-write-once-run-everywhere</link><guid isPermaLink="true">https://blog.divyanshmehta.in/mitosis-write-once-run-everywhere</guid><category><![CDATA[Web Development]]></category><category><![CDATA[Angular]]></category><category><![CDATA[Qwik]]></category><category><![CDATA[React]]></category><category><![CDATA[Vue.js]]></category><category><![CDATA[Svelte]]></category><category><![CDATA[solidjs]]></category><category><![CDATA[alpinejs]]></category><dc:creator><![CDATA[Divyansh Mehta]]></dc:creator><pubDate>Wed, 08 May 2024 19:23:24 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1715197273066/d7ded62a-a3e1-423f-b1fa-e3c8c9ab540e.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h3 id="heading-what-is-mitosis">What is Mitosis?</h3>
<p>Mitosis is an open-source project by <a target="_blank" href="http://Builder.io"><strong>Builder.io</strong></a> that provides a unified development experience across different frontend frameworks. Here’s what it offers:</p>
<ol>
<li><p><strong>Single Codebase, Multiple Frameworks</strong>:</p>
<ul>
<li><p>With Mitosis, you can build your components in a single codebase using a familiar syntax (similar to JSX).</p>
</li>
<li><p>These components can then be compiled to work seamlessly with various frameworks, eliminating the need to rewrite the same component logic for different platforms.</p>
</li>
</ul>
</li>
<li><p><strong>Supported Frameworks</strong>:</p>
<ul>
<li><p>Mitosis compiles your components to native code for the following frameworks:</p>
<ul>
<li><p>React</p>
</li>
<li><p>Vue</p>
</li>
<li><p>Angular</p>
</li>
<li><p>Svelte</p>
</li>
<li><p>Solid</p>
</li>
<li><p>Alpine</p>
</li>
<li><p>Qwik</p>
</li>
<li><p>And more!</p>
</li>
</ul>
</li>
</ul>
</li>
<li><p><strong>Why Use Mitosis?</strong></p>
<ul>
<li><p><strong>Consistent Design System</strong>:</p>
<ul>
<li><p>Imagine maintaining a consistent design system across multiple frameworks. Mitosis makes it possible!</p>
</li>
<li><p>You can create your UI components once and reuse them across different projects, regardless of the frontend technology stack.</p>
</li>
</ul>
</li>
<li><p><strong>Sync Design Systems from Figma to Code</strong>:</p>
<ul>
<li><p>Mitosis allows you to sync your design systems directly from Figma to code.</p>
</li>
<li><p>Publish your design tokens (colors, typography, spacing, etc.) to npm, making them accessible across all supported frameworks.</p>
</li>
</ul>
</li>
<li><p><strong>Avoid Web Component Pitfalls</strong>:</p>
<ul>
<li><p>While web components are powerful, they come with challenges like encapsulation, performance overhead, and limited framework integration.</p>
</li>
<li><p>Mitosis compiles your components to native framework code, avoiding these pitfalls.</p>
</li>
</ul>
</li>
</ul>
</li>
</ol>
<h3 id="heading-quickstart-with-mitosis">QuickStart with Mitosis</h3>
<ol>
<li><p>To create a new Mitosis project from scratch, run the following command:</p>
<pre><code class="lang-bash"> npm create @builder.io/mitosis@latest
</code></pre>
<p> This sets up a fresh Mitosis project.</p>
</li>
<li><p>Read the <a target="_blank" href="http://README.md"><code>README.md</code></a> generated in your new project. It explains the project structure and provides a walkthrough on building and testing your components.</p>
</li>
</ol>
<h3 id="heading-live-example-playground-linkhttpsmitosisbuilderioplaygroundcodejywwdg9gtglgbabzgvwm4fmdkmcgn1wc2bcazlbchaeqacarssadyam6uadmbapqjawiqykiobuafdoahpfhw2jhmibwsyahybjgnw1wasge8awhugb0gmaaow5mkgcuicxdhaig1padagnbb0abo4dbgaoud0af04af4udgw8dbsqabfgadcjhg8acyonsxcodbhkkh0bn3c4ab4whia2bovrg4a0wzbh2jo9uvhiebh6bjwgmaaauankwkmdx2bsjcffdsnczkdbgaopwj9y8tavyacz2eg3rsqxgxejawiqig22fvrdlwok5gofsdugnecbjw2hnalwbggkduaacxqtgmiao6eiaej2bg0em1spc4cujiqga3d3d">Live Example: <a target="_blank" href="https://mitosis.builder.io/playground/?code=JYWwDg9gTgLgBAbzgVwM4FMDKMCGN1wC%2BcAZlBCHAEQACARssADYAm6UAdMBAPQjAwIqYKioBuAFDoAHpFhw2JHMibwSyAHYBjGNw1wAsgE8AwhUgb0GmAAow5MKgCUiCXDhaIG1PADaGnBB0ABo4DBgAOUD0AF04AF4UDGw8dBsqABFgADcjHG8ACyonSXcodBhkKH0bN3c4AB4WHIA%2BOvrG4A0wZBh2jo9UVHiEBH6BjwgmaAAuanKWKmDx%2BsJCFfdsnCZkdBGAoPWJ9y8TAvyAcz2EG3RsqxgXeJawiqig2%2FvrDlwoK5gOFsdugnEcBjw2hNALwbgGkduAACXQTGmiAO6EIAEJ%2Bg0eM1spC4CUJIQgA%3D%3D">Playground Link</a></h3>
<h3 id="heading-resourceshttpsmitosisbuilderioplaygroundcodejywwdg9gtglgbabzgvwm4fmdkmcgn1wc2bcazlbchaeqacarssadyam6uadmbapqjawiqykiobuafdoahpfhw2jhmibwsyahybjgnw1wasge8awhugb0gmaaow5mkgcuicxdhaig1padagnbb0abo4dbgaoud0af04af4udgw8dbsqabfgadcjhg8acyonsxcodbhkkh0bn3c4ab4whia2bovrg4a0wzbh2jo9uvhiebh6bjwgmaaauankwkmdx2bsjcffdsnczkdbgaopwj9y8tavyacz2eg3rsqxgxejawiqig22fvrdlwok5gofsdugnecbjw2hnalwbggkduaacxqtgmiao6eiaej2bg0em1spc4cujiqga3d3d"><a target="_blank" href="https://mitosis.builder.io/playground/?code=JYWwDg9gTgLgBAbzgVwM4FMDKMCGN1wC%2BcAZlBCHAEQACARssADYAm6UAdMBAPQjAwIqYKioBuAFDoAHpFhw2JHMibwSyAHYBjGNw1wAsgE8AwhUgb0GmAAow5MKgCUiCXDhaIG1PADaGnBB0ABo4DBgAOUD0AF04AF4UDGw8dBsqABFgADcjHG8ACyonSXcodBhkKH0bN3c4AB4WHIA%2BOvrG4A0wZBh2jo9UVHiEBH6BjwgmaAAuanKWKmDx%2BsJCFfdsnCZkdBGAoPWJ9y8TAvyAcz2EG3RsqxgXeJawiqig2%2FvrDlwoK5gOFsdugnEcBjw2hNALwbgGkduAACXQTGmiAO6EIAEJ%2Bg0eM1spC4CUJIQgA%3D%3D">Resources</a></h3>
<ul>
<li><p><a target="_blank" href="https://mitosis.builder.io/playground/?code=JYWwDg9gTgLgBAbzgVwM4FMDKMCGN1wC%2BcAZlBCHAEQACARssADYAm6UAdMBAPQjAwIqYKioBuAFDoAHpFhw2JHMibwSyAHYBjGNw1wAsgE8AwhUgb0GmAAow5MKgCUiCXDhaIG1PADaGnBB0ABo4DBgAOUD0AF04AF4UDGw8dBsqABFgADcjHG8ACyonSXcodBhkKH0bN3c4AB4WHIA%2BOvrG4A0wZBh2jo9UVHiEBH6BjwgmaAAuanKWKmDx%2BsJCFfdsnCZkdBGAoPWJ9y8TAvyAcz2EG3RsqxgXeJawiqig2%2FvrDlwoK5gOFsdugnEcBjw2hNALwbgGkduAACXQTGmiAO6EIAEJ%2Bg0eM1spC4CUJIQgA%3D%3D"><strong>Documentation</strong>:</a> Dive deeper into Mitosis by exploring the official documentation.</p>
</li>
<li><p><a target="_blank" href="https://mitosis.builder.io/playground/"><strong>Playground</strong></a>: Experiment with Mitosis in the interactive playground.</p>
</li>
<li><p><a target="_blank" href="https://mitosis.builder.io/docs/figma/"><strong>Figma Integration</strong></a>: Learn how to integrate Figma with Mitosis for a seamless design-to-code experience.</p>
</li>
<li><p><a target="_blank" href="https://discord.com/invite/SNusEyNGsx"><strong>Mitosis Discord</strong></a>: Join the Mitosis community on Discord.</p>
</li>
</ul>
<h3 id="heading-contribute-to-mitosis-on-githubhttpsgithubcombuilderiomitosis">Contribute to Mitosis on <a target="_blank" href="https://github.com/BuilderIO/mitosis">GitHub</a></h3>
<ul>
<li><p>Interested in contributing? Check out the developer docs to get started.</p>
</li>
<li><p>Explore our list of good first issues and become part of the Mitosis journey!</p>
</li>
</ul>
<p>😊 Happy coding!</p>
<hr />
]]></content:encoded></item><item><title><![CDATA[Day 2/30 - Learning Rust 🦀]]></title><description><![CDATA[Welcome to Day 2 of our Rust journey! Today, we’ll dive into the fundamental concepts of variables, mutability in Rust. Let’s get started!
Variables and Mutability
1. Declaring Variables
In Rust, you declare variables using the let keyword. Variables...]]></description><link>https://blog.divyanshmehta.in/day-230-learning-rust</link><guid isPermaLink="true">https://blog.divyanshmehta.in/day-230-learning-rust</guid><category><![CDATA[Rust]]></category><category><![CDATA[30 Days of Code]]></category><dc:creator><![CDATA[Divyansh Mehta]]></dc:creator><pubDate>Mon, 04 Mar 2024 16:09:41 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1709558840471/7f6adebc-cb9a-4b7b-8c7f-c38abb46acf0.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Welcome to Day 2 of our Rust journey! Today, we’ll dive into the fundamental concepts of variables, mutability in Rust. Let’s get started!</p>
<h2 id="heading-variables-and-mutability">Variables and Mutability</h2>
<h3 id="heading-1-declaring-variables">1. Declaring Variables</h3>
<p>In Rust, you declare variables using the <code>let</code> keyword. Variables are immutable by default, meaning their values cannot be changed once assigned. Here’s an example:</p>
<pre><code class="lang-rust"><span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">main</span></span>() {
    <span class="hljs-keyword">let</span> name = <span class="hljs-string">"Alice"</span>; <span class="hljs-comment">// Immutable variable</span>
    <span class="hljs-built_in">println!</span>(<span class="hljs-string">"Hello, {}!"</span>, name);
}
</code></pre>
<h3 id="heading-2-mutability">2. Mutability</h3>
<p>To create mutable variables, use the <code>mut</code> keyword:</p>
<pre><code class="lang-rust"><span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">main</span></span>() {
    <span class="hljs-keyword">let</span> <span class="hljs-keyword">mut</span> age = <span class="hljs-number">30</span>; <span class="hljs-comment">// Mutable variable</span>
    age += <span class="hljs-number">1</span>; <span class="hljs-comment">// Modify the value</span>
    <span class="hljs-built_in">println!</span>(<span class="hljs-string">"Next year, I'll be {} years old."</span>, age);
}
</code></pre>
<h3 id="heading-3-constants">3. Constants</h3>
<p>Constants are declared using the<code>const</code> keyword and must have a fixed value at compile time.</p>
<pre><code class="lang-rust"><span class="hljs-keyword">const</span> PI: <span class="hljs-built_in">f64</span> = <span class="hljs-number">3.14159</span>;
<span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">main</span></span>() {
    <span class="hljs-built_in">println!</span>(<span class="hljs-string">"The value of PI is approximately {}."</span>, PI);
}
</code></pre>
<h3 id="heading-points-to-remember-about-rust-variables">Points to remember about rust variables:</h3>
<ul>
<li><p>By default, Rust variables are immutable.</p>
</li>
<li><p>If you try to reassign the values to variables,. If they are declared like this: <code>let x = 5;</code> then you will encounter an error like this:<code>cannot assign twice to immutable variable x</code>.</p>
</li>
<li><p>Although variables are immutable by default, you can make them mutable by adding <code>mut</code> in front of the variable name.</p>
</li>
<li><p><code>mut</code>cannot be used in conjunction with constants. Not only are constants immutable by default, but they are immutable at all times. <code>const</code> declarations need the type of the value to be annotated, like:<code>u32</code>, and you use it instead of the let keyword.</p>
</li>
<li><p>Rust’s naming convention for constants is to use all uppercase with underscores between words. Ex: THREE_HOURS_IN_SECONDS</p>
</li>
</ul>
<h3 id="heading-shadowing">Shadowing</h3>
<p>Shadowing means that it is possible to declare a new variable with the same name as an existing one. According to Rustaceans, when you use the variable name, the compiler will see the second variable since the first variable is shadowed by the second.</p>
<pre><code class="lang-rust"><span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">main</span></span>() {
    <span class="hljs-keyword">let</span> x = <span class="hljs-number">5</span>;

    <span class="hljs-keyword">let</span> x = x + <span class="hljs-number">1</span>;

    {
        <span class="hljs-keyword">let</span> x = x * <span class="hljs-number">2</span>;
        <span class="hljs-built_in">println!</span>(<span class="hljs-string">"The value of x in the inner scope is: {x}"</span>);
    }

    <span class="hljs-built_in">println!</span>(<span class="hljs-string">"The value of x is: {x}"</span>);
}

<span class="hljs-comment">// Output</span>
<span class="hljs-comment">// The value of x in the inner scope is: 12</span>
<span class="hljs-comment">// The value of x is: 6</span>
</code></pre>
<p>Another distinction between mut and shadowing is that when we use the let keyword again, we're essentially establishing a new variable, so we can modify the value's type while keeping its name the same.</p>
<pre><code class="lang-rust">    <span class="hljs-keyword">let</span> spaces = <span class="hljs-string">"   "</span>;
    <span class="hljs-keyword">let</span> spaces = spaces.len();
</code></pre>
<p>There are two types of space variables: a numeric type for the second and a string type for the first. Because of shadowing, we can reuse the more straightforward spaces namess rather than having to think of new ones, like <code>spaces_str</code> and <code>spaces_num</code> . However, as demonstrated here, if we attempt to utilize mut for this, we will receive a compile-time error:</p>
<pre><code class="lang-rust">    <span class="hljs-keyword">let</span> <span class="hljs-keyword">mut</span> spaces = <span class="hljs-string">"   "</span>;
    spaces = spaces.len();
</code></pre>
<p>The error says we’re not allowed to mutate a variable’s type.</p>
<pre><code class="lang-bash">$ cargo run
   Compiling variables v0.1.0 (file:///projects/variables)
error[E0308]: mismatched types
 --&gt; src/main.rs:3:14
  |
2 |     <span class="hljs-built_in">let</span> mut spaces = <span class="hljs-string">"   "</span>;
  |                      ----- expected due to this value
3 |     spaces = spaces.len();
  |              ^^^^^^^^^^^^ expected `&amp;str`, found `usize`

For more information about this error, try `rustc --explain E0308`.
error: could not compile `variables` due to previous error
</code></pre>
<hr />
<p>Stay tuned for Day 3, where we’ll explore datatypes and functions. Happy coding! 🦀🚀</p>
]]></content:encoded></item><item><title><![CDATA[Day 1/30 - Learning Rust 🦀]]></title><description><![CDATA[Introducing the 30-Day Rust Coding Challenge! 🦀 This challenge will go into the realm of Rust programming. We shall choose a topic related to Rusts every day and thoroughly study it. The official Rust documentation will cover every single topic that...]]></description><link>https://blog.divyanshmehta.in/day-130-learning-rust</link><guid isPermaLink="true">https://blog.divyanshmehta.in/day-130-learning-rust</guid><category><![CDATA[Rust]]></category><category><![CDATA[30 Days of Code]]></category><dc:creator><![CDATA[Divyansh Mehta]]></dc:creator><pubDate>Sun, 03 Mar 2024 09:08:45 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1709459609575/b8a3117a-10f9-4038-a5b1-1c19846bc333.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Introducing the 30-Day Rust Coding Challenge! 🦀 This challenge will go into the realm of Rust programming. We shall choose a topic related to Rusts every day and thoroughly study it. The official Rust documentation will cover every single topic that we will study throughout this challenge.</p>
<h2 id="heading-todays-topics-explored-include">Today's topics explored include:</h2>
<ul>
<li><p><strong><em>Rust Installation</em></strong></p>
</li>
<li><p><strong><em>Rust First Program (Namaste, Rust!!!)</em></strong></p>
</li>
<li><p><strong><em>How to build projects with Cargo</em></strong></p>
</li>
</ul>
<h3 id="heading-1-rust-installation">1. <strong><em>Rust Installation</em></strong></h3>
<p>Before diving into Rust, let’s set up our development environment. Follow these steps to install Rust:</p>
<ol>
<li><p><strong>Windows</strong>:</p>
<ul>
<li><p>Visit the <a target="_blank" href="https://www.rust-lang.org/tools/install">official Rust website</a>.</p>
</li>
<li><p>Download the installer and run it.</p>
</li>
<li><p>Follow the installation instructions.</p>
</li>
</ul>
</li>
<li><p><strong>Linux/macOS</strong>:</p>
<ul>
<li><p>Open your terminal.</p>
</li>
<li><p>Run the following command:</p>
<pre><code class="lang-bash">  curl --proto <span class="hljs-string">'=https'</span> --tlsv1.2 -sSf https://sh.rustup.rs | sh
</code></pre>
</li>
<li><p>Follow the prompts to complete the installation.</p>
</li>
</ul>
</li>
<li><p>Verify the installation by running:</p>
<pre><code class="lang-bash"> rustc --version
</code></pre>
</li>
</ol>
<div data-node-type="callout">
<div data-node-type="callout-emoji">💡</div>
<div data-node-type="callout-text">A local copy of the documentation is also included with the Rust installation so you may read it offline. To access the local documentation in your browser, run command: <code>rustup doc</code></div>
</div>

<div data-node-type="callout">
<div data-node-type="callout-emoji">😊</div>
<div data-node-type="callout-text">You can update your Rust current version to latest version without downloading it again: <code>$ rustup update</code></div>
</div>

<div data-node-type="callout">
<div data-node-type="callout-emoji">🥲</div>
<div data-node-type="callout-text">You can also uninstall Rust too: <code>$ rustup self uninstall</code></div>
</div>

<hr />
<h3 id="heading-2-rust-first-program-namaste-rust">2. <strong><em>Rust First Program (Namaste, Rust!!!)</em></strong></h3>
<p>Let’s create a simple “Namaste, Rust!” program. Open your favorite text editor (VS Code 😅) or IDE and create a new file named <code>hello.rs</code>. Add the following code:</p>
<pre><code class="lang-rust"><span class="hljs-comment">// hello.rs</span>
<span class="hljs-function"><span class="hljs-keyword">fn</span> <span class="hljs-title">main</span></span>() {
    <span class="hljs-built_in">println!</span>(<span class="hljs-string">"Namaste, Rust!"</span>);
}
</code></pre>
<p>Save the file and open your terminal. Navigate to the directory where <code>hello.rs</code> is located and run:</p>
<pre><code class="lang-bash">rustc hello.rs
./hello
</code></pre>
<p>You should see the output: <code>Hello, World!</code></p>
<p></p><details><summary>Rust macro</summary><div data-type="detailsContent"><code>println!</code> calls a Rust macro. If it had called a function instead, it would be entered as <code>println</code> (without the <code>!</code>). You just need to know that using a <code>!</code> means that you’re calling a macro instead of a normal function and that macros don’t always follow the same rules as functions.</div></details><div data-node-type="callout"><p></p>
<div data-node-type="callout-emoji">🚨</div>
<div data-node-type="callout-text">You will also need a <em>linker</em>, which is a program that Rust uses to join its compiled outputs into one file. It is likely you already have one. If you get linker errors, you should install a C compiler, which will typically include a linker. A C compiler is also useful because some common Rust packages depend on C code and will need a C compiler.</div>
</div>

<div data-node-type="callout">
<div data-node-type="callout-emoji">👉</div>
<div data-node-type="callout-text">To install C compiler on Linux: <code>sudo apt install build-essential</code></div>
</div>

<div data-node-type="callout">
<div data-node-type="callout-emoji">💡</div>
<div data-node-type="callout-text">Use the automatic formatter tool <code>rustfmt</code> to format your code in a specific manner if you want to maintain consistency across all of your Rust projects. This tool is already installed on your machine because the Rust team includes it with the standard Rust distribution, which is <code>rustc</code>!</div>
</div>

<hr />
<h2 id="heading-3-how-to-build-projects-with-cargo">3. <strong><em>How to build projects with Cargo</em></strong></h2>
<h3 id="heading-what-is-cargo"><strong>What is Cargo?</strong></h3>
<p>Cargo is the package manager and build system for Rust. It is essential to the Rust ecosystem because it facilitates code compilation, dependency management, and package publishing. Cargo is installed automatically when you use <code>rustup</code> to install Rust.</p>
<h3 id="heading-how-cargo-works">How Cargo Works</h3>
<ol>
<li><p>Cargo.toml: This file acts as your project's manifest. It includes important details like dependencies, version, and project name. Here is where you declare your dependencies; Cargo will take care of the rest.</p>
</li>
<li><p>Cargo.lock: This file's goal is to guarantee a reproducible build. It keeps track of the precise dependency versions that were utilized in the most recent successful build. By sharing your project, you help others avoid surprises by allowing them to utilize the same versions.</p>
</li>
</ol>
<h3 id="heading-cargo-commands">Cargo Commands</h3>
<p>Here are some common Cargo commands:</p>
<ul>
<li><p>Creating a Project with Cargo:</p>
<pre><code class="lang-bash">  $ cargo new hello_cargo
  $ <span class="hljs-built_in">cd</span> hello_cargo
</code></pre>
</li>
<li><p>Building and Running a Cargo Project:</p>
<pre><code class="lang-bash">  $ cargo build
     Compiling hello_cargo v0.1.0 (file:///projects/hello_cargo)
      Finished dev [unoptimized + debuginfo] target(s) <span class="hljs-keyword">in</span> 2.85 secs
</code></pre>
<pre><code class="lang-bash">  $ ./target/debug/hello_cargo <span class="hljs-comment"># or .\target\debug\hello_cargo.exe on Windows</span>
  Hello, world!
</code></pre>
</li>
<li><p>Running a Cargo Project (One-Linear/Easier way to run):</p>
<pre><code class="lang-bash">  $ cargo run
      Finished dev [unoptimized + debuginfo] target(s) <span class="hljs-keyword">in</span> 0.0 secs
       Running `target/debug/hello_cargo`
  Hello, world!
</code></pre>
</li>
<li><p>Cargo has a command known as <code>cargo check</code>. This tool generates no executable, but it quickly verifies that your code compiles.</p>
<pre><code class="lang-bash">  $ cargo check
     Checking hello_cargo v0.1.0 (file:///projects/hello_cargo)
      Finished dev [unoptimized + debuginfo] target(s) <span class="hljs-keyword">in</span> 0.32 secs
</code></pre>
</li>
</ul>
<hr />
<p>I'm very grateful that you read! 🤧</p>
<p>I hope you found this blog post to be useful.</p>
<p><strong>Happy coding! 😊🦀</strong></p>
]]></content:encoded></item></channel></rss>