update syn and darling for multipart derives

This commit is contained in:
Rob Ede 2023-07-20 05:52:01 +01:00
parent 161370d84a
commit 5dc28d3d6b
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
3 changed files with 4 additions and 3 deletions

View File

@ -2,6 +2,7 @@
## Unreleased
- Update `syn` dependency to `2`.
- Minimum supported Rust version (MSRV) is now 1.65 due to transitive `time` dependency.
## 0.6.0 - 2023-02-26

View File

@ -17,11 +17,11 @@ all-features = true
proc-macro = true
[dependencies]
darling = "0.14"
darling = "0.20"
parse-size = "1"
proc-macro2 = "1"
quote = "1"
syn = "1"
syn = "2"
[dev-dependencies]
actix-multipart = "0.6"

View File

@ -35,7 +35,7 @@ impl syn::parse::Parse for RouteArgs {
});
}
// separator
// advance past comma separator
input.parse::<Token![,]>()?;
// if next char is a literal, assume that it is a string and show multi-path error