Crate tvix_serde

Source
Expand description

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.

Modules§

  • de 🔒
    Deserialisation from Nix to Rust values.
  • error 🔒
    When serialising Nix goes wrong …

Functions§

  • Evaluate the Nix code in src and attempt to deserialise the value it returns to T.
  • Evaluate the Nix code in src, with extra configuration for the tvix_eval::Evaluation provided by the given closure.