/// Attribute namespace recognized on fields by `#[derive(Props)]`.
pub const ATTR_PROP: &str = "prop";
/// Field option inside `#[prop(custom)]` suppressing generation of a fluent setter method when a custom setter exists.
pub const PROP_OPT_SKIP: &str = "custom";
/// Field option inside `#[prop(default = expr)]` overriding the default initializer expression.
pub const PROP_OPT_DEFAULT: &str = "default";
/// Type segment name detected to accept `impl Into<String>` ergonomics in generated setters.
pub const TYPE_NAME_STRING: &str = "String";
/// Type segment name detected as outer wrapper for `Option<Style>` ergonomic setters.
pub const TYPE_NAME_OPTION: &str = "Option";
/// Type segment name detected inside `Option<Style>` to accept `impl Into<Option<Style>>` (accepting pre-bound `Style` values or `Option<Style>`).
pub const TYPE_NAME_STYLE: &str = "Style";
/// Compile-time diagnostic when `#[derive(Props)]` is applied to a non-struct or non-named-field struct.
pub const ERR_PROPS_NAMED_STRUCT_ONLY: &str =
"#[derive(Props)] can only be derived on structs with named fields";
/// Compile-time diagnostic for unknown options inside `#[prop(...)]`.
pub const ERR_PROPS_UNKNOWN_OPTION: &str =
"unsupported #[prop(...)] option; expected `custom` or `default = <expr>`";