rjd 1.2.0

Compare two JSON files or inline JSON strings and output the differences
Documentation
{
  description = "RJD - Rust JSON Diff";

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
    flake-utils.url = "github:numtide/flake-utils";
  };

  outputs = { self, nixpkgs, flake-utils }:
    flake-utils.lib.eachDefaultSystem (system:
      let
        pkgs = import nixpkgs { inherit system; };
      in
      {
        packages.rjd = pkgs.rustPlatform.buildRustPackage {
          pname = "rjd";
          version = "1.2.0";
          src = ./.;
          cargoLock.lockFile = ./Cargo.lock;
          buildType = "release";
        };

        defaultPackage = self.packages.${system}.rjd;

        devShells.default = pkgs.mkShell {
          buildInputs = [ pkgs.rustc pkgs.cargo ];
        };
      });
}