mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-26 04:22:38 +01:00
- api/non-exhaustive: #[non_exhaustive] on public enums, variants and structs, with constructors for what callers built by struct expression (KeytipControl, GroupWidths, RibbonMenuRequest, EdgeLook::sample, BalloonItem, CropScope::object, PageBandRoom, WheelSpeed, AltCodePages, GalleryFace, GradientTile). GalleryItem, RibbonOutput, LineBreakOptions, AsianTypography and GapEdge join the closed list. - props/hand-setter: setters that only store become #[prop] fields. Keytips drops its own enabled field for Common enabled, and its show becomes show_over. - contract/no-global-state: constant tables are const, not static. - contract/egui-import, memory, allocate: LayerId, TreeUpdate, Id::unique, the text scroll memory and allocate_space go through runtime::egui. - contract/overlay-flag: CanvasScrollbars declares overlay; its drag story covers Open. - Markers and exception entries only where the code is the exception (stories, trials, unit-square coordinates, the balloons id scope). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
18 lines
605 B
TOML
18 lines
605 B
TOML
config_version = 1
|
|
|
|
[[exception]]
|
|
name = "icon-trial-fixed-tint"
|
|
kind = "marker"
|
|
rule = "raw-colour/const"
|
|
path = "crates/ui-contract/src/testing/icon_trials.rs"
|
|
reason = "A fixed layer keeps the colours it is drawn in: the trial expects the white tint that leaves them unchanged."
|
|
count = 2
|
|
|
|
[[exception]]
|
|
name = "face-runs-text-size"
|
|
kind = "probe"
|
|
rule = "probe/exempt/text-size"
|
|
path = "crates/ui-contract/src/testing/face_runs.rs"
|
|
reason = "The 4,000-point run is drawn at the font atlas's cap, which is in device pixels: at twice the scale the cap, and the card, are half as many points."
|
|
count = 1
|