Skip to content

feat: manage Rust quality policy through repository#46

Merged
rozsazoltan merged 1 commit into
masterfrom
feat/repository-managed-rust-quality
Jun 18, 2026
Merged

feat: manage Rust quality policy through repository#46
rozsazoltan merged 1 commit into
masterfrom
feat/repository-managed-rust-quality

Conversation

@rozsazoltan

Copy link
Copy Markdown
Contributor

Summary

Adds a repository-managed Rust quality policy that can be shared across projects while still allowing project-specific extensions.

Changes

  • Add Rust quality policy settings to datarose.toml.
  • Generate and update Cargo lint configuration from verzly repository.
  • Add default [workspace.lints.rust] and [workspace.lints.clippy] policy for Rust workspaces.
  • Add [lints] workspace = true to workspace member crates.
  • Generate .clippy.toml as the shared Clippy threshold/config file.
  • Keep .clippy.toml focused on Clippy configuration values instead of lint policy.
  • Validate the new quality.rust schema surface in repository check.
  • Make repository check detect missing Rust lint defaults and missing .clippy.toml.
  • Document the repository-managed Rust quality model in the README.

Notes

The default policy is intentionally portable: it forbids unsafe code, denies unused must_use results, denies the standard Clippy lint set, and blocks obvious development leftovers such as dbg!, todo!, and unimplemented!.

Projects can extend or override the policy through datarose.toml, then apply it with verzly repository update.

@rozsazoltan
rozsazoltan merged commit b3ba58b into master Jun 18, 2026
@rozsazoltan
rozsazoltan deleted the feat/repository-managed-rust-quality branch June 18, 2026 14:25
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.

1 participant