Skip to content

Commit

Permalink
chore: update macros crate
Browse files Browse the repository at this point in the history
Signed-off-by: Tiago Castro <[email protected]>
  • Loading branch information
tiagolobocastro committed Sep 7, 2024
1 parent 91203c3 commit f34aee5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down
2 changes: 1 addition & 1 deletion macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ fn expect_struct_or_enum(ts: TokenStream) -> Result<DeriveInput, TokenStream> {

/// Helper struct for parsing proc-macro input attributes.
#[derive(Default)]
struct MacroAttribute(Punctuated<NestedMeta, Comma>);
struct MacroAttribute(#[allow(dead_code)] Punctuated<NestedMeta, Comma>);

impl Parse for MacroAttribute {
fn parse(input: ParseStream) -> syn::Result<Self> {
Expand Down

0 comments on commit f34aee5

Please sign in to comment.