mahf-opt / mahf

A framework for modular construction and evaluation of metaheuristics.
GNU General Public License v3.0
10 stars 0 forks source link

Should we use `rustfmt` options? #164

Closed Saethox closed 1 year ago

Saethox commented 1 year ago

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.

Saethox commented 1 year ago

Resolved with #180.