aki-nyanlethalbit@chaos.social
Nov 7, 2026, 8:13 AMOne thought I had was to use proc-macro magic and a special decoder endpoint.
So the idea is you would have a macro that takes a decoder name, and then inside the proc-macro it loads it to query how the output formats should be layed out.
Then it will generate a strongly type structure that matches that.