Blog
Rust tutorials, guides and notes from the Rustfinity team.
Builder Pattern in Rust: Constructing Complex Values Without a Dozen `new` Variants
How the builder pattern works in Rust - hand-written owned and borrowed builders, typestate builders that catch missing fields at compile time, and the derive_builder and bon crates.
Read the postDiesel, SQLx, SeaORM or Rusqlite? Choosing a Rust ORM in 2026
Diesel 2.3, SQLx 0.9, SeaORM 2.0 and rusqlite 0.40 compared with tested code - queries, dynamic filters, relations, transactions, migrations, compile times, and which one to pick.
databaseormbackend33 min readA Practical Guide to Rocket - Rust's Most Ergonomic Web Framework
Learn Rocket from scratch. Build a REST API in Rust with routing, guards, fairings, state management, and error handling.
rocketapibackend9 min readActix Web in Practice - Building Real APIs with Rust
Learn Actix Web from scratch. Build a REST API in Rust with routing, extractors, middleware, state management, and error handling.
actix-webapibackend8 min readGetting Started with Axum - Rust's Fastest-Growing Web Framework
Learn Axum 0.8 from scratch. Build a Rust REST API with routing, extractors, middleware, database integration, authentication, error handling, testing, and deployment. Updated for 2026.
axumapibackend24 min readCreate a High-Performance REST API with Rust
Discover how to build a high-performance REST API using Rust, focusing on efficiency, speed, and scalability for modern web applications.
apibackend19 min readRust Benchmarking with Criterion.rs
Discover how to effectively benchmark your Rust code using Criterion.rs, a powerful tool for detecting performance improvements and regressions.
benchmarkingperformance8 min readBest Rust Web Frameworks (2024)
Learn which Rust web frameworks are best suited for your next web application to write efficient and maintainable code.
webfull-stack8 min readRust testing libraries You should know about
Learn to write tests in Rust using popular testing libraries to write robust and maintainable code.
testingbest-practices8 min readHigher-Rank Trait Bounds
Learn to write generic code in Rust using Higher-Rank Trait Bounds to write more flexible and reusable code.
genericstraits8 min readParse, Don't validate: An Effective Error Handling Strategy
Learn to write robust and maintainable error handling code in Rust using the Parse, don't validate strategy to handle errors effectively.
error-handlingbest-practices5 min read