tvl-depot/tvix/eval/src/builtins
Vincent Ambo 02d35e4aa6 feat(tvix/eval): implement builtins.toJSON
Implements `Serialize` for `tvix_eval::Value`. Special care is taken
with serialisation of attribute sets, and forcing of thunks.

The tests should cover both cases well.

Change-Id: I9bb135bacf6f87bc6bd0bd88cef0a42308e6c335
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7803
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
2023-01-12 10:42:44 +00:00
..
impure.rs refactor(tvix/eval): streamline construction of globals/builtins 2023-01-04 12:28:43 +00:00
mod.rs feat(tvix/eval): implement builtins.toJSON 2023-01-12 10:42:44 +00:00
versions.rs chore(tvix/eval): fix all current clippy lints 2022-09-29 11:47:47 +00:00