dedent 0.1.1

Procedural macro for stripping indentation from multi-line string literals
Documentation
{ config, pkgs, ... }:
{
  inherit (config.flake-root) projectRootFile;
  package = pkgs.treefmt;
  settings = {
    global.excludes = [
      ".direnv"
      ".envrc"
      "Cargo.lock"
      "treefmt.toml"
      "LICENSE"
      "tests/trybuild/*.stderr"
    ];
    formatter = {
      "justfile" = {
        command = "${pkgs.just}/bin/just";
        options = [
          "--unstable"
          "--fmt"
          "--check"
          "--justfile"
        ];
        includes = [ "justfile" ];
      };
    };
  };
  programs = {
    nixfmt.enable = true;
    mdformat.enable = true;
    yamlfmt.enable = true;
    taplo.enable = true;
    rustfmt.enable = true;
  };
}