<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>til on Maarten van Vliet</title>
    <link>https://maartenvanvliet.nl/tags/til/</link>
    <description>Recent content in til on Maarten van Vliet</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <copyright>Maarten van Vliet</copyright>
    <lastBuildDate>Tue, 27 Dec 2022 00:08:54 +0100</lastBuildDate><atom:link href="https://maartenvanvliet.nl/tags/til/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>TIL - Implementing Encoder for NifStructs</title>
      <link>https://maartenvanvliet.nl/2022/12/27/til-rustler-encoder/</link>
      <pubDate>Tue, 27 Dec 2022 00:08:54 +0100</pubDate>
      
      <guid>https://maartenvanvliet.nl/2022/12/27/til-rustler-encoder/</guid>
      <description>I am currently using Rustler, a tool that allows for Elixir to interact with the Rust ecosystem. As a newcomer to Rust, working on Rust-Elixir crossover libraries helps me understand its quirks.
Today, I was trying to use a SQL parser in Rust and convert the results to Elixir terms. Rustler&amp;rsquo;s NifStructs feature made this process convenient. However, I encountered an issue with a data structure defined as follows:
#[derive(NifStruct)] #[module = &amp;#34;SqlParser.</description>
    </item>
    
  </channel>
</rss>
