valibuk 0.2.0

Valibuk is a library and a set of macros implementing the correct-by-construction pattern.
Documentation
{
  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs";
    flake-utils.url = "github:numtide/flake-utils";
    fenix = {
      url = "github:nix-community/fenix";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };
  
  outputs = { self, nixpkgs, flake-utils, fenix }: 
    flake-utils.lib.eachDefaultSystem (system:
      let 
        pkgs = nixpkgs.legacyPackages.${system};
        packages = with pkgs; [
          cargo-watch
          cargo-expand
        ];
        components = [
          "cargo"
          "rustc"
        ];
        buildInputs = with pkgs; [
          iconv
        ];
      in {
        devShells.default = pkgs.mkShell {
          packages = packages;
          buildInputs = [
            fenix.packages.${system}.stable.toolchain
          ] ++ buildInputs;
        };
        devShells.nightly = pkgs.mkShell {
          packages = packages;
          buildInputs = [
            fenix.packages.${system}.complete.toolchain
          ] ++ buildInputs;
        };
      }
    );
}