Busca en todas las páginas de la documentación
13 pages in this section.
Why a handful of crates - serde, tokio, anyhow/thiserror, tracing, clap, rayon - became de facto standard-library extensions instead of being folded into std.
Learn how Serde separates data types from wire formats like JSON, MessagePack, and TOML using Serialize and Deserialize traits.
Learn how Tokio, the async runtime for Rust, provides an executor, timers, and async IO for network services. See examples and features.
Learn to implement robust error handling in Rust applications and libraries using anyhow for ergonomic Result handling and thiserror for defining typed errors.
Learn how to use the tracing crate for structured, contextual logging in async Rust applications, including spans, filters, and OpenTelemetry export.
Build typed CLIs in Rust with clap v4. Learn to parse arguments, create subcommands, and generate helpful --help output using derive macros.
Learn how to use Rayon to convert sequential iterators into parallel ones for CPU-bound data processing with a work-stealing thread pool.
Learn to integrate reqwest for HTTP requests and sqlx for database access in Rust applications, covering microservices and database interactions.
Compare Rust's chrono and time crates for handling dates, times, and durations. Learn when to use each and how to serialize with serde.
Discover how itertools extends Rust's iterator capabilities and rand provides reproducible randomness for simulations, sampling, and unique IDs.
Learn to use LazyLock for lazily initialized global static variables and DashMap for concurrent, mutable hash maps in Rust applications.
Learn essential Rust dependency habits for fast builds, safe upgrades, and easy onboarding. Discover best practices for Serde, Tokio, error handling, and more.
A single-page roundup of every highlight bullet from the 12 pages in the Essential Crates section, grouped by source page so you can scan all 68 takeaways without opening each article individually.