diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..271800c --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly" \ No newline at end of file diff --git a/treefmt.toml b/treefmt.toml new file mode 100644 index 0000000..8f89868 --- /dev/null +++ b/treefmt.toml @@ -0,0 +1,10 @@ +# One CLI to format the code tree - https://github.com/numtide/treefmt + +[formatter.nix] +command = "alejandra" +includes = [ "*.nix" ] + +[formatter.rust] +command = "rustfmt" +options = ["--edition", "2021"] +includes = ["*.rs"] \ No newline at end of file