Crate Selection
Choose Dependencies for your Project
The Rust standard library is fairly minimal (on purpose). Besides providing basic data types, the standard library is largely concerned with abstracting over differences in common platforms, e.g., Windows and Unix derivatives.
Instead, major functionality like regular expressions, random numbers, cryptography, serialization, async, and logging, are found in separate Rust crates that are available on crates.io
↗. Rustaceans add these crates to their projects via the cargo
↗ package manager.
A common complaint from new Rust developers is that they don't know which crates they ought to use.
Use this Book to Select Crates for your Project
It is the main purpose of this book to provide expansive coverage of "key" or "foundational" crates - those crates that make up the most common programming tasks.
- Browse the left sidebar for a relevant category.
- Search by keyword for recipes for your specific problem.
- Consult the index of examples.
- Consult the word_index.
- Consult Crates by Alphabetical Order and Crates by Category.
- Use this book's links to Rust documentation, books, videos, cheatsheets, etc.
- The Example Code and Templates chapter provides lists of popular Rust repositories.
Crate Recommendations
You may also use the following sites for crate recommendations:
blessed.rs
↗,lib.rs
↗, and in particular,- Most Popular Rust Libraries↗,
- Crates statistics↗,
- The Rust community's official crate registry:
crates.io
↗,crates.io
's Most (Recent) Downloads↗.- You should search for crates by category↗ and by keywords↗.
You can also search or post on Rust chat servers and forums - see Blogs and Forums.
Additional Lists & Reviews
- Awesome Rust (libhunt.com)↗.
- Top Rust Libraries 2025↗.
- State of the Crates 2025↗.
- r/rust: "What are some less popular but well-made crates you'd like others to know about?"↗.
- "Must know" Rust Crates↗.
- RustRepo↗.
You may also consult older resources, such as:
Understand the State of the Rust Ecosystem
You will find below links to "Are we ... yet?" websites and similar. They list key libraries and tools and provide an idea of the current state of the art in a given domain.
- General
- Are We Rust Yet?↗: Awesome list of "Are We thing Yet" for Rust.
- Not Yet Awesome Rust↗: a list of Rust code and resources that do NOT exist yet.
- By Topic
- Are We Web Yet?↗.
- Are We Async Yet?↗.
- Are We GUI Yet?↗.
- Are We IDE Yet?↗.
- Are We Game Yet?↗.
- Are We Learning Yet?↗.
- Are We Bio Yet?↗.
- Are We VFX Yet?↗.
- Are We Quantum Yet?↗.
- Are We in Space Yet?↗.
- Rust Audio↗.
- Awesome Geo-Rust↗: geospatial software, libraries, tools and resources, written in Rust.
Note that several of these websites are out-of-date. Are We Rust Yet?↗ list their last commit date and update frequency.