euank / serde-nix

Serialize rust data into nix expressions
Apache License 2.0
0 stars 0 forks source link

serde-nix

serde-nix provides a way to serialize a Rust type implementing serde::ser::Serialize into a nix expression.

This crate does not provide a deserializer due to evaluating arbitrary nix expressions being a little more involved.

License

Code in this crate is partially derived from serde-rs/json code, and so for simplicity the same license is retained.

Licensed under either of Apache License, Version 2.0 or MIT license at your option.


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.