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
This commit is contained in:
Thiébaud Weksteen 2020-06-22 13:27:41 +02:00
parent 34753055d1
commit b6db6de842
1 changed files with 5 additions and 0 deletions

5
scripts/rustfmt.toml Normal file
View File

@ -0,0 +1,5 @@
# Android Format Style
edition = "2018"
use_small_heuristics = "Max"
newline_style = "Unix"