refactor(hashing): introduce Hashable derive macro and migrate server types

This commit is contained in:
CleverWild
2026-04-08 01:32:59 +02:00
committed by Skipper
parent 100c257e95
commit 247cb90fbf
19 changed files with 238 additions and 118 deletions

View File

@@ -0,0 +1,10 @@
use syn::{DeriveInput, parse_macro_input};
mod hashable;
mod utils;
#[proc_macro_derive(Hashable)]
pub fn derive_hashable(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
let input = parse_macro_input!(input as DeriveInput);
hashable::derive(&input).into()
}