rust-lang-nursery.github.io
Parallel Tasks
The Rust Cookbook
Book
2024-01-01
~1 min read
rust-lang-nursery.github.io
Actor Pattern
The Rust Cookbook
Book
2024-01-01
~1 min read
rust-lang-nursery.github.io
Custom Future
The Rust Cookbook
Book
2024-01-01
~1 min read
rust-lang-nursery.github.io
Cryptography | Recipe | Crates | Categories | |--------|--------|------------| | Calculate the SHA-256 digest of a file | [![ring-badge]][ring] [![data-encoding-badge]][data-encoding] | [![cat-cryptography-badge]][cat-cryptography] | | Sign...
The Rust Cookbook
Book
2024-01-01
~1 min read
rust-lang-nursery.github.io
Hashing
The Rust Cookbook
Book
2024-01-01
~1 min read
rust-lang-nursery.github.io
Archived: primary link replaced with an archive on 2026-09-12T16:41:11.444Z (UTC; replacement date, not snapshot date)
Encryption
The Rust Cookbook
Book
2024-01-01
~1 min read
rust-lang-nursery.github.io
Data Structures | Recipe | Crates | Categories | |--------|--------|------------| | Define and operate on a type represented as a bitfield | [![bitflags-badge]][bitflags] | [![cat-no-std-badge]][cat-no-std] | | Count word frequency in a doc...
The Rust Cookbook
Book
2024-01-01
~1 min read
rust-lang-nursery.github.io
Bitfield
The Rust Cookbook
Book
2024-01-01
~1 min read
rust-lang-nursery.github.io
Collections
The Rust Cookbook
Book
2024-01-01
~1 min read
rust-lang-nursery.github.io
Database | Recipe | Crates | Categories | |--------|--------|------------| | Create a SQLite database | [![rusqlite-badge]][rusqlite] | [![cat-database-badge]][cat-database] | | Insert and Query data | [![rusqlite-badge]][rusqlite] | [![cat...
The Rust Cookbook
Book
2024-01-01
~1 min read
rust-lang-nursery.github.io
SQLite
The Rust Cookbook
Book
2024-01-01
~1 min read
rust-lang-nursery.github.io
Working with Postgres
The Rust Cookbook
Book
2024-01-01
~1 min read
rust-lang-nursery.github.io
SQLx [sqlx][sqlx] is an async SQL toolkit for Rust. It supports connection pools, prepared queries, transactions, and compile-time checked queries for supported databases. To use [sqlx][sqlx] in your application, add the following crates to...
The Rust Cookbook
Book
2024-01-01
~1 min read
rust-lang-nursery.github.io
SeaORM [SeaORM][sea_orm] maps database tables to Rust entities and active models, so you can create, query, and update rows with typed values instead of writing raw SQL for each step. The entity in the recipe below shows the generated Rust...
The Rust Cookbook
Book
2024-01-01
~1 min read
rust-lang-nursery.github.io
Date and Time | Recipe | Crates | Categories | |--------|--------|------------| | Measure elapsed time | [![std-badge]][std] | [![cat-time-badge]][cat-time] | | Perform checked date and time calculations | [![chrono-badge]][chrono] | [![cat...
The Rust Cookbook
Book
2024-01-01
~1 min read
rust-lang-nursery.github.io
Duration and Calculation
The Rust Cookbook
Book
2024-01-01
~1 min read
rust-lang-nursery.github.io
Parsing and Displaying
The Rust Cookbook
Book
2024-01-01
~1 min read
rust-lang-nursery.github.io
Development Tools Debugging | Recipe | Crates | Categories | | -------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------...
The Rust Cookbook
Book
2024-01-01
~1 min read
rust-lang-nursery.github.io
Debugging | Recipe | Crates | Categories | | -------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------...
The Rust Cookbook
Book
2024-01-01
~1 min read
rust-lang-nursery.github.io
Log Messages
The Rust Cookbook
Book
2024-01-01
~1 min read