mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-29 13:44:43 +00:00
14 lines
337 B
Rust
14 lines
337 B
Rust
use proc_macro::TokenStream;
|
|
|
|
mod derive_element;
|
|
mod style_helpers;
|
|
|
|
#[proc_macro]
|
|
pub fn style_helpers(args: TokenStream) -> TokenStream {
|
|
style_helpers::style_helpers(args)
|
|
}
|
|
|
|
#[proc_macro_derive(Element, attributes(element))]
|
|
pub fn derive_element(input: TokenStream) -> TokenStream {
|
|
derive_element::derive_element(input)
|
|
}
|