Tag: rust

Understanding Lifetimes in Rust

Understanding lifetimes in Rust


In this guide, we’ll go over the basics of lifetimes and annotations and demonstrate how to work with them. We’ll also look at some common scenarios you might run into and walk through how to solve them with lifetimes.

Thomas Heartman
Aug 27, 2020 ⋅ 6 min read
Building Web Apps With Rust Using The Rocket Framework

Building web apps with Rust using the Rocket framework


With web frameworks like Rocket, developers can use Rust to build fast and secure web applications with very little boilerplate code.

Ebenezer Don
Aug 26, 2020 ⋅ 9 min read
Template Rendering in Rust

Template rendering in Rust


In this tutorial, we’ll take a look at the old-school way of writing web applications using templates with all the rendering happening on the server side.

Mario Zupan
Aug 25, 2020 ⋅ 11 min read
Using Prometheus Metrics in a Rust Web Service

Using Prometheus metrics in a Rust web service


Prometheus has rightfully become an industry standard for collecting metrics. Learn how to collect system and custom Prometheus metrics in a Rust web service.

Mario Zupan
Aug 20, 2020 ⋅ 7 min read
9 Production-Ready Rust Authentication Libraries

9 Rust authentication libraries that are ready for production


Virtually all web apps require some form of authentication. In this guide, we’ll evaluate nine stable, production-ready authentication libraries based on their popularity, completeness, maintenance, and support for stable Rust.

Anshul Goyal
Jul 31, 2020 ⋅ 4 min read
Using MongoDB in a Rust Web Service

Using MongoDB in a Rust web service


The Rust ecosystem is growing, and it’s only a matter of time before we see the first Rust and MongoDB apps in production. In this tutorial, we’ll walk through how to use MongoDB in a Rust web service.

Mario Zupan
Jul 30, 2020 ⋅ 6 min read
Using the Rust Compiler as Your Integration Framework

How to use the Rust compiler as your integration testing framework


The Rust compiler is a bit pedantic, which can be frustrating, especially when just starting out. In this guide, we’ll explore ways of using Rust that make it unnecessary to write integration tests.

Thomas Eizinger
Jul 29, 2020 ⋅ 7 min read
End-to-End Testing for Rust Web Services

End-to-end testing for Rust web services


In this tutorial, you’ll learn how to test a warp web application, focusing on integration and, more specifically, end-to-end testing.

Mario Zupan
Jul 29, 2020 ⋅ 14 min read
Intro to Rust Analyzer

Intro to rust-analyzer


rust-analyzer is a frontend compiler for Rust programming. In other words, it’s an IDE server that provides semantic analysis, smart code completion, and more.

Abiodun Solomon
Jul 21, 2020 ⋅ 3 min read
Getting Started With WebAssembly and Rust

Getting started with WebAssembly and Rust


This guide serves as an introduction to WebAssembly and a tutorial on how to set up and work in a Rust Wasm environment.

Carlos Chacin
Jun 30, 2020 ⋅ 8 min read
Using Redis in a Rust Web Service

Using Redis in a Rust web service


You can use Redis for caching, as a message broker, or simply as a database. Learn three approaches to using Redis inside a Rust web application.

Mario Zupan
Jun 29, 2020 ⋅ 9 min read
A Practical Guide to Async in Rust

A practical guide to async in Rust


If you’re writing an asynchronous program in Rust or using an async library for the first time, this tutorial can help you get started.

Carl Fredrik Samson
Jun 25, 2020 ⋅ 10 min read