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...
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...
Database | Recipe | Crates | Categories | |--------|--------|------------| | Create a SQLite database | [![rusqlite-badge]][rusqlite] | [![cat-database-badge]][cat-database] | | Insert and Query data | [![rusqlite-badge]][rusqlite] | [![cat...
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...
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...
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...
Development Tools Debugging | Recipe | Crates | Categories | | -------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------...
Debugging | Recipe | Crates | Categories | | -------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------...