Recently in the Rust world, a new tool called cargo fuzz was released. Fuzzing is a technique to intelligently generate arbitrary input for a program in order to find bugs in it. cargo fuzz promises a very simple way to fuzz a cargo project using LibFuzzer, a coverage-guided, evolutionary fuzzing engine. Since I had just done a change in the parsing module of Rust’s regex crate, I thought…
I recently wrote a small (you could say micro) web service in Rust using the Iron framework. It had some unit tests but I wasn’t all too sure whether I was using Iron the right way. So I wanted to have some more tests in the project to cover these parts as well. This post shows how to go from a simple binary to a project with integration tests, all written in Rust.
Libraries I maintain a few Open Source libraries, mostly in Java and Rust. commonmark-java Java library for parsing and rendering Markdown text according to the CommonMark specification (and some extensions). Used in e.g. Bitbucket Server, Trello (Android app). linkify and autolink-java Rust and Java libraries to extract links such as URLs and email addresses from plain text. Fast, small and smart…