mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-25 20:14:31 +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
509 B
TOML
18 lines
509 B
TOML
config_version = 1
|
|
|
|
[[exception]]
|
|
name = "stack-story-stage-allocate"
|
|
kind = "marker"
|
|
rule = "contract/allocate"
|
|
path = "crates/ui-widgets/src/layout_components/stories.rs"
|
|
reason = "The story gives the stack a fixed stage box to show fill-height sizing."
|
|
count = 1
|
|
|
|
[[exception]]
|
|
name = "stack-story-stage-size"
|
|
kind = "marker"
|
|
rule = "literal-size/vec2"
|
|
path = "crates/ui-widgets/src/layout_components/stories.rs"
|
|
reason = "The story gives the stack a fixed stage box to show fill-height sizing."
|
|
count = 1
|