#ser #nix #ser-nix

ser_nix

An opinionated nix serialiser for serde.rs

2 releases

Uses new Rust 2024

new 0.1.1 May 2, 2025
0.1.0 May 1, 2025

#673 in Encoding

35 downloads per month

MIT license

25KB
741 lines

An opinionated Nix serialiser, using the serde frame-work.

[!WARNING] This is alpha software

[!NOTE] This is not a deserialiser, for that look into tvix_serde (which only implements the deserialiser half). I make no guarantees of compatibility between the two.

Currently ser_nix only exposes a to_string function, and an error type. Ser_nix is new software, and currently only exists to fulfill a need I had for my main project. The decision to release it publicly was in hope that others might wish to contribute and improve, as the ecosystem seemed bare in this regard.

Please open an issue or contact me via email for any concerns related to this crate.

Dependencies

~0.3–0.9MB
~21K SLoC