1
0
mirror of https://github.com/containers/youki synced 2024-11-22 17:02:00 +01:00
youki/rustfmt.toml
Jorge Prendes bdd4f5c674 Add rustfmt.toml to standardize formatting
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
2024-05-15 14:59:06 +01:00

7 lines
359 B
INI

newline_style = "Native"
unstable_features = true # Cargo fmt now needs to be called with `cargo +nightly fmt`
group_imports = "StdExternalCrate" # create three groups for std, external and local crates
# Merge imports from the same module
# See: https://rust-lang.github.io/rustfmt/?version=v1.4.38&search=#imports_granularity
imports_granularity = "Module"