Skip to content

Feat/rustfmt config#153

Open
dev-RAM11 wants to merge 3 commits into
BCPathway:mainfrom
dev-RAM11:feat/rustfmt-config
Open

Feat/rustfmt config#153
dev-RAM11 wants to merge 3 commits into
BCPathway:mainfrom
dev-RAM11:feat/rustfmt-config

Conversation

@dev-RAM11
Copy link
Copy Markdown

Closes #86

What was done

Added .rustfmt.toml to standardize Rust formatting rules across the workspace and ran cargo fmt --all to apply formatting to the entire codebase.

Files changed

  • .rustfmt.toml — new formatting config using stable rustfmt options

Formatting rules enforced

  • edition = "2021"
  • 4 spaces indentation, no hard tabs
  • Max line width of 100 characters
  • Unix newlines
  • Imports reordered and modules reordered
  • Tall function parameter layout
  • use_field_init_shorthand and use_try_shorthand enabled
  • Nested parens removed automatically

Verification

cargo fmt --all -- --check passes with no errors across all workspace crates.

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 29, 2026

@dev-RAM11 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Tooling] Add .rustfmt.toml and Enforce Formatting

1 participant