Skip to content

feat(rustfmt): add settings#504

Merged
sandydoo merged 1 commit intocachix:masterfrom
sivizius:extend-rustfmt
Oct 11, 2024
Merged

feat(rustfmt): add settings#504
sandydoo merged 1 commit intocachix:masterfrom
sivizius:extend-rustfmt

Conversation

@sivizius
Copy link
Copy Markdown
Contributor

@sivizius sivizius commented Oct 9, 2024

This PR adds additional settings to rustfmt:

  • all: Format all packages, and also their local path-based dependencies,
  • check: Run rustfmt in check mode (Do not format, just check),
  • color: Coloring the output,
  • config: Override configuration values,
  • config-path: Path to rustfmt.toml config file,
  • emit: What data to emit and how,
  • files-with-diff: idk, this cli option exist,
  • manifest-path: Path to Cargo.toml, defaults to settings.rust.cargoManifestPath,
  • message-format: The output format of diagnostic messages,
  • package: Package(s) to check,
  • verbose: Use verbose output,

This change was already part of #434.

@sandydoo sandydoo added the enhancement New feature or request label Oct 10, 2024
Comment thread modules/hooks.nix Outdated
Comment thread modules/hooks.nix Outdated
@sandydoo sandydoo merged commit 6d7586d into cachix:master Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants