plumb-core 0.0.12

Deterministic design-system linter — rule engine and core types.
Documentation

plumb-core

Deterministic design-system linter — rule engine and core types.

plumb-core is the foundation of the Plumb workspace. It defines the Rule trait, the violation model, the PlumbSnapshot representation, and the config schema. All output is byte-identical across runs by design.

Crate highlights

  • Rule engine — register rules, run them against a snapshot, collect sorted violations.
  • Snapshot typesPlumbSnapshot, SnapshotCtx, ElementNode, ComputedStyles, viewport definitions.
  • ConfigConfig struct with serde + schemars support.
  • No I/O, no async, no wall-clock — pure functions of (snapshot, config).

License

Licensed under either of Apache License, Version 2.0 or MIT License at your option.