[package]
edition = "2024"
rust-version = "1.95"
name = "plumb-codegen"
version = "0.0.11"
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 = "Source-tree token inference for Plumb. Bootstraps a starter `plumb.toml` from CSS / Tailwind / DTCG sources."
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_codegen"
path = "src/lib.rs"
[dependencies.indexmap]
version = "2"
features = ["serde"]
[dependencies.plumb-config]
version = "0.0.11"
[dependencies.plumb-core]
version = "0.0.11"
[dependencies.thiserror]
version = "2"
[dependencies.toml]
version = "1"
[dev-dependencies.insta]
version = "1"
features = [
"json",
"yaml",
"filters",
]
[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