[package]
edition = "2024"
rust-version = "1.98"
name = "component-shape"
version = "0.3.2"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Framework-neutral component shape metadata and naming utilities.
"""
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/stayhydated/component-shape"
[lib]
name = "component_shape"
path = "src/lib.rs"
[dependencies.derive_more]
version = "2.1"
features = [
"as_ref",
"display",
"from",
"into",
]
[dependencies.heck]
version = "0.5"
[dependencies.strum]
version = "0.28"
features = ["derive"]
[dependencies.syn]
version = "3.0"
features = [
"clone-impls",
"full",
"parsing",
]
default-features = false
[dependencies.thiserror]
version = "2.0"
[lints.clippy]
dbg_macro = "deny"
derive_partial_eq_without_eq = "warn"
err_expect = "warn"
incompatible_msrv = "deny"
iter_on_single_items = "warn"
needless_bool = "warn"
redundant_clone = "warn"
todo = "deny"
type_complexity = "allow"
uninlined_format_args = "allow"
unused_trait_names = "warn"
useless_conversion = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
future_incompatible = "deny"
nonstandard_style = "deny"
unsafe_op_in_unsafe_fn = "deny"
unused_must_use = "deny"
[lints.rust.unexpected_cfgs]
level = "deny"
priority = 0
check-cfg = ["cfg(coverage)"]
[lints.rustdoc]
bare_urls = "deny"
broken_intra_doc_links = "deny"