diff options
Diffstat (limited to 'tvix/serde/src/lib.rs')
-rw-r--r-- | tvix/serde/src/lib.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tvix/serde/src/lib.rs b/tvix/serde/src/lib.rs new file mode 100644 index 000000000000..6a44affdc0e1 --- /dev/null +++ b/tvix/serde/src/lib.rs @@ -0,0 +1,12 @@ +//! `tvix-serde` implements (de-)serialisation of Rust data structures +//! to/from Nix. This is intended to make it easy to use Nix as as +//! configuration language. + +mod de; +mod error; + +pub use de::from_str; +pub use de::from_str_with_config; + +#[cfg(test)] +mod de_tests; |