Especially our imports are kind of all over the place, so I'd like some automated solution. The imports_granularity = "Crate" and group_imports = "StdExternalCrate" (https://rust-lang.github.io/rustfmt/?version=v1.5.2&search=imports) look like a good starting point, in my opinion. The only downside to this is that both options require nightly rustfmt, but that may be fine. Only rustfmt needs nightly after all, not the build in general.
Especially our imports are kind of all over the place, so I'd like some automated solution. The
imports_granularity = "Crate"
andgroup_imports = "StdExternalCrate"
(https://rust-lang.github.io/rustfmt/?version=v1.5.2&search=imports) look like a good starting point, in my opinion. The only downside to this is that both options require nightlyrustfmt
, but that may be fine. Onlyrustfmt
needs nightly after all, not the build in general.