Tag: rust

Using Prometheus Metrics in a Rust Web Service

Using Prometheus metrics in a Rust web service

Dev

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

Dev

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

Dev

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

Dev

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

Dev

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

Dev

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

Dev

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

Dev

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

Dev

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
Packaging a Rust Web Service Using Docker

Packaging a Rust web service using Docker

Dev

Packaging web apps as Docker containers benefits both local development and server deployment. Learn how to put a Rust app inside a Docker container.

Mario Zupan
Jun 23, 2020 ⋅ 5 min read
Property-Based Testing in Rust With Proptest

Property-based testing in Rust with Proptest

Dev

Considering your code’s abstract properties can help you understand it better. Learn how to conduct property-based tests in Rust with Proptest.

Zach Mitchell
Jun 19, 2020 ⋅ 14 min read
How to Create a GraphQL Server in Rust

How to create a GraphQL server in Rust

Dev

Rust is a great option for building reliable and performant web backends in general, and its powerful macro support makes working with GraphQL an absolute pleasure.

Joshua Cooper
May 14, 2020 ⋅ 6 min read