From b6db6de842f10e4b7fd2fa395a65236761040cca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thi=C3=A9baud=20Weksteen?= Date: Mon, 22 Jun 2020 13:27:41 +0200 Subject: [PATCH] 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 --- scripts/rustfmt.toml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 scripts/rustfmt.toml diff --git a/scripts/rustfmt.toml b/scripts/rustfmt.toml new file mode 100644 index 000000000..617d42585 --- /dev/null +++ b/scripts/rustfmt.toml @@ -0,0 +1,5 @@ +# Android Format Style + +edition = "2018" +use_small_heuristics = "Max" +newline_style = "Unix"