about summary refs log tree commit diff
path: root/tvix/eval/src
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-01-02T10·39+0300
committertazjin <tazjin@tvl.su>2023-01-04T17·21+0000
commit34be6466d4a5da7dd3ad55ce80c951f21e45520c (patch)
tree28456ec15c4a2c6cae8eab74ebb5434be599b8e0 /tvix/eval/src
parent0e88eb83efb194427329ccffd3b48671e1d72107 (diff)
feat(tvix/serde): implement enum deserialisation r/5585
Implements externally tagged enum deserialisation. Other serialisation
methods are handled by serde internally using the existing methods.

See the tests for examples.

Change-Id: Ic4a9da3b5a32ddbb5918b1512e70c3ac5ce64f04
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7721
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/eval/src')
-rw-r--r--tvix/eval/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/eval/src/lib.rs b/tvix/eval/src/lib.rs
index fa76aca56ba7..e2a7283f443a 100644
--- a/tvix/eval/src/lib.rs
+++ b/tvix/eval/src/lib.rs
@@ -47,7 +47,7 @@ pub use crate::io::{DummyIO, EvalIO, FileType};
 use crate::observer::{CompilerObserver, RuntimeObserver};
 pub use crate::pretty_ast::pretty_print_expr;
 pub use crate::source::SourceCode;
-pub use crate::value::Value;
+pub use crate::value::{NixAttrs, NixList, NixString, Value};
 pub use crate::vm::run_lambda;
 pub use crate::warnings::{EvalWarning, WarningKind};