Skip to content

Commit

Permalink
Repo File Sync: synced file(s) with microsoft/mu_devops (#34)
Browse files Browse the repository at this point in the history
synced local file(s) with
[microsoft/mu_devops](https://github.com/microsoft/mu_devops).

🤖: View the [Repo File Sync Configuration
File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml)
to see how files are synced.



---

This PR was created automatically by the
[repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action)
workflow run
[#12176432068](https://github.com/microsoft/mu_devops/actions/runs/12176432068)

Signed-off-by: Project Mu UEFI Bot <uefibot@microsoft.com>
  • Loading branch information
uefibot authored Dec 5, 2024
1 parent 7eea73b commit 7cd0bd1
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions rustfmt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,19 @@

# Keep these options sorted in ascending order to ease lookup with rustfmt documentation.

edition = "2021" # This would normally be picked up from Cargo.toml if not specified here
force_explicit_abi = true # Always print the ABI for extern items (e.g. extern {... will become extern "C" {...)
hard_tabs = false # Always uses spaces for indentation and alignment
max_width = 120 # The maximum width of each line
merge_derives = false # Do not merge derives into a single line (leave to author discretion).
imports_granularity = "Crate" # Merge imports from a single crate into separate statements.
newline_style = "Windows" # Always use Windows line endings '\r\n'
reorder_impl_items = false # Do not force where type and const before macros and methods in impl blocks.
reorder_imports = true # Do reorder import and extern crate statements alphabetically for readability.
reorder_modules = true # Do reorder mod declarations alphabetically for readability.
tab_spaces = 4 # Use 4 spaces for indentation (Rust default).
unstable_features = false # Do not use unstable rustfmt features.
use_small_heuristics = "Max" # Set all granular width settings to the same as max_width (do not use heuristics)
wrap_comments = false # Leave comment formatting to author's discretion
edition = "2021" # This would normally be picked up from Cargo.toml if not specified here
enum_discrim_align_threshold = 8 # Vertically align enum discriminants
force_explicit_abi = true # Always print the ABI for extern items (e.g. extern {... will become extern "C" {...)
hard_tabs = false # Always uses spaces for indentation and alignment
max_width = 120 # The maximum width of each line
merge_derives = false # Do not merge derives into a single line (leave to author discretion).
imports_granularity = "Crate" # Merge imports from a single crate into separate statements.
newline_style = "Windows" # Always use Windows line endings '\r\n'
reorder_impl_items = false # Do not force where type and const before macros and methods in impl blocks.
reorder_imports = true # Do reorder import and extern crate statements alphabetically for readability.
reorder_modules = true # Do reorder mod declarations alphabetically for readability.
struct_field_align_threshold = 8 # Vertically align struct fields
tab_spaces = 4 # Use 4 spaces for indentation (Rust default).
unstable_features = false # Do not use unstable rustfmt features.
use_small_heuristics = "Max" # Set all granular width settings to the same as max_width (do not use heuristics)
wrap_comments = false # Leave comment formatting to author's discretion

0 comments on commit 7cd0bd1

Please sign in to comment.