







Ok, so, suppose you’ve written a Kubernetes controller, you did it in Rust, and then you realized that “Hey, when this thing breaks it’s hard to understand what’s going on”. So, you decide to emit some Kubernetes events that give a little more context as to what your controller is doing and what steps it’s taken. You run all your tests
The Ultimate Guide to Rust Newtypes
Clean up your code, clarify business logic and improve test coverage with Rust's newtype wrappers.

A Kubernetes Operator in Rust
You can check the operator yourself here, or use it as boilerplate code to start your own rust operator. A little bit of background I’ve been writing Kubernetes operators for quite some time …

Pscheidl/rust-kubernetes-operator-example
An example of a Kubernetes operator implemented in Rust
How Kubernetes probes work | ngrok blog
Learn how probes work interactively on simulated Kubernetes clusters running in your browser.

Rust traits and dependency injection - Julio Merino (jmmv.dev)
Dependency injection is one of my favorite design patterns to develop highly-testable and modular code. Unfortunately, applying this pattern by taking Rust traits as arguments to public functions has …
helm-unittest/helm-unittest
BDD styled unit test framework for Kubernetes Helm charts as a Helm plugin.
The Definitive Guide to Error Handling in Rust
Learn to model and handle any error using idomatic Rust.

Provably Safe and Fast GPU Kernels in Rust
Specify and verify safety properties on your Rust kernels, and emit fast PTX with zero runtime checks.

An early look at tailscale-rs, a tsnet library in Rust
We've launched an experimental Rust library for Tailscale via tsnet. Help test tailscale-rs and shape it with your feedback.
Rust Error Handling: thiserror, anyhow, and When to Use Each
In this blog post, we’ll explore strategies for streamlining error handling in Rust using two popular libraries: thiserror and anyhow. We’ll discuss their features, use cases, and provide insights on when to choose each library. TL;DR thiserror simplifies the implementation of custom error type, removing boilerplates anyhow consolidates errors that implement std::error::Error While thiserror provides detailed error information for specific reactions, anyhow hides internal details Return Different Error Types from Function Let’s start by creating a function decode() for illustration. The function has 3 steps:
One year of Rust | Rust Blog
Empowering everyone to build reliable and efficient software.

Exploring ways to make async Rust easier
Asynchronous Rust is powerful but has a reputation for being hard to learn. There have been various ideas on how to fix the trickiest aspects, though with my focus being on Tokio 1.0, I had not been able to dedicate much focus to those topics. However, Niko’s async vision effort has recently started the discussion again, so I thought I would take some time to participate. In this article, I collect some previously proposed ideas and offer some new ones, tying them together to explore what could be.
Introduction - Rust By Example
Rust by Example (RBE) is a collection of runnable examples that illustrate various Rust concepts and standard libraries.
Learning Rust
Learning Rust - Rust Programming Language Tutorials for Everyone!
