Skip to content

Commit

Permalink
build(deps): Bump syn to 2 and darling to 0.20 (#167)
Browse files Browse the repository at this point in the history
- Bump syn from 1 to 2
- Bump darling from 0.14 to 0.20

Signed-off-by: Andrei Gherghescu <8067229+andrei-ng@users.noreply.github.com>
Co-authored-by: Andrei Gherghescu <8067229+andrei-ng@users.noreply.github.com>
  • Loading branch information
sjackman and andrei-ng authored Apr 30, 2024
1 parent 6271998 commit e01b234
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions plotly_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ edition = "2018"
keywords = ["plot", "chart", "plotly"]

[dependencies]
quote = "1.0"
syn = "1.0"
proc-macro2 = "1.0"
darling = "0.14.1"
quote = "1"
syn = "2"
proc-macro2 = "1"
darling = "0.20"

[lib]
proc-macro = true
2 changes: 1 addition & 1 deletion plotly_derive/src/field_setter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ impl FieldReceiver {
self.attrs
.iter()
.filter(|attr| {
attr.path
attr.path()
.segments
.first()
.map_or(false, |p| p.ident == name)
Expand Down

0 comments on commit e01b234

Please sign in to comment.