about summary refs log tree commit diff
path: root/tvix/serde/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/serde/src/lib.rs')
-rw-r--r--tvix/serde/src/lib.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/tvix/serde/src/lib.rs b/tvix/serde/src/lib.rs
new file mode 100644
index 000000000000..41ad23b18587
--- /dev/null
+++ b/tvix/serde/src/lib.rs
@@ -0,0 +1,11 @@
+//! `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;
+
+#[cfg(test)]
+mod de_tests;