chore(multipart-derive): upgrade `darling` to 0.23

This commit is contained in:
Yuki Okushi 2026-04-25 20:24:01 +09:00
parent 1a980855f0
commit c87a8a9543
4 changed files with 9 additions and 9 deletions

13
Cargo.lock generated
View File

@ -1082,9 +1082,9 @@ dependencies = [
[[package]]
name = "darling"
version = "0.20.11"
version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee"
checksum = "25ae13da2f202d56bd7f91c25fba009e7717a1e4a1cc98a76d844b65ae912e9d"
dependencies = [
"darling_core",
"darling_macro",
@ -1092,11 +1092,10 @@ dependencies = [
[[package]]
name = "darling_core"
version = "0.20.11"
version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e"
checksum = "9865a50f7c335f53564bb694ef660825eb8610e0a53d3e11bf1b0d3df31e03b0"
dependencies = [
"fnv",
"ident_case",
"proc-macro2",
"quote",
@ -1106,9 +1105,9 @@ dependencies = [
[[package]]
name = "darling_macro"
version = "0.20.11"
version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead"
checksum = "ac3984ec7bd6cfa798e62b4a642426a5be0e68f9401cfc2a01e3fa9ea2fcdb8d"
dependencies = [
"darling_core",
"quote",

View File

@ -5,6 +5,7 @@
## 0.8.0
- Minimum supported Rust version (MSRV) is now 1.88.
- Update `darling` dependency to `0.23`.
## 0.7.0

View File

@ -18,7 +18,7 @@ proc-macro = true
[dependencies]
bytesize = "2"
darling = "0.20"
darling = "0.23"
proc-macro2 = "1"
quote = "1"
syn = "2"

View File

@ -1,4 +1,4 @@
error: Unknown literal value `no`
error: Unknown value: `no`. Available values: `deny`, `ignore`, `replace`
--> tests/trybuild/deny-parse-fail.rs:4:31
|
4 | #[multipart(duplicate_field = "no")]