This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.
The problem I wanted to parse docker-style container image references for a personal project I was writing in rust. Ideally, I’d use the authoritative parser, distribution/reference , which is written in Go. FFI between Go and rust is nontrivial; the examples I found involved a custom build.rs with C bindings , custom assembly , or embedding WASM into your binary. Rather than deal with any…
The problem
I wanted to parse docker-style container image references for a personal project I was writing in rust.
Ideally, I’d use the authoritative parser, distribution/reference, which is written in Go.
FFI between Go and rust is nontrivial; the examples I found involved a custom build.rs with C bindings, custom assembly, or embedding WASM into your binary.
Rather than deal with any of those options, I decided to take the opportunity to have some fun and RiiR.
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.