Tag: rust

11 Database Drivers and ORMs for Rust That Are Ready for Production

11 database drivers and ORMs for Rust that are ready for production

Dev

In this guide, we’ll compare some of the most popular and stable database drivers and ORMs available for Rust.

Anshul Goyal
Oct 12, 2020 ⋅ 5 min read
Supercharge Your Electron Apps With Rust

Supercharge your Electron apps with Rust

Dev

Electron apps tend to be slow. The trick is to offload CPU-intensive tasks to other, faster languages, such as Rust.

Anshul Goyal
Sep 29, 2020 ⋅ 6 min read
Configuration Management in Rust Web Services

Configuration management in Rust web services

Dev

Configuration management is a core concern in any nontrivial web application, and the Rust ecosystem provides everything you need and more.

Mario Zupan
Sep 22, 2020 ⋅ 8 min read
JSON and Rust: Why serde_json Is the Top Choice

JSON and Rust: Why serde_json is the top choice

Dev

To put it simply, JSON support shouldn’t be a concern for any Rust developer. It’s very much production-ready and arguably best in class compared to other mainstream languages.

Joshua Cooper
Sep 21, 2020 ⋅ 6 min read
File Upload and Download in Rust

File upload and download in Rust

Dev

The Rust ecosystem provides myriad tools for handling uploads and downloads in a web service, with options to asynchronously stream files for additional speed and flexibility.

Mario Zupan
Sep 9, 2020 ⋅ 5 min read
The State of Rust Templating Libraries

Top 3 templating libraries for Rust

Dev

Rust has plenty of good templating crates, including some that are stable and ready for production use. In this guide, we’ll compare a few of these crates and show you how to get started with each.

Joshua Cooper
Sep 8, 2020 ⋅ 6 min read
Interacting With Assembly in Rust

Interacting with assembly in Rust

Dev

Modern compilers are complicated programs and may yield binaries that perform differently in response to a minor change in the source code. See what the Rust community has to offer for extracting and embedding assembly.

Zach Mitchell
Aug 31, 2020 ⋅ 3 min read
Rust Serialization: What's Ready for Production Today?

Rust serialization: What’s ready for production today?

Dev

Serialization has always been a strong point of Rust. In this guide, we’ll compare 12 serialization crates in various states of production-readiness, considering API usability and performance.

Andre Bogus
Aug 28, 2020 ⋅ 10 min read
Understanding Lifetimes in Rust

Understanding lifetimes in Rust

Dev

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

Dev

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

Dev

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

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