Expand description
This crate implements internal macros for the ruff and ty libraries.
Macros§
- kebab_
case - Converts an identifier to a kebab case string.
Attribute Macros§
- attribute_
env_ vars_ metadata - Generates metadata for environment variables declared in the impl block.
- derive_
message_ formats - map_
codes - newtype_
index - Derives a newtype wrapper that can be used as an index.
The wrapper can represent indices up to
u32::MAX - 1.
Derive Macros§
- Cache
Key - Generates a
CacheKeyimplementation for the attributed type. - Combine
- Automatically derives a
ty_combine::Combineimplementation for the attributed type that callsty_combine::Combine::combinefor each field. - Combine
Options - Options
Metadata - Rule
Namespace - RustDoc
- Violation
Metadata