diff --git a/Cargo.lock b/Cargo.lock index 2ab3441..c16aec4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -512,9 +512,9 @@ dependencies = [ [[package]] name = "darling" -version = "0.14.1" +version = "0.20.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4529658bdda7fd6769b8614be250cdcfc3aeb0ee72fe66f9e41e5e5eb73eac02" +checksum = "da01daa5f6d41c91358398e8db4dde38e292378da1f28300b59ef4732b879454" dependencies = [ "darling_core", "darling_macro", @@ -522,27 +522,27 @@ dependencies = [ [[package]] name = "darling_core" -version = "0.14.1" +version = "0.20.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "649c91bc01e8b1eac09fb91e8dbc7d517684ca6be8ebc75bb9cafc894f9fdb6f" +checksum = "f44f6238b948a3c6c3073cdf53bb0c2d5e024ee27e0f35bfe9d556a12395808a" dependencies = [ "fnv", "ident_case", "proc-macro2", "quote", "strsim", - "syn 1.0.109", + "syn 2.0.29", ] [[package]] name = "darling_macro" -version = "0.14.1" +version = "0.20.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddfc69c5bfcbd2fc09a0f38451d2daf0e372e367986a83906d1b0dbc88134fb5" +checksum = "0d2d88bd93979b1feb760a6b5c531ac5ba06bd63e74894c377af02faee07b9cd" dependencies = [ "darling_core", "quote", - "syn 1.0.109", + "syn 2.0.29", ] [[package]] diff --git a/crates/anchor-generate-cpi-interface/Cargo.toml b/crates/anchor-generate-cpi-interface/Cargo.toml index b2f8725..f39a2d2 100644 --- a/crates/anchor-generate-cpi-interface/Cargo.toml +++ b/crates/anchor-generate-cpi-interface/Cargo.toml @@ -19,7 +19,7 @@ compat-program-result = ["anchor-idl/compat-program-result"] [dependencies] anchor-idl = { version = "0.3.0", path = "../anchor-idl" } -darling = "0.14" +darling = "0.20" syn = { version = "1", features = ["full"] } [dev-dependencies] diff --git a/crates/anchor-idl/Cargo.toml b/crates/anchor-idl/Cargo.toml index 473d796..8538b84 100644 --- a/crates/anchor-idl/Cargo.toml +++ b/crates/anchor-idl/Cargo.toml @@ -13,7 +13,7 @@ compat-program-result = [] [dependencies] anchor-syn = { version = "0.24.2", features = ["idl"] } -darling = "0.14" +darling = "0.20" heck = "0.4.1" proc-macro2 = "1" quote = "1"