Working commit

This commit is contained in:
2025-06-20 11:21:38 +10:00
parent f9676a1436
commit 94e1cf2eb0
8 changed files with 1597 additions and 16 deletions

View File

@@ -5,11 +5,9 @@ use quote::{format_ident, quote};
use syn::{spanned::*, *};
#[derive(Debug, FromMeta)]
pub struct Args {
module: Option<String>,
}
pub struct Args {}
pub fn transform(args: Args, mut item: Item) -> Result<TokenStream> {
pub fn transform(_args: Args, mut item: Item) -> Result<TokenStream> {
let (name, impl_type, impl_cdef) = match item {
Item::Struct(ref mut str) => (
str.ident.clone(),