Add rustfmt.toml with formatting disabled
authorFredrik Larsson <nossralf@gmail.com>
Tue, 31 Oct 2017 21:31:02 +0000 (22:31 +0100)
committerFredrik Larsson <nossralf@gmail.com>
Tue, 31 Oct 2017 21:31:02 +0000 (22:31 +0100)
Currently, Cargo does not use rustfmt for its source code. By adding a
rustfmt.toml that simply disables all formatting rules, editors which
use rustfmt by default for all Rust code will do the right thing and
leave the source code unchanged.

rustfmt.toml [new file with mode: 0644]

diff --git a/rustfmt.toml b/rustfmt.toml
new file mode 100644 (file)
index 0000000..c7ad93b
--- /dev/null
@@ -0,0 +1 @@
+disable_all_formatting = true