Lappverk: A New Tool for Simplifying Git Patch Management

2025-08-18

In software development, we often need to modify code built by others. Traditional Git workflows become cumbersome when managing patches intended for long-term maintenance. This post introduces Lappverk, a new tool that leverages Git's `format-patch` and `am` commands, along with custom conventions, to streamline the creation, management, and application of patches. Lappverk allows developers to easily maintain and update patches locally, eventually integrating them into the upstream project, avoiding the overhead of large forks. Its core functionality centers around importing and exporting patch sets into Git, making patch management efficient and intuitive, similar to working with patch files directly within a Git environment.

Read more
Development Patch Management

Rust Async Programming: Mastering Pin and Pin-Project

2025-05-22

This article delves into the intricacies of using Pin and the pin-project crate in Rust's async programming paradigm. Starting with associated types and type inference in Futures, the author builds up to the necessity of Pin to address memory safety issues arising from mutable borrows and moves within the state machine implementation of async functions. The article thoroughly explains Pin's function, usage, and how pin-project simplifies code, ultimately resulting in a safe and robust asynchronous state machine. It also highlights subtle considerations when employing pin-project.

Read more
Development