commit | b6db6de842f10e4b7fd2fa395a65236761040cca | [log] [tgz] |
---|---|---|
author | ThiƩbaud Weksteen <tweek@google.com> | Mon Jun 22 13:27:41 2020 +0200 |
committer | ThiƩbaud Weksteen <tweek@google.com> | Mon Jun 22 13:34:59 2020 +0200 |
tree | 767fc524f78a01894e1de0ff77d442e0e3dd9055 | |
parent | 34753055d1e3df3f6b7a22996f2d499d70e23b36 [diff] [blame] |
Add standard rustfmt.toml This configuration is to be used for all internal Rust crates. Test: rustfmt --print-config current --config-path build/soong/scripts/ . Bug: 157238653 Change-Id: Ic49027dd1530f503e2c1f781453cdee95a983252
diff --git a/scripts/rustfmt.toml b/scripts/rustfmt.toml new file mode 100644 index 0000000..617d425 --- /dev/null +++ b/scripts/rustfmt.toml
@@ -0,0 +1,5 @@ +# Android Format Style + +edition = "2018" +use_small_heuristics = "Max" +newline_style = "Unix"