snix_serde/lib.rs
1//! `snix-serde` implements (de-)serialisation of Rust data structures
2//! to/from Nix. This is intended to make it easy to use Nix as as
3//! configuration language.
4#![cfg_attr(docsrs, feature(doc_cfg))]
5
6mod de;
7mod error;
8
9pub use de::from_str;
10pub use de::from_str_with_config;
11
12#[cfg(test)]
13mod de_tests;