marque-rules 0.1.0

Rule trait definitions for marque — the contract every rule crate implements
Documentation
  • Coverage
  • 84.62%
    44 out of 52 items documented0 out of 21 items with examples
  • Size
  • Source code size: 23.97 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 4.29 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 55s Average build duration of successful builds.
  • all releases: 55s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • bashandbone

marque-rules — trait definitions for the marque rule system.

This crate defines the contract every rule crate must satisfy. It has no rule implementations — those live in marque-capco and future crates. The engine depends only on this crate, enabling rule crates to be swapped.

Type split: FixProposal vs AppliedFix

FixProposal is pure data emitted by rules — deterministic, timestamp-free, classifier-free. AppliedFix wraps a proposal with runtime context (timestamp, classifier id, dry-run flag) and is constructed only by Engine::fix. This makes "suggested vs applied" a type-system invariant.