Deep Dive · Rust

The Rust Ecosystem, Beginner to Advanced: A Map With Two Wrong Turns

Eighteen minutes that walk from ownership to embedded devices, naming the crates you will actually meet. The map is good. Two of the labels are wrong, and one of them will send a beginner down a road that does not exist.

The full Rust ecosystem — video thumbnail
Video: Velum Theory 18:07 8 November 2026
Rust Cargo Tokio Axum Bevy

🧠 The language in four minutes 1:17

IdeaWhat the video saysWhy it is right
OwnershipEvery value has exactly one owner; assigning moves it and the old name stops compilingOne owner means exactly one cleanup, so memory is never freed twice and never leaked by neglect
BorrowingPass a reference to read without moving; many readers or one writer, never bothThat single rule is what stops data races before the program runs
LifetimesA reference must never outlive its value; the compiler compares the twoEliminates dangling pointers at compile time rather than at 3am
The explanation of why the strictness exists is the best thirty seconds in the video: moving a value on every use would be painful, so borrowing exists; and borrowing is safe only because the read/write rule holds. Presentation order matters here — most tutorials teach the rules, then the reason. This one gives the reason second, which is the order that makes it stick.

🛠 The toolchain 4:35

ToolJob
rustupInstalls and updates Rust, switches versions, adds targets for other platforms
rustcThe compiler — rarely called directly
cargoBuild system, package manager and test runner: cargo new, build, run, test
rust-analyzerAutocomplete, errors as you type, go to definition, refactoring
rustfmtFormats code identically every time
clippyLinter that names the idiomatic version of what you just wrote
The one-sentence summary is worth keeping: rustup manages your installation, cargo manages your project, rust-analyzer helps you write it, rustfmt keeps it tidy, clippy helps you improve it. That is the whole developer loop, and it is the reason Rust newcomers do not spend a week choosing a build tool.

📦 Crates, and a number that is wrong 6:00

ClaimReality at publication
crates.io holds more than 280,000 crates384,364 crates, and about 572.9 billion downloads
A crate is a unit of compilation and distribution; a package can hold severalCorrect
The standard library is deliberately small, so you pick crates for common jobsCorrect, and the single most important cultural fact about Rust
Cargo.toml declares dependencies and features; Cargo.lock pins exact versionsCorrect — commit the lock file for applications, not for libraries
Workspaces keep related packages in one repositoryCorrect
Features enable optional parts so builds stay smallCorrect, with the usual warning that feature unification can surprise you
The crate count is off by about a hundred thousand, which matters less for the number than for what it implies: the ecosystem is roughly a third larger than the video suggests, and the argument for reading docs.rs before adding a dependency gets stronger, not weaker. The structural explanation around it — small standard library, crates for everything, features to keep builds small — is accurate and is what a beginner actually needs.

🌐 Backend, and a contradiction 7:47

FrameworkIts stated characterStars
AxumWorks closely with Tokio and the Tower ecosystem; routing, requests, middleware27,900
Actix WebKnown for raw speed and a rich set of integrations25,000
RocketDeveloper productivity and a high-level style—
The section contradicts itself twice, and a beginner picking a stack will notice. It recommends Axum, then says "in Actix, each route connects to a function that handles the incoming request" while describing the Axum example, then lists "Actix for routing, Tokio for async" as the typical stack, and finally closes with "Axum handles the routes". Pick one: Axum plus Tower plus Tokio is the coherent modern stack, and Actix Web is a separate alternative with its own runtime layer.
CrateJobNote
SerdeConverts between Rust types and formats such as JSON and TOML1.76 billion downloads on crates.io — the most depended-on crate in the language
ReqwestHTTP client for calling external APIs"request" in the audio
SQLxPostgreSQL, MySQL and SQLite, with compile-time query checking in many setups196 million downloads; version 0.9.1
Diesel"An ORM that uses Rust's type system, and Diesel offers an asynchronous style"Half right — see below
Diesel is synchronous, deliberately. It is a blocking ORM and query builder; asynchronous access comes from the separate diesel-async crate, which implements async connections for PostgreSQL and MySQL. Saying Diesel "offers an asynchronous style" inside the core library would send someone looking for something that is not there — and the reason it is not there is a design position, not an oversight. It is 2.4.0 as of mid-November 2026.

⚡ Async, and the honest warning 9:46

