|
|
|
|
|
by XAMPPRocky
1635 days ago
|
|
> would be really happy to see some good open source compilers with extensible encoding support being listed here This is a shameless plug, and not a compiler per se, but it's pretty close[0]. It's a codec framework for ASN.1 in Rust similar to `serde` for other formats if you're aware of that. It uses Rust's traits to define seperate layers for the codec model, and the encoding rules, allowing you to have one model used with many encodings, and share one decoder & encoder for all models. Extensibility just uses the regular Rust `#[non_exhaustive]` attribute. It doesn't support formats like A/UPER yet, but that is coming in the next year. :) [0]: https://github.com/XAMPPRocky/rasn |
|