blog | sven kanoldt

sharing thoughts on learning rust, open source projects and other tech stuff

EN | DE

Signing Rust Binaries Shouldn't Require Shell Scripts

You built a Rust GUI app. It compiles. It runs on your machine. You send the binary to a friend, they double-click it, and macOS says: "Apple could not verify this app." Right-click, Open, confirm the scary dialog — it works. But that's not a shipping experience.

Read more ⟶

t-rec: Config Profiles, Wallpapers and Smoother Animations

With versions 0.7.11 through 0.8.1, t-rec gained several features that make terminal recordings more configurable and visually appealing. If you don't know t-rec yet: it's a terminal recorder written in Rust that captures your terminal session and outputs a GIF or MP4. Here's what's new.

Read more ⟶

Rust Algorithm Bites – Validating a Binary Search Tree

In the previous article, I covered a level-order traversal of a binary tree in Rust. This time, I want to take on a classic problem from LeetCode #98: Validate Binary Search Tree.

Read more ⟶

Rust Algorithm Bites – Binary Tree Level Order Traversal

Mastering LeetCode 102: Binary Tree Level Order Traversal with a BFS approach in Rust, leveraging Rc, RefCell, and VecDeque for efficient tree traversal.

Read more ⟶

Designing Error Types in Rust Libraries

When designing error types in Rust, especially for libraries with a public API, there are several important considerations to keep in mind. This post will explore some of the important implications and common pitfalls when designing error types in Rust libraries. Further, we will look at thiserror and how the Rust standard library's std::io::Error can serve as a reference for designing your own error types.

Read more ⟶