plumb-core 0.0.12

Deterministic design-system linter — rule engine and core types.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.95"
name = "plumb-core"
version = "0.0.12"
authors = ["Aram Hammoudeh <aram.devdocs@gmail.com>"]
build = false
exclude = [
    "AGENTS.md",
    "CLAUDE.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Deterministic design-system linter — rule engine and core types."
homepage = "https://plumb.aramhammoudeh.com"
documentation = "https://plumb.aramhammoudeh.com"
readme = "README.md"
keywords = [
    "design-system",
    "linter",
    "mcp",
    "chromium",
    "cdp",
]
categories = [
    "command-line-utilities",
    "development-tools",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/aram-devdocs/plumb"

[features]
test-fake = []

[lib]
name = "plumb_core"
path = "src/lib.rs"

[[test]]
name = "dogfood_phase_gate"
path = "tests/dogfood_phase_gate.rs"

[[test]]
name = "engine_run_many"
path = "tests/engine_run_many.rs"

[[test]]
name = "golden_a11y_touch_target"
path = "tests/golden_a11y_touch_target.rs"

[[test]]
name = "golden_baseline_rhythm"
path = "tests/golden_baseline_rhythm.rs"

[[test]]
name = "golden_color_contrast_aa"
path = "tests/golden_color_contrast_aa.rs"

[[test]]
name = "golden_color_palette_conformance"
path = "tests/golden_color_palette_conformance.rs"

[[test]]
name = "golden_edge_near_alignment"
path = "tests/golden_edge_near_alignment.rs"

[[test]]
name = "golden_ignore_filter"
path = "tests/golden_ignore_filter.rs"

[[test]]
name = "golden_opacity_scale_conformance"
path = "tests/golden_opacity_scale_conformance.rs"

[[test]]
name = "golden_radius_scale"
path = "tests/golden_radius_scale.rs"

[[test]]
name = "golden_shadow_scale_conformance"
path = "tests/golden_shadow_scale_conformance.rs"

[[test]]
name = "golden_sibling_height_consistency"
path = "tests/golden_sibling_height_consistency.rs"

[[test]]
name = "golden_sibling_padding_consistency"
path = "tests/golden_sibling_padding_consistency.rs"

[[test]]
name = "golden_spacing_grid"
path = "tests/golden_spacing_grid.rs"

[[test]]
name = "golden_spacing_scale"
path = "tests/golden_spacing_scale.rs"

[[test]]
name = "golden_type_family_conformance"
path = "tests/golden_type_family_conformance.rs"

[[test]]
name = "golden_type_scale"
path = "tests/golden_type_scale.rs"

[[test]]
name = "golden_type_weight_conformance"
path = "tests/golden_type_weight_conformance.rs"

[[test]]
name = "golden_z_scale_conformance"
path = "tests/golden_z_scale_conformance.rs"

[[test]]
name = "severity_override_engine"
path = "tests/severity_override_engine.rs"

[[test]]
name = "snapshot_ctx"
path = "tests/snapshot_ctx.rs"

[dependencies.indexmap]
version = "2"
features = ["serde"]

[dependencies.palette]
version = "0.7"
features = ["std"]
default-features = false

[dependencies.rayon]
version = "1"

[dependencies.schemars]
version = "1"
features = [
    "indexmap2",
    "preserve_order",
]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dev-dependencies.insta]
version = "1"
features = [
    "json",
    "yaml",
    "filters",
]

[dev-dependencies.proptest]
version = "1"

[lints.clippy]
cognitive_complexity = "allow"
dbg_macro = "deny"
derive_partial_eq_without_eq = "allow"
doc_markdown = "allow"
expect_used = "deny"
missing_const_for_fn = "allow"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
option_if_let_else = "allow"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
todo = "deny"
too_long_first_doc_paragraph = "allow"
unimplemented = "deny"
unused_async = "allow"
unwrap_used = "deny"

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
dead_code = "deny"
deprecated = "deny"
missing_docs = "deny"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_imports = "deny"

[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1