FactDetail
No runtime in the standard libraryYou add one; that choice is part of your architecture
TokioSchedules tasks, handles networking and timers, provides synchronisation — 1.23 billion downloads
async / .awaitAn async function returns a future; the runtime polls it so it advances when it can
Alternativessmol for a smaller runtime, Embassy for microcontrollers
"Async is not automatically faster. It helps most when your program spends its time waiting for input and output. For heavy calculations, threads and parallel processing are usually the better tool."
That sentence is the correction most Rust tutorials need and omit. Async is a mechanism for not blocking a thread while waiting; on a CPU-bound workload it adds scheduling overhead and splits work across only as many cores as you gave the runtime. The distinction — I/O-bound wants async, CPU-bound wants threads — is the one that decides whether a service scales or melts.

🏭 Production wiring 11:29

CrateJob
TowerBuilding blocks for services and middleware — logging, timeouts, auth, written once
tracingStructured logs that let you follow one request across services
anyhowConvenient application-level errors
thiserrorClear custom error types for libraries
Redis, OpenTelemetry, JWT cratesCaching, telemetry, login tokens
The distinction between anyhow and thiserror is the one people get wrong for months: anyhow is for applications, where you want a readable chain of what went wrong; thiserror is for libraries, where callers need to match on your error variants. Both sit on Result, and neither invents a new error model.
The finished stack, as he assembles itRole
AxumRoutes
TowerMiddleware
TokioAsync execution
SQLxDatabase
SerdeData conversion
tracingPer-request observability
anyhow / thiserrorFailures

⌨️ Command-line tools 12:45

CrateJobStars
clapArguments, flags and subcommands described as a struct; validation and help for free16,900
RatatuiPanels, tables and dashboards inside a terminal23,400
CLI tools are where Rust's pitch sells itself without a benchmark: instant start, small memory, one binary per platform, no interpreter to install. That is also why so many replacements for grep, ls, find and friends are written in it — the constraint is the same one the video names at the start.

🎮 Desktop and games 13:19

ToolModel
Tauri v2Screens in HTML, CSS and JavaScript; Rust for system work, file access and logic
BevyA data-driven engine on an entity component system — 49,900 stars

The ECS explanation is correct and unusually clear: an entity is an object, a component is a piece of data attached to it, and a system is logic that runs over entities having certain components. A player is an entity; position and health are components; movement and collision are systems.

Two updates worth knowing. Bevy's API still changes between releases — pin your version and read the migration guide, exactly as he says. And Tauri is no longer only at v2: v3 alphas have been shipping since October 2026, so a new project should plan for that transition rather than treat v2 as the final state.

🌍 WebAssembly 14:12

PieceJob
WebAssemblyA portable binary format that runs in browsers and elsewhere
wasm-bindgenThe bridge handling calls and data between Rust and JavaScript — 681 million downloads
Leptos or DioxusBuild the interface in Rust too
The patternJavaScript runs the browser, WebAssembly runs the heavy part
The framing "WebAssembly doesn't replace JavaScript" is correct and worth repeating, because the hype cycle around it promised the opposite for years. The realistic use is narrow and valuable: image processing, codecs, parsers, simulation — the parts where a JavaScript implementation is too slow, called from an interface that stays JavaScript.

🔌 Embedded 15:02

TermMeaning
no_stdDrops the standard library, which assumes an operating system
PACPeripheral access crate — exposes one specific chip's registers
HALHardware abstraction layer — a friendlier interface on top of the PAC
EmbassyAsync framework for microcontrollers — 10,100 stars
This is where Rust's safety pitch has the highest stakes: a device with no operating system has no process boundary to contain a memory bug, and no way to reboot a fleet of sensors in a factory. The ownership model that felt pedantic on a web server is the reason the firmware cannot corrupt itself silently.

🧪 Testing and shipping 15:56

ToolJobStars
cargo testUnit, integration and documentation tests—
Doc testsCode examples in your docs that cargo runs, so they cannot go stale—
CriterionBenchmarking5,600
MiriCatches undefined behaviour, essential when you write unsafe code6,800
Cross compilation, Docker, KubernetesBuilding for another platform, packaging, running—
GitHub ActionsRuns tests, formatting check and clippy on every change—
Documentation tests are the feature nobody advertises and everybody benefits from: an example in a doc comment is compiled and executed by cargo test, so the day your API changes, the example breaks the build instead of quietly misleading a reader. It is the same principle as this site's claims checked tables — the correction is enforced, not remembered.

🔗 The supply-chain warning 16:49

