Skip to main content

Crate ruff_macros

Crate ruff_macros 

Source
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§

CacheKey
Generates a CacheKey implementation for the attributed type.
Combine
Automatically derives a ty_combine::Combine implementation for the attributed type that calls ty_combine::Combine::combine for each field.
CombineOptions
OptionsMetadata
RuleNamespace
RustDoc
ViolationMetadata