mirror of https://github.com/fafhrd91/actix-web
update syn and darling for multipart derives
This commit is contained in:
parent
161370d84a
commit
5dc28d3d6b
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
- Update `syn` dependency to `2`.
|
||||||
- Minimum supported Rust version (MSRV) is now 1.65 due to transitive `time` dependency.
|
- Minimum supported Rust version (MSRV) is now 1.65 due to transitive `time` dependency.
|
||||||
|
|
||||||
## 0.6.0 - 2023-02-26
|
## 0.6.0 - 2023-02-26
|
||||||
|
|
|
@ -17,11 +17,11 @@ all-features = true
|
||||||
proc-macro = true
|
proc-macro = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
darling = "0.14"
|
darling = "0.20"
|
||||||
parse-size = "1"
|
parse-size = "1"
|
||||||
proc-macro2 = "1"
|
proc-macro2 = "1"
|
||||||
quote = "1"
|
quote = "1"
|
||||||
syn = "1"
|
syn = "2"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
actix-multipart = "0.6"
|
actix-multipart = "0.6"
|
||||||
|
|
|
@ -35,7 +35,7 @@ impl syn::parse::Parse for RouteArgs {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// separator
|
// advance past comma separator
|
||||||
input.parse::<Token![,]>()?;
|
input.parse::<Token![,]>()?;
|
||||||
|
|
||||||
// if next char is a literal, assume that it is a string and show multi-path error
|
// if next char is a literal, assume that it is a string and show multi-path error
|
||||||
|
|
Loading…
Reference in New Issue