"Attackers have published fake crates with names close to real ones, so check the crates you add, keep Cargo.lock committed and run cargo audit in your automatic checks."
This is the most under-weighted paragraph in the video, and it is true of every package registry with open publishing: typosquatting, dependency confusion, a malicious patch release of a small utility nobody reviews. A small standard library that pushes you to hundreds of dependencies is a strength for correctness and a liability for trust — the two facts are the same fact.
What a serious mitigation list adds: pin exact versions in the lock file and review the diff when it changes, prefer crates with a visible maintainer history rather than a fresh name, run cargo audit and cargo deny in CI, and be wary of build scripts — a build.rs runs code on your machine at compile time, which is a stronger capability than a runtime dependency.

🧭 What to learn, in what order 16:59

StepContentResource he names
1Ownership, borrowing, lifetimes, structs, enums, traits, error handling — do not rushThe Book
2Cargo: projects, dependencies, tests, formattingThe Book plus Rustlings
3Pick one direction: backend (Tokio, Axum, Serde, SQLx), web (Wasm, wasm-bindgen), games (Bevy), hardware (embedded, no_std)—
"You don't need every crate in the ecosystem. That's practically impossible anyway. Learn the main building blocks, know what problem each one solves and know when to reach for it."
That closing advice is the most useful thing in eighteen minutes, and the video's own structure proves it: eighteen minutes of names is a map, not knowledge. The durable skill is recognising the shape of a problem — I need an async runtime, I need typed errors, I need layout — and knowing which category of crate answers it. Names change; categories do not.

✅ Claims checked

ClaimVerdictEvidence
Rust targets performance, reliability and memory safety, with no garbage collectorCorrectStandard description of the language's design goals
Assignment moves ownership; using the old name fails to compileCorrectMove semantics
Many readers or exactly one writer, never bothCorrectThe borrow rule that prevents data races
Lifetimes prevent a reference outliving its valueCorrectChecked at compile time
rustup, rustc, cargo, rust-analyzer, rustfmt, clippy do what he saysCorrectAll six are the standard toolchain
crates.io holds more than 280,000 cratesOutdated — 384,364 cratescrates.io summary API at publication, with ~572.9 billion downloads
The standard library is deliberately small and you pick crates for common jobsCorrectThe organising principle of the ecosystem
Cargo.toml declares, Cargo.lock pins; commit the lock for applicationsCorrectStandard practice
Workspaces hold several related packagesCorrect—
Axum works closely with Tokio and TowerCorrect27,900 stars, MIT
Actix Web is known for raw speed; Rocket for productivityFair characterisationActix 25,000 stars; benchmark leadership is a long-running claim, not a constant
The recommended stack uses Axum … and also ActixContradictoryThe section names Actix for routing, then closes with Axum for routes
Serde converts between Rust types and JSON/TOMLCorrect1.76 billion downloads — the most depended-on crate
SQLx supports PostgreSQL, MySQL and SQLite with compile-time query checksCorrect, in many setupsThe macros need a live database or offline metadata; 0.9.1, 196 million downloads
Diesel offers an asynchronous styleWrong — Diesel is synchronousAsync access comes from the separate diesel-async crate, for PostgreSQL and MySQL; core is 2.4.0
Rust has no full async runtime in the standard libraryCorrectYou choose one
Tokio schedules tasks, handles networking and timersCorrect1.23 billion downloads; 1.54.1
smol is a smaller alternative runtime; Embassy targets microcontrollersCorrectsmol 5,100 stars; Embassy 10,100
Async is not automatically faster; CPU-bound work prefers threadsCorrectThe distinction that matters in practice
Tower, tracing, anyhow and thiserror play the roles describedCorrectanyhow for applications, thiserror for libraries
clap generates validation and help from a struct; Ratatui builds terminal dashboardsCorrectclap 16,900 stars; Ratatui 23,400
Tauri v2 splits web screens from Rust system workCorrect — but v3 is in alphav2 stable 2 October 2024; v3.0.0-alpha releases October–November 2026
Bevy uses an ECS: entity, component, systemCorrect49,900 stars
Bevy's interface still changes between releasesCorrectMigration guides are published per release
WebAssembly is portable and wasm-bindgen bridges Rust and JavaScriptCorrect681 million downloads
Leptos and Dioxus build interfaces in RustCorrectLeptos 21,600 stars
Embedded uses no_std, PACs, HALs and EmbassyCorrectStandard embedded Rust vocabulary
Doc tests are run by cargo test; Miri catches undefined behaviourCorrectMiri 6,800 stars; Criterion 5,600
Fake crates with similar names are a real attack, so audit dependenciesCorrectTyposquatting and malicious releases have occurred on the registry
The Book and Rustlings are the right starting pairReasonableRustlings has 64,800 stars and is the official exercise set

