Crate snix_serde

Source
Expand description

snix-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 snix_eval::Evaluation provided by the given closure.