Index of Examples
Accessibility
Screen Readers
Recipe | Crates | Categories |
---|---|---|
Make a user interface accessible to screen readers |
Algorithms
Randomness
TODO
Sorting
Recipe | Crates | Categories |
---|---|---|
Sort a Vector of Integers | ||
Sort a Vector of Floats | ||
Sort a Vector of Structs |
TODO
API Bindings
Python Interop
Recipe | Crates | Categories |
---|---|---|
Python Interop |
Asynchronous
Async
Recipe | Crates | Categories |
---|---|---|
Basic Example | ||
Differences with other languages | ||
Which crate provides what? | ||
Async runtimes |
TODO
Async and Blocking
TODO
Async Channels
Recipe | Crates | Categories |
---|---|---|
OneShot | ||
Multiple Producer, Single Consumer |
TODO
Async Traits
Recipe | Crates | Categories |
---|---|---|
Async traits |
Futures
Recipe | Crates | Categories |
---|---|---|
Selecting futures | ||
Joining futures | ||
Map, then, either, flatten |
TODO
Streams
Recipe | Crates | Categories |
---|---|---|
Streams |
TODO
Tokio
Recipe | Crates | Categories |
---|---|---|
Basics | ||
Join | ||
Spawning | ||
IO | ||
Graceful shutdown |
TODO
Authentication
Basic Authentication
Recipe | Crates | Categories |
---|---|---|
Basic Authentication |
TODO
Caching
LRU Caching
Recipe | Crates | Categories |
---|---|---|
LRU cache |
TODO
Command Line Interface
ANSI Terminal
Recipe | Crates | Categories |
---|---|---|
ANSI Terminal | ||
Printing colored text to the Terminal | ||
Bold text in Terminal | ||
Bold and colored text in terminal | ||
Manipulate the cursor, style the output, handle input events |
TODO
Arguments
Recipe | Crates | Categories |
---|---|---|
Using clap's builder API | ||
Using clap 's derive API | ||
lexopt | ||
pico-args |
TODO
TUI
Recipe | Crates | Categories |
---|---|---|
Build complex TUI | {{hi:Command-line interface}} |
TODO
User Interaction
Recipe | Crates | Categories |
---|---|---|
Ask for confirmation, selection, text input | ||
Display progress bars and spinners | {{hi:indicatif}} |
TODO
Command Line Utilities
Filesystem
TODO
Networking
Recipe | Crates | Categories |
---|---|---|
Networking tools: gping |
Shells
Recipe | Crates | Categories |
---|---|---|
Shells and related utilities |
TODO
Compilers
Cross Compilation
Recipe | Crates | Categories |
---|---|---|
Cross-compile for multiple target OSes and architectures |
TODO
Faster Linking
Recipe | Crates | Categories |
---|---|---|
Faster linking | ||
Alternative - Mold linker |
TODO
Compilation Duration Reduction
Recipe | Crates | Categories |
---|---|---|
Use dynamic Linking | ||
Compile incrementally | ||
Measuring build times | ||
Change optimization levels | ||
Compilation duration reduction | ||
Incremental computation |
TODO
Compression
tar
Recipe | Crates | Categories |
---|---|---|
Decompress a tarball | ||
Compress a directory into a tarball | ||
Decompress a tarball while removing a prefix from the paths |
TODO
Computer Vision
OpenCV
Recipe | Crates | Categories |
---|---|---|
Analyze images with Open CV |
TODO
Shared State
Concurrent Data Structures
Recipe | Crates | Categories |
---|---|---|
Dashmap | ||
Bounded Multi-producer Multi-consumer Queue | ||
flurry |
Shared State
Recipe | Crates | Categories |
---|---|---|
Mutexes | ||
Parking Lot | ||
Atomics | ||
arc-swap |
Config
Configuration
Recipe | Crates | Categories |
---|---|---|
Configuration Management with Config | ||
Configuration Management with Confy |
Environment Variables
Recipe | Crates | Categories |
---|---|---|
Read environment variables from a .env file | ||
Retrieve a single environment variable | ||
Deserialize environment variables into type-safe structs |
Cryptography
Encryption
Recipe | Crates | Categories |
---|---|---|
Salt and hash a password with PBKDF2 |
TODO
Hashing
TODO
Password Hashing
TODO
Data Structures
Bitfield
Recipe | Crates | Categories |
---|---|---|
Define and operate on a type represented as a bitfield | ||
Flagset |
TODO
Maps
Recipe | Crates | Categories |
---|---|---|
Insertion-ordered map | ||
Multimap | ||
Slotmap |
TODO
Stack-allocated Arrays
TODO
UUIDs
Recipe | Crates | Categories |
---|---|---|
Generate and parse UUIDs |
TODO
Database Implementations
Databases
Recipe | Crates | Categories |
---|---|---|
Sled | ||
SurrealDB | [] cat-database-implementations |
TODO
Search
Recipe | Crates | Categories |
---|---|---|
Meilisearch | ||
Tantivy |
TODO
Date and Time
Duration
Recipe | Crates | Categories |
---|---|---|
Measure elapsed time | ||
Perform checked date and time calculations | ||
Convert a local time to another timezone |
TODO
Parse
Recipe | Crates | Categories |
---|---|---|
Examine the date and time | ||
Convert date to UNIX timestamp and vice versa | ||
Display formatted date and time | ||
Parse string into DateTime struct |
Time
Recipe | Crates | Categories |
---|---|---|
Use the time crate |
Cargo & Friends
Cargo
Recipe | Crates | Categories |
---|---|---|
Basic Cargo Usage | ||
Cargo.toml and lock files |
Crate Registries
Recipe | Crates | Categories |
---|---|---|
Crate Registries |
TODO
Package Layout
Recipe | Crates | Categories |
---|---|---|
Package layout |
TODO
Documentation
Badges
Documentation
Recipe | Crates | Categories |
---|---|---|
Documenting your code | ||
Module or crate-level documentation |
mdbook
Recipe | Crates | Categories |
---|---|---|
mdBook | ||
mdbook plugins | ||
CD / CI | ||
Rust playground |
TODO
Formatting
Formatting
Recipe | Crates | Categories |
---|---|---|
Rustfmt | ||
Rustfmt Configuration | ||
Formatting attributes |
Installation
Installation
Recipe | Crates | Categories |
---|---|---|
Rustup | ||
Cargo install | ||
Cargo binstall |
rustup
Recipe | Crates | Categories |
---|---|---|
Key commands |
TODO
Other
just
Recipe | Crates | Categories |
---|---|---|
Installation in a dev container | ||
Example justfile |
TODO
miri
Recipe | Crates | Categories |
---|---|---|
Miri | ||
Miri installation |
TODO
Other
Recipe | Crates | Categories |
---|---|---|
Background code checker | ||
API search | roogle{{hi:roogle}} | |
Deployment on shuttle.rs | shuttle.rs | |
Binary minimizer | ||
Code generators | ||
Code verifier | ||
Formal Methods |
Versioning
Versioning
Development Tools: Build Utils
Build Utils
Recipe | Crates | Categories |
---|---|---|
Compile and link statically to a bundled C library | ||
Compile and link statically to a bundled C++ library | ||
Compile a C library while setting custom defines |
Development Tools: Cargo-Plugins
Auditing
TODO
Building
Recipe | Crates | Categories |
---|---|---|
cargo make | ||
Devx | ||
xshell: Making Rust a Better Bash |
TODO
Code Formatting and Linting
Recipe | Crates | Categories |
---|---|---|
Format your code | ||
Format | ||
Lint your code | ||
Fix compiler warnings | ||
Check your code before committing it |
TODO
Cross-Compiling
Recipe | Crates | Categories |
---|---|---|
Cross-compile using Zig as the linker |
TODO
Maintaining
TODO
Performance
Recipe | Crates | Categories |
---|---|---|
Configure your Cargo project for maximum performance, fast compile times or minimal binary size | ||
cargo hakari |
TODO
Watching For Changes
Recipe | Crates | Categories |
---|---|---|
Cargo watch | ||
Cargo limit |
TODO
Writing
Recipe | Crates | Categories |
---|---|---|
Templates | Cargo Generate | |
Generate a Rust project from a template | ||
Quickly open the crates.io or docs.rs page for the latest version of a crate |
TODO
Development Tools: Debugging
Alternatives
Recipe | Crates | Categories |
---|---|---|
Older alternatives to tracing | ||
log | ||
slog | ||
log4rs | ||
env_logger | ||
Other frameworks | ||
OpenTelemetry | ||
OpenObserve |
TODO
Config Log
Recipe | Crates | Categories |
---|---|---|
Enable log levels per module | ||
Use a custom environment variable to set up logging | ||
Include a timestamp in log messages | ||
Log messages to a custom location |
TODO
Diagnostic Functions
Recipe | Crates | Categories |
---|---|---|
Get the type name of the pointed-to value |
TODO
Log
Recipe | Crates | Categories |
---|---|---|
Log a debug message to the console | ||
Log an error message to the console | ||
Log to stdout instead of stderr | ||
Log messages with a custom logger | ||
Log to the Unix syslog |
TODO
Tracing
Recipe | Crates | Categories |
---|---|---|
Tracing initialization | ||
Basic tracing | ||
Combine layers | ||
Configure a custom event formatter | ||
Events | ||
Spans | ||
Add tracing spans to functions | ||
Related crates |
TODO
Development Tools: FFI
Generate FFI Bindings
TODO
Development Tools: Procedural Macro-Helpers
Compile Macros
Recipe | Crates | Categories |
---|---|---|
Watt |
TODO
Tools
Recipe | Crates | Categories |
---|---|---|
cargo expand |
TODO
Write Proc Macros
Recipe | Crates | Categories |
---|---|---|
Parse Rust source code | ||
paste | ||
quote | ||
proc-macro2 | ||
darling |
TODO
Development Tools: Profiling
Assembly
Recipe | Crates | Categories |
---|---|---|
Inspect the generated assembly |
TODO
Benchmarking
Recipe | Crates | Categories |
---|---|---|
cargo flamegraph | ||
Criterion | ||
Divan | ||
Hyperfine |
TODO
Memory
Recipe | Crates | Categories |
---|---|---|
Profile heap memory |
TODO
Development Tools: Testing
Fuzzing
Recipe | Crates | Categories |
---|---|---|
afl |
TODO
Testing
Recipe | Crates | Categories |
---|---|---|
Test your code with cargo test | ||
Emit a custom message | ||
cargo nextest | ||
Approx | ||
Snapshot testing | ||
Code coverage |
TODO
Send Emails
Recipe | Crates | Categories |
---|---|---|
Send an email |
TODO
Embedded
Embassy
Recipe | Crates | Categories |
---|---|---|
Embassy |
TODO
Emulators
Emulators
Recipe | Crates | Categories |
---|---|---|
emulators |
TODO
Encoding
Complex
Recipe | Crates | Categories |
---|---|---|
Serialize and deserialize unstructured JSON | ||
Deserialize a TOML configuration file | ||
Read and write integers in little-endian byte order |
TODO
CSV
TODO
Serde
Recipe | Crates | Categories |
---|---|---|
JSON | ||
serde-json | ||
monostate | ||
serde-ignored |
TODO
Strings
Recipe | Crates | Categories |
---|---|---|
Percent-encode a string | ||
Encode a string as application/x-www-form-urlencoded | ||
Encode and decode hex | ||
Encode and decode base64 |
TODO
Typecasts
TODO
External FFI Bindings
External FFI Bindings
Recipe | Crates | Categories |
---|---|---|
ffi |
TODO
Filesystem
cwd
Recipe | Crates | Categories |
---|---|---|
Get the current working directory |
TODO
dir
TODO
File Watching
Recipe | Crates | Categories |
---|---|---|
Watch files or directories and execute a function when they change |
TODO
Ignore
Recipe | Crates | Categories |
---|---|---|
Walk the filesystem while respecting ignore files |
TODO
Read & Write Files
Recipe | Crates | Categories |
---|---|---|
Read lines of strings from a file | ||
Avoid writing and reading from a same file | ||
Access a file randomly using a memory map |
TODO
Tempfiles and Directories
Recipe | Crates | Categories |
---|---|---|
Create temporary files or temporary directories |
TODO
User Directories
Recipe | Crates | Categories |
---|---|---|
Get platform-specific locations for configuration, cache, and other data with dirs | ||
Get platform-specific locations for configuration, cache, and other data with directories |
TODO
Finance
Quant
Recipe | Crates | Categories |
---|---|---|
RustQuant |
TODO
Game Development
Game Development
Recipe | Crates | Categories |
---|---|---|
Game development |
Game Engines
Game Engines
TODO
Graphics
Webgpu
Recipe | Crates | Categories |
---|---|---|
wgpu |
TODO
GUI
2D Renderers
TODO
Clipboard
Recipe | Crates | Categories |
---|---|---|
arboard |
TODO
File Dialogs
Recipe | Crates | Categories |
---|---|---|
rfd |
TODO
GTK
TODO
Immediate Mode Gui
Recipe | Crates | Categories |
---|---|---|
eGUI |
TODO
Other GUI
TODO
Retained-mode GUI
TODO
Text Layout
Recipe | Crates | Categories |
---|---|---|
cosmic-text | ||
parley |
TODO
UI Layout
TODO
Web-based GUI
TODO
Window Creation
TODO
Hardware Support
Processor
Recipe | Crates | Categories |
---|---|---|
Get the number of logical cpu cores |
TODO
Internationalization
Internationalization
Recipe | Crates | Categories |
---|---|---|
internationalization |
TODO: add links
Localization
Localization
Recipe | Crates | Categories |
---|---|---|
Localization |
TODO
Mathematics
Additional Numeric Types
Recipe | Crates | Categories |
---|---|---|
Abstracting over different number types | ||
Big integers | ||
Big decimal | ||
Sortable Floats |
TODO
Complex Numbers
Recipe | Crates | Categories |
---|---|---|
Creating complex numbers | ||
Adding complex numbers | ||
Mathematical functions on complex numbers |
TODO
Linear Algebra
Recipe | Crates | Categories |
---|---|---|
Vector Norm | ||
Adding matrices | ||
Multiplying matrices | ||
Multiply a scalar with a vector with a matrix | ||
Invert matrix | ||
Vector comparison | ||
(De)-Serialize a Matrix |
TODO
Statistics
Recipe | Crates | Categories |
---|---|---|
Computing standard deviation | ||
Measures of central tendency | ||
Standard deviation |
Trigonometry
Recipe | Crates | Categories |
---|---|---|
Calculating the side length of a triangle | ||
Verifying tan is equal to sin divided by cos | ||
Distance between two points on the Earth |
TODO
Memory Management
Global Static
Recipe | Crates | Categories |
---|---|---|
Declare lazily evaluated constant |
TODO
Lazy Initialization
Recipe | Crates | Categories |
---|---|---|
std | ||
once_cell | ||
lazy_static |
Multimedia Audio
Audio
Recipe | Crates | Categories |
---|---|---|
Audio |
TODO: add links
Multimedia Encoding
Encoding
Recipe | Crates | Categories |
---|---|---|
Multimedia encoding |
TODO
Multimedia Images
Images
Recipe | Crates | Categories |
---|---|---|
Images |
TODO: add links
Multimedia Video
Video
Recipe | Crates | Categories |
---|---|---|
Video |
TODO: add links
Network Programming
Reverse Proxy
TODO
Server
Recipe | Crates | Categories |
---|---|---|
Listen on unused port TCP/IP | ||
Listen on unused port TCP/IP | ||
Perform asynchronous I/O operations on storage devices | ||
glommio |
TODO
No alloc
No alloc
Recipe | Crates | Categories |
---|---|---|
No alloc |
TODO
OS: FreeBSD APIs
FreeBSD
Recipe | Crates | Categories |
---|---|---|
FreeBSD |
TODO
OS: Linux APIs
Linux
Recipe | Crates | Categories |
---|---|---|
Linux |
TODO
OS: macOS APIs
macOS
Recipe | Crates | Categories |
---|---|---|
macOS |
TODO
OS: Unix APIs
Unix
TODO
OS: Windows APIs
Windows
Recipe | Crates | Categories |
---|---|---|
Integrate with Windows APIs | ||
winapi |
TODO
Parser Implementations
Parser Implementations
Recipe | Crates | Categories |
---|---|---|
JavaScript |
TODO
Parsing
Parsing
Recipe | Crates | Categories |
---|---|---|
Nom | ||
Pest | ||
Tree sitter |
TODO
Rendering: Data Formats
Data Formats
Recipe | Crates | Categories |
---|---|---|
Data formats |
TODO
Rendering Engine
Rendering Engines
Recipe | Crates | Categories |
---|---|---|
Render |
TODO
Rendering: Graphics APIs
Graphics APIs
Recipe | Crates | Categories |
---|---|---|
Graphics |
TODO
Rust Patterns
Design Patterns
Recipe | Crates | Categories |
---|---|---|
Abstract factory | ||
dyn-clone | ||
Lens |
TODO
Error Customization
Recipe | Crates | Categories |
---|---|---|
Anyhow | ||
thisError | ||
miette | ||
color-eyre |
Error Handling
TODO
Functional Programming
Recipe | Crates | Categories |
---|---|---|
Compose iterators with itertools |
TODO
Rust Idioms
Recipe | Crates | Categories |
---|---|---|
Rust idioms |
TODO
Science Geo
Geo
Recipe | Crates | Categories |
---|---|---|
Geoscience |
TODO
Science Neuroscience
Neuro
Recipe | Crates | Categories |
---|---|---|
Neuroscience |
TODO
Science Robotics
Robotics
Recipe | Crates | Categories |
---|---|---|
Robotics | robotics.rs |
Useful Robotics Tools And Libs
Recipe | Crates | Categories |
---|---|---|
Open CV | ||
zenoh | ||
Open Rust Robotics | ||
bonsai-bt |
TODO
Simulation
Simulation
Recipe | Crates | Categories |
---|---|---|
Simulation |
Template Engine
Tera
Recipe | Crates | Categories |
---|---|---|
Create HTML files from a template |
TODO
tinytemplate
Recipe | Crates | Categories |
---|---|---|
tinytemplate |
TODO
Text Editors
IDEs
Recipe | Crates | Categories |
---|---|---|
VS Code | VS Code | |
IntelliJ Rust | ||
Zed | ||
Helix Editor |
TODO
Text Processing
Regex
Recipe | Crates | Categories |
---|---|---|
Longer regex example |
String Concat
Recipe | Crates | Categories |
---|---|---|
Benchmark |
TODO
String Parsing
Recipe | Crates | Categories |
---|---|---|
Collect Unicode Graphemes | ||
Implement the FromStr trait for a custom struct |
Value Formatting
Value Formatting
Recipe | Crates | Categories |
---|---|---|
Value formatting |
Virtualization
Virtualization
Recipe | Crates | Categories |
---|---|---|
Virtualization |
TODO: add links
Visualization
Visualization
Recipe | Crates | Categories |
---|---|---|
Visualization |
TODO: add links
Wasm
Others
TODO
Yew
Recipe | Crates | Categories |
---|---|---|
Yew |
Web Programming: HTTP Client
APIs
Recipe | Crates | Categories |
---|---|---|
Query the GitHub API | ||
Check if an API resource exists | ||
Create and delete Gist with GitHub API | ||
Consume a paginated RESTful API | ||
Handle a rate-limited API |
Download
Recipe | Crates | Categories |
---|---|---|
Download a file to a temporary directory | ||
Make a partial download with HTTP range headers | ||
POST a file to paste-rs |
TODO
HTTP Clients
TODO
Requests
Recipe | Crates | Categories |
---|---|---|
Make a HTTP GET request | ||
Set custom headers and URL parameters for a REST request | ||
Async |
Web Pr: HTTP Server
actix
Recipe | Crates | Categories |
---|---|---|
Actix |
TODO
axum
Recipe | Crates | Categories |
---|---|---|
Axum |
TODO
Batteries-included frameworks
Recipe | Crates | Categories |
---|---|---|
Loco | ||
Rust on Nails |
TODO
CORS
Recipe | Crates | Categories |
---|---|---|
CORS |
TODO
GraphQL
Recipe | Crates | Categories |
---|---|---|
async-graphql |
TODO
gRPC
Recipe | Crates | Categories |
---|---|---|
tonic |
TODO
hyper
Recipe | Crates | Categories |
---|---|---|
hyper |
TODO
Middleware
Recipe | Crates | Categories |
---|---|---|
Tower | ||
Tower HTTP | ||
Alternatives |
TODO
Other Frameworks
TODO
Static Website Generators
Recipe | Crates | Categories |
---|---|---|
Static website generator - Zola | ||
Zola themes |
TODO
Web-Programming Websocket
Websocket
Recipe | Crates | Categories |
---|---|---|
Low-level | ||
General Purpose |
TODO
Contributing
API Documentation
Section |
---|
Generate the docs.rs Documentation |
Using a Dev Container feature |
Other methods to preview the documentation HTML |
TODO
Development Editing
Section |
---|
Book editing |
Dev Container Docker
TODO
Dev Environment Setup
TODO
Optional Preprocessors
Section |
---|
Optional pre-processors |
Publication
Section |
---|
Publication |
Repo Structure
Section |
---|
Repo structure |
Topics of Interest
Section |
---|
Topics of interest |
Language
Attributes
Section |
---|
Attributes |
Lint attributes |
Automatic trait derivation |
Must Use |
Deprecated |
Conditional Compilation |
TODO
Closures
TODO
Control Flow
Section |
---|
Control flow |
If else |
Loop |
While |
For |
TODO
Enums
Section |
---|
Enums |
Functions
Generics
Section |
---|
Generics |
Generic Structs |
TODO
Iterators
Section |
---|
Iterators |
Lifetimes
Macros
Section |
---|
Macros |
Main
Section |
---|
Main function |
Async Main Function |
TODO
Match
Modules
Section |
---|
Modules |
use keyword |
TODO
Ownership Borrowing
Rust Install
Section |
---|
Rust installation |
Simple Data Types
Section |
---|
Simple data types |
Overflow handling |
Slices
Section |
---|
Slices |
Structs
Section |
---|
Structs |
Traits
TODO
Trait Objects
Section |
---|
trait-objects |
Variables and Constants
Links
Blogs, Podcasts, Meetups
Section |
---|
Meetups |
Newsletters |
Podcasts & blogs |
Books
Section |
---|
Books |
Companies
Example Code
Recipe |
---|
example-code |
Learning
Section |
---|
Rust Learning |
Links
Section |
---|
Rust Links |
Rust Cheatsheets
Architecture
Architecture
Recipe | Crates | Categories |
---|---|---|
Architecture |
TODO
Cloud
AWS
Recipe | Crates | Categories |
---|---|---|
Develop and deploy applications with the AWS SDK for Rust | AWS Rust SDK | |
Implement Lambda functions in Rust |
TODO
Rust-native Cloud Development
Recipe | Crates | Categories |
---|---|---|
Shuttle Cloud Platform |
TODO
Serverless
Recipe | Crates | Categories |
---|---|---|
Implement serverless computing with Rust | ||
Use the dapr distributed runtime with Rust |
TODO
Containers
Containers
Recipe | Crates | Categories |
---|---|---|
Docker | ||
Docker Compose |
TODO
Cross Platform
Crux
Recipe | Crates | Categories |
---|---|---|
Develop across platforms with Crux |
TODO
Data Processing
CSV
Recipe | Crates | Categories |
---|---|---|
Read and write CSV files | ||
Manipulate CSV files from the command line |
TODO
Dataframes
Recipe | Crates | Categories |
---|---|---|
Manipulate data in a tabular format |
TODO
Data Engineering
Recipe | Crates | Categories |
---|---|---|
Develop data analytics applications that process columnar data with Arrow | ||
Query in-memory data with datafusion | ||
Databend | ||
Arrow | ||
Datafusion |
TODO
Data Visualization
Recipe | Crates | Categories |
---|---|---|
Plot and graph data |
TODO
Devops
CD/CI
Recipe | Crates | Categories |
---|---|---|
CD / CI |
Dependency Management
Recipe | Crates | Categories |
---|---|---|
deps.rs | ||
Rust Digger |
TODO
DevOps
Recipe | Crates | Categories |
---|---|---|
Daytona |
TODO
Github Actions
Recipe | Crates | Categories |
---|---|---|
Installation of development tools | ||
Compilation caching |
TODO
Git Hooks
Recipe | Crates | Categories |
---|---|---|
Check your code before committing it | ||
pre-commit |
TODO
Release Automation
Recipe | Crates | Categories |
---|---|---|
cargo release | ||
release-plz |
TODO
GPU
GPU
Recipe | Crates | Categories |
---|---|---|
rust-gpu |
TODO
Scripting
rhai
Recipe | Crates | Categories |
---|---|---|
Embed Rust scripting in your application |
TODO
Written in Rust
Development Tools
Recipe | Crates | Categories |
---|---|---|
Compilers | ||
swc | ||
Code editors | ||
lapce | ||
zed | ||
Build tools |
TODO
Others
Recipe | Crates | Categories |
---|---|---|
File managers | ||
Remote desktops | ||
Email applications | ||
News | ||
Payments | ||
Social media |
TODO
Python Tools
Recipe | Crates | Categories |
---|---|---|
rustpython | ||
pyOxidizer | ||
Ruff | ||
uv |
TODO
Standard Library
Asref
Recipe | Crates |
---|---|
AsRef |
TODO
Cow
Recipe | Crates |
---|---|
Convert Cow to &str | |
Convert Cow to String |
Derive
Recipe | Crates |
---|---|
Automatically implement common traits using the derive attribute | |
Automatically implement additional traits using derive_more |
Hashmaps
Recipe | Crates |
---|---|
Hashmaps |
Option
Recipe | Crates |
---|---|
Option | |
Adapters for working with references | |
Extracting the value contained in Option | |
Combinators |
TODO
Result
Recipe | Crates |
---|---|
Result |
Smart Pointers
TODO: edit recipe titles; add crate badges
Strings
Recipe | Crates |
---|---|
String type | |
Placeholders | |
String concatenation |
TODO: review
Vectors
Recipe | Crates |
---|---|
Vec |