diff --git a/core/src/options.rs b/core/src/options.rs index 390a627..6f72b51 100644 --- a/core/src/options.rs +++ b/core/src/options.rs @@ -65,21 +65,6 @@ impl PackageConfig { let path = self.dest.join("template").join(path); std::fs::read_to_string(path).ok() } - - pub fn get_derive_tokenstream(&self) -> TokenStream { - let extras: TokenStream = self - .derives - .iter() - .map(|d| { - if let Ok(d) = d.trim().parse::() { - quote! { , #d } - } else { - return TokenStream::new(); - } - }) - .collect(); - return extras; - } } pub struct OutputConfig {