[package]
edition = "2024"
rust-version = "1.95"
name = "plumb-config"
version = "0.0.13"
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 = "Config loading and JSON Schema emission for Plumb."
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"
[lib]
name = "plumb_config"
path = "src/lib.rs"
[[test]]
name = "css_props_scraper"
path = "tests/css_props_scraper.rs"
[[test]]
name = "dtcg_adapter"
path = "tests/dtcg_adapter.rs"
[[test]]
name = "load_example"
path = "tests/load_example.rs"
[[test]]
name = "tailwind_adapter"
path = "tests/tailwind_adapter.rs"
[[test]]
name = "validation_errors"
path = "tests/validation_errors.rs"
[dependencies.dunce]
version = "1"
[dependencies.figment]
version = "0.10"
features = [
"toml",
"yaml",
"json",
"env",
]
[dependencies.indexmap]
version = "2"
features = ["serde"]
[dependencies.miette]
version = "7"
features = ["fancy"]
[dependencies.plumb-core]
version = "0.0.13"
[dependencies.schemars]
version = "1"
features = [
"indexmap2",
"preserve_order",
]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.sha2]
version = "0.11"
[dependencies.thiserror]
version = "2"
[dependencies.toml]
version = "1"
[dependencies.tracing]
version = "0.1"
[dependencies.which]
version = "8"
[dev-dependencies.tempfile]
version = "3"
[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