diff --git a/core/Cargo.toml b/core/Cargo.toml index 76f3c9c18..fa93c5ac3 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -9,7 +9,7 @@ homepage = "https://github.com/paperclip-rs/paperclip" repository = "https://github.com/paperclip-rs/paperclip" [dependencies] -paperclip-macros = { path = "../macros", version = "0.6.3" } +paperclip-macros = { path = "../macros", version = "0.6.4" } actix-web2 = { version = "2", optional = true, default-features = false, package = "actix-web" } actix-web3 = { version = "3", optional = true, default-features = false, package = "actix-web" } actix-web4 = { version = "4", optional = true, default-features = false, package = "actix-web" } diff --git a/macros/Cargo.toml b/macros/Cargo.toml index 055cecb30..b17282170 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "paperclip-macros" -version = "0.6.3" +version = "0.6.4" edition = "2018" description = "Macros for paperclip OpenAPI tooling library" documentation = "https://paperclip-rs.github.io/paperclip/paperclip_macros" diff --git a/macros/src/lib.rs b/macros/src/lib.rs index b6759d09a..306709403 100644 --- a/macros/src/lib.rs +++ b/macros/src/lib.rs @@ -106,7 +106,7 @@ fn expect_struct_or_enum(ts: TokenStream) -> Result { /// Helper struct for parsing proc-macro input attributes. #[derive(Default)] -struct MacroAttribute(Punctuated); +struct MacroAttribute(#[allow(dead_code)] Punctuated); impl Parse for MacroAttribute { fn parse(input: ParseStream) -> syn::Result {