Basis note. Built from the full 18:07 video and checked against crates.io's summary and per-crate APIs, repository metadata, and the projects' own documentation. The transcript mangles several names — Tokio as "Tokyo", reqwest as "request", wasm-bindgen as "Wasmtime gen", rustfmt as "Rust format", smol as "Small", thiserror as "this error" — all corrected here. Star counts and download figures were read at publication. The observations about the anyhow/thiserror split, build scripts as a supply-chain surface, and why the crate count correction strengthens rather than weakens his advice are this article's.

🔑 Key takeaways

  • The borrow rule exists because of cleanup: one owner, one free, no double frees, no manual deallocation.
  • Five tools make the loop: rustup installs, cargo builds, rust-analyzer writes, rustfmt tidies, clippy improves.
  • A small standard library is a cultural decision: you pick a crate for JSON, HTTP, arguments and async.
  • crates.io has 384,000 crates, not 280,000 — which makes reading docs.rs before adding a dependency more important, not less.
  • Diesel is synchronous. Async access is diesel-async, a separate crate — not a feature of the core library.
  • Rust has no built-in async runtime. Choosing Tokio is choosing part of your architecture.
  • Async is not automatically faster. I/O-bound wants async; CPU-bound wants threads.
  • anyhow for applications, thiserror for libraries — both on the same Result.
  • Doc tests keep examples honest because the compiler runs them.
  • Miri is for unsafe code; if you never write unsafe, you will rarely need it.
  • Dependency trust is the price of the small standard library — audit, pin, and watch build scripts.
  • Don't try to learn the ecosystem. Learn the categories of problem, then look up which crate answers each.

🔗 Resources

  • The video — Velum Theory, 18:07
  • crates.io and docs.rs — the registry and the documentation it hosts
  • Rustlings — the exercise set he recommends alongside the Book
  • Axum, Tokio, Tower — the backend stack
  • Bevy, Tauri, Embassy — games, desktop, embedded
  • This site's deep dive comparing egui, Iced, Tauri and GPUI for the desktop section, with the ownership trade-offs spelled out per library
Basis note. No sponsor content and no affiliate links. Figures were read from crates.io and the repositories at publication rather than from the narration, which is how the crate count and the Diesel async claim were caught. Where a claim is a benchmark reputation rather than a measurement, it is labelled as such.

⏱ Timestamp index

0:00One language, everything from kernels to firmware
0:23Where Rust is used
0:38More than a language
0:55How the pieces fit together
1:17Performance, reliability, memory safety
1:32Compiled to machine code
1:45The compiler catches mistakes early
1:57What goes wrong in C and C++
2:27Move semantics by example
2:59Why one owner? Cleanup
3:17Borrowing with ampersand
3:31Many readers or one writer
3:51Lifetimes
4:09Hard at first, foundation always
4:17Structs, enums, traits, Option, Result
4:35Four parts of the toolchain
4:52rustup
5:01rustc
5:09cargo
5:29rust-analyzer
5:41rustfmt and clippy
6:00Why crates exist
6:13Crate versus package
6:25crates.io as the registry
6:38A deliberately small standard library
6:52Cargo.toml and Cargo.lock
7:10Workspaces
7:20Features
7:30docs.rs
7:47Rust in the backend
8:05Axum
8:20Actix Web and Rocket
8:41Reqwest for outbound calls
8:52Serde
9:09SQLx and Diesel
9:46Why async exists
10:13No runtime in the standard library
10:29async and await, futures and polling
11:05Three requests at once
11:17Async is not automatically faster
11:29Tower and middleware
11:52tracing
12:04anyhow and thiserror
12:20Redis, OpenTelemetry, JWT
12:29The stack assembled
12:45Command-line tools
13:00clap
13:11Ratatui
13:19Desktop apps and games
13:23Tauri v2
13:36Bevy and ECS
14:05Pin Bevy's version
14:12WebAssembly
14:41wasm-bindgen
14:53Wasm complements JavaScript
15:02Embedded devices
15:21no_std
15:31PAC and HAL
15:42Embassy
15:56Testing
16:07Documentation tests
16:15Criterion and Miri
16:27Binaries, cross compilation, Docker
16:39CI and cargo audit
16:49Fake crates and dependency care
16:59Where to start
17:04Learn the language first
17:12Cargo, the Book, Rustlings
17:22Pick one direction
17:38You don't need every crate
17:48The promise, restated
☰ View all