From 1a785036de52896b68d06413e3b0231122d6aa4a Mon Sep 17 00:00:00 2001 From: ananas Date: Fri, 3 Oct 2025 18:26:35 +0100 Subject: [PATCH 1/4] chore: update deps for cpi context update --- Cargo.lock | 638 ++++++++++-------- Cargo.toml | 12 +- .../common.rs | 7 - 3 files changed, 379 insertions(+), 278 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index aced04b2..991a8974 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,9 +14,9 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.24.2" +version = "0.25.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" +checksum = "1b5d307320b3181d6d7954e663bd7c774a838b8220fe0593c86d9fb09f498b4b" dependencies = [ "gimli", ] @@ -105,8 +105,7 @@ checksum = "250f629c0161ad8107cf89319e990051fae62832fd343083bea452d93e2205fd" [[package]] name = "aligned-sized" version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48a526ec4434d531d488af59fe866f36b310fe8906691c75dffa664450a3800a" +source = "git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256#849cc7c5f66faf05a7f1176768178241bd59d256" dependencies = [ "proc-macro2", "quote", @@ -461,12 +460,6 @@ dependencies = [ "thiserror 1.0.69", ] -[[package]] -name = "android-tzdata" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" - [[package]] name = "android_system_properties" version = "0.1.5" @@ -487,9 +480,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.20" +version = "0.6.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ae563653d1938f79b1ab1b5e668c87c76a9930414574a6583a7b7e11a8e6192" +checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a" dependencies = [ "anstyle", "anstyle-parse", @@ -502,9 +495,9 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.11" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "862ed96ca487e809f1c8e5a8447f6ee2cf102f846893800b20cebdf541fc6bbd" +checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78" [[package]] name = "anstyle-parse" @@ -537,9 +530,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.99" +version = "1.0.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0674a1ddeecb70197781e945de4b3b8ffb61fa939a5597bcf48503737663100" +checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61" [[package]] name = "ark-bn254" @@ -894,9 +887,9 @@ dependencies = [ [[package]] name = "async-compression" -version = "0.4.30" +version = "0.4.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "977eb15ea9efd848bb8a4a1a2500347ed7f0bf794edf0dc3ddcf439f43d36b23" +checksum = "5a89bce6054c720275ac2432fbba080a66a2106a44a1b804553930ca6909f4e0" dependencies = [ "compression-codecs", "compression-core", @@ -937,11 +930,11 @@ dependencies = [ [[package]] name = "async-io" -version = "2.5.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19634d6336019ef220f09fd31168ce5c184b295cbf80345437cc36094ef223ca" +checksum = "456b8a8feb6f42d237746d4b3e9a178494627745c3c56c6ea55d92ba50d026fc" dependencies = [ - "async-lock", + "autocfg", "cfg-if", "concurrent-queue", "futures-io", @@ -950,7 +943,7 @@ dependencies = [ "polling", "rustix", "slab", - "windows-sys 0.60.2", + "windows-sys 0.61.1", ] [[package]] @@ -1167,9 +1160,9 @@ dependencies = [ [[package]] name = "backtrace" -version = "0.3.75" +version = "0.3.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6806a6321ec58106fea15becdad98371e28d92ccbc7c8f1b3b6dd724fe8f1002" +checksum = "bb531853791a215d7c62a30daf0dde835f381ab5de4589cfe7c649d2cbe92bd6" dependencies = [ "addr2line", "cfg-if", @@ -1177,7 +1170,7 @@ dependencies = [ "miniz_oxide", "object", "rustc-demangle", - "windows-targets 0.52.6", + "windows-link", ] [[package]] @@ -1249,9 +1242,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.9.3" +version = "2.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34efbcccd345379ca2868b2b2c9d3782e9cc58ba87bc7d79d5b53d9c9ae6f25d" +checksum = "2261d10cca569e4643e526d8dc2e62e433cc8aba21ab764233731f8d369bf394" dependencies = [ "serde", ] @@ -1392,7 +1385,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fdd1d3c0c2f5833f22386f252fe8ed005c7f59fdcddeef025c01b4c3b9fd9ac3" dependencies = [ "once_cell", - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", "syn 2.0.106", @@ -1549,18 +1542,18 @@ dependencies = [ [[package]] name = "bytemuck" -version = "1.23.2" +version = "1.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3995eaeebcdf32f91f980d360f78732ddc061097ab4e39991ae7a6ace9194677" +checksum = "1fbdf580320f38b612e485521afda1ee26d10cc9884efaaa750d383e13e3c5f4" dependencies = [ "bytemuck_derive", ] [[package]] name = "bytemuck_derive" -version = "1.10.1" +version = "1.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f154e572231cb6ba2bd1176980827e3d5dc04cc183a75dea38109fbdd672d29" +checksum = "f9abbd1bc6865053c427f7198e6af43bfdedc55ab791faed4fbd361d789575ff" dependencies = [ "proc-macro2", "quote", @@ -1619,9 +1612,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.2.35" +version = "1.2.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "590f9024a68a8c40351881787f1934dc11afd69090f5edb6831464694d836ea3" +checksum = "e1d05d92f4b1fd76aad469d46cdd858ca761576082cd37df81416691e50199fb" dependencies = [ "find-msvc-tools", "jobserver", @@ -1643,11 +1636,10 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" [[package]] name = "chrono" -version = "0.4.41" +version = "0.4.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c469d952047f47f91b68d1cba3f10d63c11d73e4636f24f08daf0278abf01c4d" +checksum = "145052bdd345b87320e369255277e3fb5152762ad123a901ef5c262dd38fe8d2" dependencies = [ - "android-tzdata", "iana-time-zone", "js-sys", "num-traits", @@ -1699,19 +1691,19 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.46" +version = "4.5.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c5e4fcf9c21d2e544ca1ee9d8552de13019a42aa7dbf32747fa7aaf1df76e57" +checksum = "e2134bb3ea021b78629caa971416385309e0131b351b25e01dc16fb54e1b5fae" dependencies = [ "clap_builder", - "clap_derive 4.5.45", + "clap_derive 4.5.47", ] [[package]] name = "clap_builder" -version = "4.5.46" +version = "4.5.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fecb53a0e6fcfb055f686001bc2e2592fa527efaf38dbe81a6a9563562e57d41" +checksum = "c2ba64afa3c0a6df7fa517765e31314e983f51dda798ffba27b988194fb65dc9" dependencies = [ "anstream", "anstyle", @@ -1734,9 +1726,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.45" +version = "4.5.47" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14cb31bb0a7d536caef2639baa7fad459e15c3144efefa6dbd1c84562c4739f6" +checksum = "bbfd7eae0b0f1a6e63d4b13c9c478de77c2eb546fba158ad50b4203dc24b9f9c" dependencies = [ "heck 0.5.0", "proc-macro2", @@ -1780,9 +1772,9 @@ dependencies = [ [[package]] name = "compression-codecs" -version = "0.4.30" +version = "0.4.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "485abf41ac0c8047c07c87c72c8fb3eb5197f6e9d7ded615dfd1a00ae00a0f64" +checksum = "ef8a506ec4b81c460798f572caead636d57d3d7e940f998160f52bd254bf2d23" dependencies = [ "brotli 8.0.2", "compression-core", @@ -2084,7 +2076,7 @@ dependencies = [ "hashbrown 0.14.5", "lock_api", "once_cell", - "parking_lot_core 0.9.11", + "parking_lot_core 0.9.12", ] [[package]] @@ -2118,12 +2110,12 @@ dependencies = [ [[package]] name = "deranged" -version = "0.5.3" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d630bccd429a5bb5a64b5e94f693bfc48c9f8566418fda4c494cc94f911f87cc" +checksum = "a41953f86f8a05768a6cda24def994fd2f424b04ec5c719cf89989779f199071" dependencies = [ "powerfmt", - "serde", + "serde_core", ] [[package]] @@ -2353,9 +2345,9 @@ dependencies = [ [[package]] name = "enum-iterator-derive" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1ab991c1362ac86c61ab6f556cff143daa22e5a15e4e189df818b2fd19fe65b" +checksum = "685adfa4d6f3d765a26bc5dbc936577de9abf756c1feeb3089b01dd395034842" dependencies = [ "proc-macro2", "quote", @@ -2403,12 +2395,12 @@ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" [[package]] name = "errno" -version = "0.3.13" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "778e2ac28f6c47af28e4907f13ffd1e1ddbd400980a9abd7c8df189bf578a5ad" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.60.2", + "windows-sys 0.61.1", ] [[package]] @@ -2458,9 +2450,9 @@ checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" [[package]] name = "find-msvc-tools" -version = "0.1.0" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e178e4fba8a2726903f6ba98a6d221e76f9c12c650d5dc0e6afdc50677b49650" +checksum = "0399f9d26e5191ce32c498bebd31e7a3ceabc2745f0ac54af3f335126c3f24b3" [[package]] name = "five8" @@ -2494,9 +2486,9 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flate2" -version = "1.1.2" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a3d7db9596fecd151c5f638c0ee5d5bd487b6e0ea232e5dc96d5250f6f94b1d" +checksum = "dc5a4e564e38c699f2880d3fda590bedc2e69f3f84cd48b457bd892ce61d0aa9" dependencies = [ "crc32fast", "miniz_oxide", @@ -2740,14 +2732,14 @@ dependencies = [ "cfg-if", "libc", "r-efi", - "wasi 0.14.3+wasi-0.2.4", + "wasi 0.14.7+wasi-0.2.4", ] [[package]] name = "gimli" -version = "0.31.1" +version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" +checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7" [[package]] name = "glob" @@ -2818,7 +2810,7 @@ dependencies = [ "futures-sink", "futures-util", "http 0.2.12", - "indexmap 2.11.0", + "indexmap 2.11.4", "slab", "tokio", "tokio-util", @@ -2837,7 +2829,7 @@ dependencies = [ "futures-core", "futures-sink", "http 1.3.1", - "indexmap 2.11.0", + "indexmap 2.11.4", "slab", "tokio", "tokio-util", @@ -2899,6 +2891,12 @@ dependencies = [ "allocator-api2", ] +[[package]] +name = "hashbrown" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5419bdc4f6a9207fbeba6d11b604d481addf78ecd10c11ad51e76c2f6482748d" + [[package]] name = "hashlink" version = "0.8.4" @@ -3093,9 +3091,9 @@ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" [[package]] name = "humantime" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b112acc8b3adf4b107a8ec20977da0273a8c386765a3ec0229bd500a1443f9f" +checksum = "135b12329e5e3ce057a9f972339ea52bc954fe1e9358ef27f95e89716fbc5424" [[package]] name = "hyper" @@ -3200,9 +3198,9 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.16" +version = "0.1.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d9b05277c7e8da2c93a568989bb6207bef0112e8d17df7a6eda4a3cf143bc5e" +checksum = "3c6995591a8f1380fcb4ba966a252a4b29188d51d2b89e3a252f5305be65aea8" dependencies = [ "bytes", "futures-channel", @@ -3221,9 +3219,9 @@ dependencies = [ [[package]] name = "iana-time-zone" -version = "0.1.63" +version = "0.1.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0c919e5debc312ad217002b8048a17b7d83f80703865bbfcfebb0458b0b27d8" +checksum = "33e57f83510bb73707521ebaffa789ec8caf86f9657cad665b092b581d40e9fb" dependencies = [ "android_system_properties", "core-foundation-sys", @@ -3384,13 +3382,14 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.11.0" +version = "2.11.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2481980430f9f78649238835720ddccc57e52df14ffce1c6f37391d61b563e9" +checksum = "4b0f83760fb341a774ed326568e19f5a863af4a952def8c39f9ab92fd95b88e5" dependencies = [ "equivalent", - "hashbrown 0.15.5", + "hashbrown 0.16.0", "serde", + "serde_core", ] [[package]] @@ -3408,9 +3407,9 @@ dependencies = [ [[package]] name = "insta" -version = "1.43.1" +version = "1.43.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "154934ea70c58054b556dd430b99a98c2a7ff5309ac9891597e339b5c28f4371" +checksum = "46fdb647ebde000f43b5b53f773c30cf9b0cb4300453208713fa38b2c70935a0" dependencies = [ "console", "once_cell", @@ -3433,7 +3432,7 @@ version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "046fa2d4d00aea763528b4950358d0ead425372445dc8ff86312b3c69ff7727b" dependencies = [ - "bitflags 2.9.3", + "bitflags 2.9.4", "cfg-if", "libc", ] @@ -3504,9 +3503,9 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.77" +version = "0.3.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f" +checksum = "ec48937a97411dcb524a265206ccd4c90bb711fca92b2792c407f268825b9305" dependencies = [ "once_cell", "wasm-bindgen", @@ -3555,7 +3554,7 @@ dependencies = [ "globset", "hyper 0.14.32", "jsonrpsee-types", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "rand 0.8.5", "rustc-hash", "serde", @@ -3641,19 +3640,19 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" -version = "0.2.175" +version = "0.2.176" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543" +checksum = "58f929b4d672ea937a23a1ab494143d968337a5f47e56d0815df1e0890ddf174" [[package]] name = "libredox" -version = "0.1.9" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "391290121bad3d37fbddad76d8f5d1c1c314cfc646d143d7e07a3086ddff0ce3" +checksum = "416f7e718bdb06000964960ffa43b4335ad4012ae8b99060261aa4a8088d5ccb" dependencies = [ - "bitflags 2.9.3", + "bitflags 2.9.4", "libc", - "redox_syscall 0.5.17", + "redox_syscall 0.5.18", ] [[package]] @@ -3718,28 +3717,27 @@ dependencies = [ [[package]] name = "light-account-checks" version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3fd000a2b8e0cc9d0b7b7712964870df51f2114f1693b9d8f0414f6f3ec16bd" +source = "git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256#849cc7c5f66faf05a7f1176768178241bd59d256" dependencies = [ "solana-account-info", + "solana-msg", "solana-program-error", "solana-pubkey", "solana-sysvar", - "thiserror 2.0.16", + "thiserror 2.0.17", ] [[package]] name = "light-batched-merkle-tree" version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81c7e179246468b09bf5c6882ef33043e178ff90eb6eab0c1c4c3623ef84b154" +source = "git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256#849cc7c5f66faf05a7f1176768178241bd59d256" dependencies = [ "aligned-sized", "borsh 0.10.4", "light-account-checks", "light-bloom-filter", "light-compressed-account", - "light-hasher", + "light-hasher 3.1.0 (git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256)", "light-macros", "light-merkle-tree-metadata", "light-verifier", @@ -3749,21 +3747,20 @@ dependencies = [ "solana-program-error", "solana-pubkey", "solana-sysvar", - "thiserror 2.0.16", + "thiserror 2.0.17", "zerocopy", ] [[package]] name = "light-bloom-filter" version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44abcb5554e1c15cefa9ac17e4ceda6f5afb039db25ab1fd777f012356d0f964" +source = "git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256#849cc7c5f66faf05a7f1176768178241bd59d256" dependencies = [ "bitvec", "num-bigint 0.4.6", "solana-nostd-keccak", "solana-program-error", - "thiserror 2.0.16", + "thiserror 2.0.17", ] [[package]] @@ -3781,32 +3778,33 @@ dependencies = [ [[package]] name = "light-compressed-account" version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f15113babaca9efb592631ec1e7e78c1c83413818a6e1e4248b7df53d88fe65" +source = "git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256#849cc7c5f66faf05a7f1176768178241bd59d256" dependencies = [ "anchor-lang 0.31.1", "borsh 0.10.4", "bytemuck", - "light-hasher", + "light-hasher 3.1.0 (git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256)", "light-macros", + "light-program-profiler", "light-zero-copy", + "solana-msg", "solana-program-error", "solana-pubkey", - "thiserror 2.0.16", + "thiserror 2.0.17", "zerocopy", ] [[package]] name = "light-concurrent-merkle-tree" version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b4f878301620df78ba7e7758c5fd720f28040f5c157375f88d310f15ddb1746" +source = "git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256#849cc7c5f66faf05a7f1176768178241bd59d256" dependencies = [ "borsh 0.10.4", "light-bounded-vec", - "light-hasher", + "light-hasher 3.1.0 (git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256)", "memoffset 0.9.1", - "thiserror 2.0.16", + "solana-program-error", + "thiserror 2.0.17", ] [[package]] @@ -3814,6 +3812,23 @@ name = "light-hasher" version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c6445937ea244bebae0558e2aaec375791895d08c785b87cc45b62cd80d69139" +dependencies = [ + "ark-bn254 0.5.0", + "ark-ff 0.5.0", + "arrayvec", + "borsh 0.10.4", + "light-poseidon 0.3.0", + "num-bigint 0.4.6", + "sha2 0.10.9", + "sha3 0.10.8", + "solana-nostd-keccak", + "thiserror 2.0.17", +] + +[[package]] +name = "light-hasher" +version = "3.1.0" +source = "git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256#849cc7c5f66faf05a7f1176768178241bd59d256" dependencies = [ "ark-bn254 0.5.0", "ark-ff 0.5.0", @@ -3826,7 +3841,7 @@ dependencies = [ "solana-nostd-keccak", "solana-program-error", "solana-pubkey", - "thiserror 2.0.16", + "thiserror 2.0.17", ] [[package]] @@ -3835,17 +3850,16 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bc786d8df68ef64493fea04914a7a7745f8122f2efbae043cd4ba4eaffa9e6db" dependencies = [ - "light-hasher", + "light-hasher 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "num-bigint 0.4.6", "num-traits", - "thiserror 2.0.16", + "thiserror 2.0.17", ] [[package]] name = "light-macros" version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "861c0817697c1201c2235cd831fcbaa2564a5f778e5229e9f5cc21035e97c273" +source = "git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256#849cc7c5f66faf05a7f1176768178241bd59d256" dependencies = [ "bs58 0.5.1", "proc-macro2", @@ -3856,8 +3870,7 @@ dependencies = [ [[package]] name = "light-merkle-tree-metadata" version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "544048fa95ea95fc1e952a2b9b1d6f09340c8decaffd1ad239fe1f6eb905ae76" +source = "git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256#849cc7c5f66faf05a7f1176768178241bd59d256" dependencies = [ "borsh 0.10.4", "bytemuck", @@ -3865,7 +3878,7 @@ dependencies = [ "solana-msg", "solana-program-error", "solana-sysvar", - "thiserror 2.0.16", + "thiserror 2.0.17", "zerocopy", ] @@ -3875,11 +3888,11 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1650701feac958261b2c3ab4da361ad8548985ee3ee496a17e76db44d2d3c9e3" dependencies = [ - "light-hasher", + "light-hasher 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "light-indexed-array", "num-bigint 0.4.6", "num-traits", - "thiserror 2.0.16", + "thiserror 2.0.17", ] [[package]] @@ -3906,33 +3919,60 @@ dependencies = [ "thiserror 1.0.69", ] +[[package]] +name = "light-profiler-macro" +version = "0.1.0" +source = "git+https://github.com/Lightprotocol/light-program-profiler?rev=36a75e14f54dd862bf2f338c97435ffc7e3e8de9#36a75e14f54dd862bf2f338c97435ffc7e3e8de9" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.106", +] + +[[package]] +name = "light-program-profiler" +version = "0.1.0" +source = "git+https://github.com/Lightprotocol/light-program-profiler?rev=36a75e14f54dd862bf2f338c97435ffc7e3e8de9#36a75e14f54dd862bf2f338c97435ffc7e3e8de9" +dependencies = [ + "light-profiler-macro", +] + [[package]] name = "light-verifier" version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85fdf317ec3cfcd3a8e6556a5b5e7fbcc207a40264700f9a5271876838f26f58" +source = "git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256#849cc7c5f66faf05a7f1176768178241bd59d256" dependencies = [ "groth16-solana", "light-compressed-account", - "thiserror 2.0.16", + "thiserror 2.0.17", ] [[package]] name = "light-zero-copy" version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a34d759f65547a6540db7047f38f4cb2c3f01658deca95a1dd06f26b578de947" +source = "git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256#849cc7c5f66faf05a7f1176768178241bd59d256" dependencies = [ + "light-zero-copy-derive", "solana-program-error", - "thiserror 2.0.16", "zerocopy", ] +[[package]] +name = "light-zero-copy-derive" +version = "0.1.0" +source = "git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256#849cc7c5f66faf05a7f1176768178241bd59d256" +dependencies = [ + "lazy_static", + "proc-macro2", + "quote", + "syn 2.0.106", +] + [[package]] name = "linux-raw-sys" -version = "0.9.4" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12" +checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" [[package]] name = "litemap" @@ -3942,19 +3982,18 @@ checksum = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956" [[package]] name = "lock_api" -version = "0.4.13" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96936507f153605bddfcda068dd804796c84324ed2510809e5b2a624c81da765" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" dependencies = [ - "autocfg", "scopeguard", ] [[package]] name = "log" -version = "0.4.27" +version = "0.4.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" +checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432" dependencies = [ "value-bag", ] @@ -4003,9 +4042,9 @@ checksum = "490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771" [[package]] name = "memchr" -version = "2.7.5" +version = "2.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0" +checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" [[package]] name = "memmap2" @@ -4084,6 +4123,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" dependencies = [ "adler2", + "simd-adler32", ] [[package]] @@ -4313,7 +4353,7 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77e878c846a8abae00dd069496dbe8751b16ac1c3d6bd2a7283a938e8228f90d" dependencies = [ - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", "syn 2.0.106", @@ -4327,9 +4367,9 @@ checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" [[package]] name = "object" -version = "0.36.7" +version = "0.37.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87" +checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe" dependencies = [ "memchr", ] @@ -4367,7 +4407,7 @@ version = "0.10.73" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8505734d46c8ab1e19a1dce3aef597ad87dcb4c37e7188231769bd6bd51cebf8" dependencies = [ - "bitflags 2.9.3", + "bitflags 2.9.4", "cfg-if", "foreign-types", "libc", @@ -4469,12 +4509,12 @@ dependencies = [ [[package]] name = "parking_lot" -version = "0.12.4" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70d58bf43669b5795d1576d0641cfb6fbb2057bf629506267a92807158584a13" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" dependencies = [ "lock_api", - "parking_lot_core 0.9.11", + "parking_lot_core 0.9.12", ] [[package]] @@ -4493,15 +4533,15 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.11" +version = "0.9.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc838d2a56b5b1a6c25f55575dfc605fabb63bb2365f6c2353ef9159aa69e4a5" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.5.17", + "redox_syscall 0.5.18", "smallvec", - "windows-targets 0.52.6", + "windows-link", ] [[package]] @@ -4559,7 +4599,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" dependencies = [ "fixedbitset", - "indexmap 2.11.0", + "indexmap 2.11.4", ] [[package]] @@ -4581,7 +4621,7 @@ dependencies = [ "bytes", "cadence", "cadence-macros", - "clap 4.5.46", + "clap 4.5.48", "dirs 5.0.1", "function_name", "futures", @@ -4595,7 +4635,7 @@ dependencies = [ "light-batched-merkle-tree", "light-compressed-account", "light-concurrent-merkle-tree", - "light-hasher", + "light-hasher 3.1.0 (git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256)", "light-merkle-tree-metadata", "light-merkle-tree-reference", "light-poseidon 0.3.0", @@ -4699,16 +4739,16 @@ checksum = "b4596b6d070b27117e987119b4dac604f3c58cfb0b191112e24771b2faeac1a6" [[package]] name = "polling" -version = "3.10.0" +version = "3.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5bd19146350fe804f7cb2669c851c03d69da628803dab0d98018142aaa5d829" +checksum = "5d0e4f59085d47d8241c88ead0f274e8a0cb551f3625263c05eb8dd897c34218" dependencies = [ "cfg-if", "concurrent-queue", "hermit-abi 0.5.2", "pin-project-lite", "rustix", - "windows-sys 0.60.2", + "windows-sys 0.61.1", ] [[package]] @@ -4784,11 +4824,11 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "3.3.0" +version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edce586971a4dfaa28950c6f18ed55e0406c1ab88bbce2c6f6293a7aaba73d35" +checksum = "219cb19e96be00ab2e37d6e299658a0cfa83e52429179969b0f0121b4ac46983" dependencies = [ - "toml_edit 0.22.27", + "toml_edit 0.23.6", ] [[package]] @@ -4986,9 +5026,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.40" +version = "1.0.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" +checksum = "ce25767e7b499d1b604768e7cde645d14cc8584231ea6b295e9c9eb22c02e1d1" dependencies = [ "proc-macro2", ] @@ -5128,11 +5168,11 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.17" +version = "0.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5407465600fb0548f1442edf71dd20683c6ed326200ace4b1ef0763521bb3b77" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" dependencies = [ - "bitflags 2.9.3", + "bitflags 2.9.4", ] [[package]] @@ -5148,9 +5188,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.11.2" +version = "1.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23d7fd106d8c02486a8d64e778353d1cffe08ce79ac2e82f540c86d0facf6912" +checksum = "8b5288124840bee7b386bc413c487869b360b2b4ec421ea56425128692f2a82c" dependencies = [ "aho-corasick", "memchr", @@ -5160,9 +5200,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.10" +version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b9458fa0bfeeac22b5ca447c63aaf45f28439a709ccd244698632f9aa6394d6" +checksum = "833eb9ce86d40ef33cb1306d8accf7bc8ec2bfea4355cbdebb3df68b40925cad" dependencies = [ "aho-corasick", "memchr", @@ -5196,7 +5236,7 @@ version = "0.11.27" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dd67538700a17451e7cba03ac727fb961abb7607553461627b97de0b89cf4a62" dependencies = [ - "async-compression 0.4.30", + "async-compression 0.4.32", "base64 0.21.7", "bytes", "encoding_rs", @@ -5434,9 +5474,9 @@ dependencies = [ [[package]] name = "rust_decimal" -version = "1.37.2" +version = "1.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b203a6425500a03e0919c42d3c47caca51e79f1132046626d2c8871c5092035d" +checksum = "c8975fc98059f365204d635119cf9c5a60ae67b841ed49b5422a9a7e56cdfac0" dependencies = [ "arrayvec", "borsh 1.5.7", @@ -5480,15 +5520,15 @@ dependencies = [ [[package]] name = "rustix" -version = "1.0.8" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11181fbabf243db407ef8df94a6ce0b2f9a733bd8be4ad02b4eda9602296cac8" +checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e" dependencies = [ - "bitflags 2.9.3", + "bitflags 2.9.4", "errno", "libc", "linux-raw-sys", - "windows-sys 0.60.2", + "windows-sys 0.61.1", ] [[package]] @@ -5595,11 +5635,11 @@ checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" [[package]] name = "schannel" -version = "0.1.27" +version = "0.1.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f29ebaa345f945cec9fbbc532eb307f0fdad8161f281b6369539c8d84876b3d" +checksum = "891d81b926048e76efe18581bf793546b4c0eaf8448d72be8de2bbee5fd166e1" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.1", ] [[package]] @@ -5810,7 +5850,7 @@ version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" dependencies = [ - "bitflags 2.9.3", + "bitflags 2.9.4", "core-foundation", "core-foundation-sys", "libc", @@ -5819,9 +5859,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.14.0" +version = "2.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49db231d56a190491cb4aeda9527f1ad45345af50b0851622a7adb8c03b01c32" +checksum = "cc1f0cbffaac4852523ce30d8bd3c5cdc873501d96ff467ca09b6767bb8cd5c0" dependencies = [ "core-foundation-sys", "libc", @@ -5829,33 +5869,44 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.26" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0" +checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2" [[package]] name = "serde" -version = "1.0.219" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" dependencies = [ + "serde_core", "serde_derive", ] [[package]] name = "serde_bytes" -version = "0.11.17" +version = "0.11.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8437fd221bde2d4ca316d61b90e337e9e702b3820b87d63caa9ba6c02bd06d96" +checksum = "a5d440709e79d88e51ac01c4b72fc6cb7314017bb7da9eeff678aa94c10e3ea8" dependencies = [ "serde", + "serde_core", +] + +[[package]] +name = "serde_core" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" +dependencies = [ + "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.219" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" dependencies = [ "proc-macro2", "quote", @@ -5864,14 +5915,15 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.143" +version = "1.0.145" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d401abef1d108fbd9cbaebc3e46611f4b1021f714a0597a71f41ee463f5f4a5a" +checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c" dependencies = [ "itoa", "memchr", "ryu", "serde", + "serde_core", ] [[package]] @@ -5923,7 +5975,7 @@ version = "0.9.34+deprecated" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47" dependencies = [ - "indexmap 2.11.0", + "indexmap 2.11.4", "itoa", "ryu", "serde", @@ -5940,7 +5992,7 @@ dependencies = [ "futures", "lazy_static", "log", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "serial_test_derive", ] @@ -6061,6 +6113,12 @@ version = "1.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" +[[package]] +name = "simd-adler32" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe" + [[package]] name = "simdutf8" version = "0.1.5" @@ -6222,7 +6280,7 @@ version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d52e52720efe60465b052b9e7445a01c17550666beec855cce66f44766697bc2" dependencies = [ - "parking_lot 0.12.4", + "parking_lot 0.12.5", ] [[package]] @@ -6271,7 +6329,7 @@ dependencies = [ "ark-serialize 0.4.2", "bytemuck", "solana-define-syscall", - "thiserror 2.0.16", + "thiserror 2.0.17", ] [[package]] @@ -6312,7 +6370,7 @@ dependencies = [ "dashmap", "futures", "futures-util", - "indexmap 2.11.0", + "indexmap 2.11.4", "indicatif", "log", "quinn", @@ -6371,7 +6429,7 @@ dependencies = [ "bincode", "crossbeam-channel", "futures-util", - "indexmap 2.11.0", + "indexmap 2.11.4", "log", "rand 0.8.5", "rayon", @@ -6457,7 +6515,7 @@ dependencies = [ "solana-pubkey", "solana-sdk-ids", "solana-system-interface", - "thiserror 2.0.16", + "thiserror 2.0.17", ] [[package]] @@ -6569,7 +6627,7 @@ version = "2.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e0e85a6fad5c2d0c4f5b91d34b8ca47118fc593af706e523cdbedf846a954f57" dependencies = [ - "bitflags 2.9.3", + "bitflags 2.9.4", "solana-account-info", "solana-instruction", "solana-program-error", @@ -6809,7 +6867,7 @@ dependencies = [ "ark-serialize 0.4.2", "base64 0.21.7", "bincode", - "bitflags 2.9.3", + "bitflags 2.9.4", "blake3", "borsh 0.10.4", "borsh 0.9.3", @@ -6833,7 +6891,7 @@ dependencies = [ "num-bigint 0.4.6", "num-derive 0.4.2", "num-traits", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "rand 0.8.5", "rustc_version", "rustversion", @@ -6928,7 +6986,7 @@ dependencies = [ "solana-sysvar", "solana-sysvar-id", "solana-vote-interface", - "thiserror 2.0.16", + "thiserror 2.0.17", "wasm-bindgen", ] @@ -7111,7 +7169,7 @@ dependencies = [ "log", "num-derive 0.4.2", "num-traits", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "qstring", "semver", "solana-sdk", @@ -7208,7 +7266,7 @@ dependencies = [ "assert_matches", "base64 0.21.7", "bincode", - "bitflags 2.9.3", + "bitflags 2.9.4", "borsh 1.5.7", "bs58 0.4.0", "bytemuck", @@ -7296,7 +7354,7 @@ checksum = "baa3120b6cdaa270f39444f5093a90a7b03d296d362878f7a6991d6de3bbe496" dependencies = [ "libsecp256k1", "solana-define-syscall", - "thiserror 2.0.16", + "thiserror 2.0.17", ] [[package]] @@ -7413,7 +7471,7 @@ dependencies = [ "crossbeam-channel", "futures-util", "histogram", - "indexmap 2.11.0", + "indexmap 2.11.4", "itertools 0.10.5", "libc", "log", @@ -7522,7 +7580,7 @@ dependencies = [ "async-trait", "bincode", "futures-util", - "indexmap 2.11.0", + "indexmap 2.11.4", "indicatif", "log", "rayon", @@ -8170,15 +8228,15 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "tempfile" -version = "3.21.0" +version = "3.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15b61f8f20e3a6f7e0649d825294eaf317edce30f82cf6026e7e4cb9222a7d1e" +checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" dependencies = [ "fastrand", "getrandom 0.3.3", "once_cell", "rustix", - "windows-sys 0.60.2", + "windows-sys 0.61.1", ] [[package]] @@ -8216,11 +8274,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.16" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3467d614147380f2e4e374161426ff399c91084acd2363eaf549172b3d5e60c0" +checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" dependencies = [ - "thiserror-impl 2.0.16", + "thiserror-impl 2.0.17", ] [[package]] @@ -8236,9 +8294,9 @@ dependencies = [ [[package]] name = "thiserror-impl" -version = "2.0.16" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c5e1be1c48b9172ee610da68fd9cd2770e7a4056cb3fc98710ee6906f0c7960" +checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" dependencies = [ "proc-macro2", "quote", @@ -8256,11 +8314,12 @@ dependencies = [ [[package]] name = "time" -version = "0.3.42" +version = "0.3.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ca967379f9d8eb8058d86ed467d81d03e81acd45757e4ca341c24affbe8e8e3" +checksum = "91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d" dependencies = [ "deranged", + "itoa", "num-conv", "powerfmt", "serde", @@ -8270,15 +8329,15 @@ dependencies = [ [[package]] name = "time-core" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9108bb380861b07264b950ded55a44a14a4adc68b9f5efd85aafc3aa4d40a68" +checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b" [[package]] name = "time-macros" -version = "0.2.23" +version = "0.2.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7182799245a7264ce590b349d90338f1c1affad93d2639aed5f8f69c090b334c" +checksum = "30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3" dependencies = [ "num-conv", "time-core", @@ -8348,7 +8407,7 @@ dependencies = [ "io-uring", "libc", "mio", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "pin-project-lite", "signal-hook-registry", "slab", @@ -8466,7 +8525,7 @@ checksum = "dc1beb996b9d83529a9e75c17a1686767d148d70663143c7854d8b4a09ced362" dependencies = [ "serde", "serde_spanned", - "toml_datetime", + "toml_datetime 0.6.11", "toml_edit 0.22.27", ] @@ -8479,14 +8538,23 @@ dependencies = [ "serde", ] +[[package]] +name = "toml_datetime" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32f1085dec27c2b6632b04c80b3bb1b4300d6495d1e129693bdda7d91e72eec1" +dependencies = [ + "serde_core", +] + [[package]] name = "toml_edit" version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ - "indexmap 2.11.0", - "toml_datetime", + "indexmap 2.11.4", + "toml_datetime 0.6.11", "winnow 0.5.40", ] @@ -8496,14 +8564,35 @@ version = "0.22.27" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "41fe8c660ae4257887cf66394862d21dbca4a6ddd26f04a3560410406a2f819a" dependencies = [ - "indexmap 2.11.0", + "indexmap 2.11.4", "serde", "serde_spanned", - "toml_datetime", + "toml_datetime 0.6.11", "toml_write", "winnow 0.7.13", ] +[[package]] +name = "toml_edit" +version = "0.23.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3effe7c0e86fdff4f69cdd2ccc1b96f933e24811c5441d44904e8683e27184b" +dependencies = [ + "indexmap 2.11.4", + "toml_datetime 0.7.2", + "toml_parser", + "winnow 0.7.13", +] + +[[package]] +name = "toml_parser" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cf893c33be71572e0e9aa6dd15e6677937abd686b066eac3f8cd3531688a627" +dependencies = [ + "winnow 0.7.13", +] + [[package]] name = "toml_write" version = "0.1.2" @@ -8734,9 +8823,9 @@ dependencies = [ [[package]] name = "typenum" -version = "1.18.0" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f" +checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" [[package]] name = "unicase" @@ -8752,9 +8841,9 @@ checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5" [[package]] name = "unicode-ident" -version = "1.0.18" +version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" +checksum = "f63a545481291138910575129486daeaf8ac54aee4387fe7906919f7830c7d9d" [[package]] name = "unicode-normalization" @@ -8884,7 +8973,7 @@ version = "4.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c5afb1a60e207dca502682537fefcfd9921e71d0b83e9576060f09abc6efab23" dependencies = [ - "indexmap 2.11.0", + "indexmap 2.11.4", "serde", "serde_json", "serde_yaml", @@ -8905,9 +8994,9 @@ dependencies = [ [[package]] name = "uuid" -version = "1.18.0" +version = "1.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f33196643e165781c20a5ead5582283a7dacbb87855d867fbc2df3f81eddc1be" +checksum = "2f87b8aa10b915a06587d0dec516c282ff295b475d94abf425d62b57710070a2" dependencies = [ "getrandom 0.3.3", "js-sys", @@ -8974,9 +9063,18 @@ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" [[package]] name = "wasi" -version = "0.14.3+wasi-0.2.4" +version = "0.14.7+wasi-0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "883478de20367e224c0090af9cf5f9fa85bed63a95c1abf3afc5c083ebc06e8c" +dependencies = [ + "wasip2", +] + +[[package]] +name = "wasip2" +version = "1.0.1+wasi-0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a51ae83037bdd272a9e28ce236db8c07016dd0d50c27038b3f407533c030c95" +checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7" dependencies = [ "wit-bindgen", ] @@ -8989,21 +9087,22 @@ checksum = "b8dad83b4f25e74f184f64c43b150b91efe7647395b42289f38e50566d82855b" [[package]] name = "wasm-bindgen" -version = "0.2.100" +version = "0.2.104" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5" +checksum = "c1da10c01ae9f1ae40cbfac0bac3b1e724b320abfcf52229f80b547c0d250e2d" dependencies = [ "cfg-if", "once_cell", "rustversion", "wasm-bindgen-macro", + "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-backend" -version = "0.2.100" +version = "0.2.104" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6" +checksum = "671c9a5a66f49d8a47345ab942e2cb93c7d1d0339065d4f8139c486121b43b19" dependencies = [ "bumpalo", "log", @@ -9015,9 +9114,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.50" +version = "0.4.54" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "555d470ec0bc3bb57890405e5d4322cc9ea83cebb085523ced7be4144dac1e61" +checksum = "7e038d41e478cc73bae0ff9b36c60cff1c98b8f38f8d7e8061e79ee63608ac5c" dependencies = [ "cfg-if", "js-sys", @@ -9028,9 +9127,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.100" +version = "0.2.104" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407" +checksum = "7ca60477e4c59f5f2986c50191cd972e3a50d8a95603bc9434501cf156a9a119" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -9038,9 +9137,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.100" +version = "0.2.104" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" +checksum = "9f07d2f20d4da7b26400c9f4a0511e6e0345b040694e8a75bd41d578fa4421d7" dependencies = [ "proc-macro2", "quote", @@ -9051,9 +9150,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.100" +version = "0.2.104" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d" +checksum = "bad67dc8b2a1a6e5448428adec4c3e84c43e561d8c9ee8a9e5aabeb193ec41d1" dependencies = [ "unicode-ident", ] @@ -9073,9 +9172,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.77" +version = "0.3.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2" +checksum = "9367c417a924a74cae129e6a2ae3b47fabb1f8995595ab474029da749a8be120" dependencies = [ "js-sys", "wasm-bindgen", @@ -9154,11 +9253,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.10" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0978bf7171b3d90bac376700cb56d606feb40f251a475a5d6634613564460b22" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.60.2", + "windows-sys 0.61.1", ] [[package]] @@ -9169,9 +9268,9 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windows-core" -version = "0.61.2" +version = "0.62.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3" +checksum = "6844ee5416b285084d3d3fffd743b925a6c9385455f64f6d4fa3031c4c2749a9" dependencies = [ "windows-implement", "windows-interface", @@ -9182,9 +9281,9 @@ dependencies = [ [[package]] name = "windows-implement" -version = "0.60.0" +version = "0.60.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836" +checksum = "edb307e42a74fb6de9bf3a02d9712678b22399c87e6fa869d6dfcd8c1b7754e0" dependencies = [ "proc-macro2", "quote", @@ -9193,9 +9292,9 @@ dependencies = [ [[package]] name = "windows-interface" -version = "0.59.1" +version = "0.59.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8" +checksum = "c0abd1ddbc6964ac14db11c7213d6532ef34bd9aa042c2e5935f59d7908b46a5" dependencies = [ "proc-macro2", "quote", @@ -9204,24 +9303,24 @@ dependencies = [ [[package]] name = "windows-link" -version = "0.1.3" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" +checksum = "45e46c0661abb7180e7b9c281db115305d49ca1709ab8242adf09666d2173c65" [[package]] name = "windows-result" -version = "0.3.4" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6" +checksum = "7084dcc306f89883455a206237404d3eaf961e5bd7e0f312f7c91f57eb44167f" dependencies = [ "windows-link", ] [[package]] name = "windows-strings" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57" +checksum = "7218c655a553b0bed4426cf54b20d7ba363ef543b52d515b3e48d7fd55318dda" dependencies = [ "windows-link", ] @@ -9259,7 +9358,16 @@ version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" dependencies = [ - "windows-targets 0.53.3", + "windows-targets 0.53.4", +] + +[[package]] +name = "windows-sys" +version = "0.61.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f109e41dd4a3c848907eb83d5a42ea98b3769495597450cf6d153507b166f0f" +dependencies = [ + "windows-link", ] [[package]] @@ -9295,9 +9403,9 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.53.3" +version = "0.53.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5fe6031c4041849d7c496a8ded650796e7b6ecc19df1a431c1a363342e5dc91" +checksum = "2d42b7b7f66d2a06854650af09cfdf8713e427a439c97ad65a6375318033ac4b" dependencies = [ "windows-link", "windows_aarch64_gnullvm 0.53.0", @@ -9488,9 +9596,9 @@ dependencies = [ [[package]] name = "wit-bindgen" -version = "0.45.0" +version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "052283831dbae3d879dc7f51f3d92703a316ca49f91540417d38591826127814" +checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59" [[package]] name = "writeable" @@ -9591,18 +9699,18 @@ dependencies = [ [[package]] name = "zerocopy" -version = "0.8.26" +version = "0.8.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1039dd0d3c310cf05de012d8a39ff557cb0d23087fd44cad61df08fc31907a2f" +checksum = "0894878a5fa3edfd6da3f88c4805f4c8558e2b996227a3d864f47fe11e38282c" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.8.26" +version = "0.8.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ecf5b4cc5364572d7f4c329661bcc82724222973f2cab6f050a4e5c22f75181" +checksum = "88d2b8d9c68ad2b9e4340d7832716a4d21a22a1154777ad56ea55c51a9cf3831" dependencies = [ "proc-macro2", "quote", @@ -9704,9 +9812,9 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "2.0.15+zstd.1.5.7" +version = "2.0.16+zstd.1.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb81183ddd97d0c74cedf1d50d85c8d08c1b8b68ee863bdee9e706eedba1a237" +checksum = "91e19ebc2adc8f83e43039e79776e3fda8ca919132d68a1fed6a5faca2683748" dependencies = [ "cc", "pkg-config", diff --git a/Cargo.toml b/Cargo.toml index d393ef64..f616907f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -81,12 +81,12 @@ solana-pubkey = "2.3.0" solana-transaction-status = "1.18.0" -light-zero-copy = "0.2.0" -light-concurrent-merkle-tree = "2.1.0" -light-batched-merkle-tree = "0.3.0" -light-merkle-tree-metadata = "0.3.0" -light-compressed-account = { version = "0.3.0", features = ["anchor"] } -light-hasher = { version = "3.1.0" } +light-zero-copy = { git = "https://github.com/Lightprotocol/light-protocol", rev = "849cc7c5f66faf05a7f1176768178241bd59d256", features = ["solana"] } +light-concurrent-merkle-tree = { git = "https://github.com/Lightprotocol/light-protocol", rev = "849cc7c5f66faf05a7f1176768178241bd59d256", features = ["solana"] } +light-batched-merkle-tree = { git = "https://github.com/Lightprotocol/light-protocol", rev = "849cc7c5f66faf05a7f1176768178241bd59d256", features = ["solana"] } +light-merkle-tree-metadata = { git = "https://github.com/Lightprotocol/light-protocol", rev = "849cc7c5f66faf05a7f1176768178241bd59d256", features = ["solana"] } +light-compressed-account = { git = "https://github.com/Lightprotocol/light-protocol", rev = "849cc7c5f66faf05a7f1176768178241bd59d256", features = ["anchor"] } +light-hasher = { git = "https://github.com/Lightprotocol/light-protocol", rev = "849cc7c5f66faf05a7f1176768178241bd59d256", features = ["solana"] } light-poseidon = "0.3.0" sqlx = { version = "0.6.2", features = [ diff --git a/src/api/method/get_compressed_accounts_by_owner/common.rs b/src/api/method/get_compressed_accounts_by_owner/common.rs index 8264787f..be1142fb 100644 --- a/src/api/method/get_compressed_accounts_by_owner/common.rs +++ b/src/api/method/get_compressed_accounts_by_owner/common.rs @@ -27,13 +27,6 @@ pub struct GetCompressedAccountsByOwnerRequest { pub limit: Option, } -#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, ToSchema, Default)] -#[serde(deny_unknown_fields, rename_all = "camelCase")] -pub struct Options { - pub cursor: Option, - pub limit: Option, -} - #[derive(Serialize, Deserialize, Debug, Clone, ToSchema)] pub struct Memcmp { pub offset: usize, From 443e0929bc4fc1fb8cb926aa438db7b72a945150 Mon Sep 17 00:00:00 2001 From: ananas Date: Mon, 6 Oct 2025 20:12:46 +0100 Subject: [PATCH 2/4] updated commit --- Cargo.lock | 32 ++++++++++++++++---------------- Cargo.toml | 12 ++++++------ 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 991a8974..50747fc9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -105,7 +105,7 @@ checksum = "250f629c0161ad8107cf89319e990051fae62832fd343083bea452d93e2205fd" [[package]] name = "aligned-sized" version = "1.1.0" -source = "git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256#849cc7c5f66faf05a7f1176768178241bd59d256" +source = "git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb#5211994a4ee542b159acf84c016c8f3fd12effbb" dependencies = [ "proc-macro2", "quote", @@ -3717,7 +3717,7 @@ dependencies = [ [[package]] name = "light-account-checks" version = "0.3.0" -source = "git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256#849cc7c5f66faf05a7f1176768178241bd59d256" +source = "git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb#5211994a4ee542b159acf84c016c8f3fd12effbb" dependencies = [ "solana-account-info", "solana-msg", @@ -3730,14 +3730,14 @@ dependencies = [ [[package]] name = "light-batched-merkle-tree" version = "0.3.0" -source = "git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256#849cc7c5f66faf05a7f1176768178241bd59d256" +source = "git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb#5211994a4ee542b159acf84c016c8f3fd12effbb" dependencies = [ "aligned-sized", "borsh 0.10.4", "light-account-checks", "light-bloom-filter", "light-compressed-account", - "light-hasher 3.1.0 (git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256)", + "light-hasher 3.1.0 (git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb)", "light-macros", "light-merkle-tree-metadata", "light-verifier", @@ -3754,7 +3754,7 @@ dependencies = [ [[package]] name = "light-bloom-filter" version = "0.3.0" -source = "git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256#849cc7c5f66faf05a7f1176768178241bd59d256" +source = "git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb#5211994a4ee542b159acf84c016c8f3fd12effbb" dependencies = [ "bitvec", "num-bigint 0.4.6", @@ -3778,12 +3778,12 @@ dependencies = [ [[package]] name = "light-compressed-account" version = "0.3.0" -source = "git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256#849cc7c5f66faf05a7f1176768178241bd59d256" +source = "git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb#5211994a4ee542b159acf84c016c8f3fd12effbb" dependencies = [ "anchor-lang 0.31.1", "borsh 0.10.4", "bytemuck", - "light-hasher 3.1.0 (git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256)", + "light-hasher 3.1.0 (git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb)", "light-macros", "light-program-profiler", "light-zero-copy", @@ -3797,11 +3797,11 @@ dependencies = [ [[package]] name = "light-concurrent-merkle-tree" version = "2.1.0" -source = "git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256#849cc7c5f66faf05a7f1176768178241bd59d256" +source = "git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb#5211994a4ee542b159acf84c016c8f3fd12effbb" dependencies = [ "borsh 0.10.4", "light-bounded-vec", - "light-hasher 3.1.0 (git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256)", + "light-hasher 3.1.0 (git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb)", "memoffset 0.9.1", "solana-program-error", "thiserror 2.0.17", @@ -3828,7 +3828,7 @@ dependencies = [ [[package]] name = "light-hasher" version = "3.1.0" -source = "git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256#849cc7c5f66faf05a7f1176768178241bd59d256" +source = "git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb#5211994a4ee542b159acf84c016c8f3fd12effbb" dependencies = [ "ark-bn254 0.5.0", "ark-ff 0.5.0", @@ -3859,7 +3859,7 @@ dependencies = [ [[package]] name = "light-macros" version = "2.1.0" -source = "git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256#849cc7c5f66faf05a7f1176768178241bd59d256" +source = "git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb#5211994a4ee542b159acf84c016c8f3fd12effbb" dependencies = [ "bs58 0.5.1", "proc-macro2", @@ -3870,7 +3870,7 @@ dependencies = [ [[package]] name = "light-merkle-tree-metadata" version = "0.3.0" -source = "git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256#849cc7c5f66faf05a7f1176768178241bd59d256" +source = "git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb#5211994a4ee542b159acf84c016c8f3fd12effbb" dependencies = [ "borsh 0.10.4", "bytemuck", @@ -3940,7 +3940,7 @@ dependencies = [ [[package]] name = "light-verifier" version = "2.1.0" -source = "git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256#849cc7c5f66faf05a7f1176768178241bd59d256" +source = "git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb#5211994a4ee542b159acf84c016c8f3fd12effbb" dependencies = [ "groth16-solana", "light-compressed-account", @@ -3950,7 +3950,7 @@ dependencies = [ [[package]] name = "light-zero-copy" version = "0.2.0" -source = "git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256#849cc7c5f66faf05a7f1176768178241bd59d256" +source = "git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb#5211994a4ee542b159acf84c016c8f3fd12effbb" dependencies = [ "light-zero-copy-derive", "solana-program-error", @@ -3960,7 +3960,7 @@ dependencies = [ [[package]] name = "light-zero-copy-derive" version = "0.1.0" -source = "git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256#849cc7c5f66faf05a7f1176768178241bd59d256" +source = "git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb#5211994a4ee542b159acf84c016c8f3fd12effbb" dependencies = [ "lazy_static", "proc-macro2", @@ -4635,7 +4635,7 @@ dependencies = [ "light-batched-merkle-tree", "light-compressed-account", "light-concurrent-merkle-tree", - "light-hasher 3.1.0 (git+https://github.com/Lightprotocol/light-protocol?rev=849cc7c5f66faf05a7f1176768178241bd59d256)", + "light-hasher 3.1.0 (git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb)", "light-merkle-tree-metadata", "light-merkle-tree-reference", "light-poseidon 0.3.0", diff --git a/Cargo.toml b/Cargo.toml index f616907f..a176704e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -81,12 +81,12 @@ solana-pubkey = "2.3.0" solana-transaction-status = "1.18.0" -light-zero-copy = { git = "https://github.com/Lightprotocol/light-protocol", rev = "849cc7c5f66faf05a7f1176768178241bd59d256", features = ["solana"] } -light-concurrent-merkle-tree = { git = "https://github.com/Lightprotocol/light-protocol", rev = "849cc7c5f66faf05a7f1176768178241bd59d256", features = ["solana"] } -light-batched-merkle-tree = { git = "https://github.com/Lightprotocol/light-protocol", rev = "849cc7c5f66faf05a7f1176768178241bd59d256", features = ["solana"] } -light-merkle-tree-metadata = { git = "https://github.com/Lightprotocol/light-protocol", rev = "849cc7c5f66faf05a7f1176768178241bd59d256", features = ["solana"] } -light-compressed-account = { git = "https://github.com/Lightprotocol/light-protocol", rev = "849cc7c5f66faf05a7f1176768178241bd59d256", features = ["anchor"] } -light-hasher = { git = "https://github.com/Lightprotocol/light-protocol", rev = "849cc7c5f66faf05a7f1176768178241bd59d256", features = ["solana"] } +light-zero-copy = { git = "https://github.com/Lightprotocol/light-protocol", rev = "5211994a4ee542b159acf84c016c8f3fd12effbb", features = ["solana"] } +light-concurrent-merkle-tree = { git = "https://github.com/Lightprotocol/light-protocol", rev = "5211994a4ee542b159acf84c016c8f3fd12effbb", features = ["solana"] } +light-batched-merkle-tree = { git = "https://github.com/Lightprotocol/light-protocol", rev = "5211994a4ee542b159acf84c016c8f3fd12effbb", features = ["solana"] } +light-merkle-tree-metadata = { git = "https://github.com/Lightprotocol/light-protocol", rev = "5211994a4ee542b159acf84c016c8f3fd12effbb", features = ["solana"] } +light-compressed-account = { git = "https://github.com/Lightprotocol/light-protocol", rev = "5211994a4ee542b159acf84c016c8f3fd12effbb", features = ["anchor"] } +light-hasher = { git = "https://github.com/Lightprotocol/light-protocol", rev = "5211994a4ee542b159acf84c016c8f3fd12effbb", features = ["solana"] } light-poseidon = "0.3.0" sqlx = { version = "0.6.2", features = [ From ad49094e59195c664a683b7c7814e26563640d57 Mon Sep 17 00:00:00 2001 From: ananas Date: Tue, 7 Oct 2025 03:47:36 +0100 Subject: [PATCH 3/4] fix: get multiple compressed account proofs v2 --- .../method/get_compressed_account_proof/v2.rs | 2 +- .../v2.rs | 31 +++++++------------ 2 files changed, 12 insertions(+), 21 deletions(-) diff --git a/src/api/method/get_compressed_account_proof/v2.rs b/src/api/method/get_compressed_account_proof/v2.rs index 3281c416..8d7123be 100644 --- a/src/api/method/get_compressed_account_proof/v2.rs +++ b/src/api/method/get_compressed_account_proof/v2.rs @@ -24,7 +24,7 @@ pub struct GetCompressedAccountProofResponseV2 { pub value: GetCompressedAccountProofResponseValueV2, } -#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, ToSchema)] +#[derive(Debug, Clone, PartialEq, Default, Eq, Serialize, Deserialize, ToSchema)] #[serde(deny_unknown_fields, rename_all = "camelCase")] pub struct GetCompressedAccountProofResponseValueV2 { pub proof: Vec, diff --git a/src/api/method/get_multiple_compressed_account_proofs/v2.rs b/src/api/method/get_multiple_compressed_account_proofs/v2.rs index c206a5ed..19db6ce9 100644 --- a/src/api/method/get_multiple_compressed_account_proofs/v2.rs +++ b/src/api/method/get_multiple_compressed_account_proofs/v2.rs @@ -7,9 +7,7 @@ use crate::common::typedefs::context::Context; use crate::common::typedefs::hash::Hash; use crate::common::typedefs::serializable_pubkey::SerializablePubkey; use crate::dao::generated::{accounts, state_trees}; -use crate::ingester::persist::{ - get_multiple_compressed_leaf_proofs, get_multiple_compressed_leaf_proofs_by_indices, -}; +use crate::ingester::persist::get_multiple_compressed_leaf_proofs; use jsonrpsee_core::Serialize; use sea_orm::{ ColumnTrait, ConnectionTrait, DatabaseBackend, DatabaseConnection, EntityTrait, QueryFilter, @@ -116,25 +114,18 @@ pub async fn get_multiple_compressed_account_proofs_v2( } else { Vec::new() }; - // Process index-based proofs let mut index_based_result = Vec::new(); - for (merkle_tree, indices) in index_based_proofs - .iter() - .map(|(_, tree, idx)| (tree, idx)) - .fold(HashMap::new(), |mut acc, (tree, idx)| { - acc.entry(*tree).or_insert_with(Vec::new).push(*idx); - acc - }) - { - let proofs = - get_multiple_compressed_leaf_proofs_by_indices(&tx, merkle_tree, indices).await?; - - for proof in proofs { - let mut response_value: GetCompressedAccountProofResponseValueV2 = proof.into(); - response_value.prove_by_index = true; - index_based_result.push(response_value); - } + for (hash, _, leaf_index) in index_based_proofs.iter() { + index_based_result.push(GetCompressedAccountProofResponseValueV2 { + proof: Vec::new(), + leaf_index: (*leaf_index).try_into().map_err(|_| { + PhotonApiError::RecordNotFound("Leaf Index greater than u32 max".to_string()) + })?, + hash: hash.clone(), + prove_by_index: true, + ..Default::default() + }); } // Combine results From 9381f4c853e8f4f7ad04f059005ce637285e7865 Mon Sep 17 00:00:00 2001 From: ananas Date: Tue, 7 Oct 2025 17:10:07 +0100 Subject: [PATCH 4/4] fix: test compilation --- Cargo.lock | 206 ++++++++++++++++++++++++++--------------------------- Cargo.toml | 14 ++-- 2 files changed, 108 insertions(+), 112 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 50747fc9..eb84ca6f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -105,7 +105,8 @@ checksum = "250f629c0161ad8107cf89319e990051fae62832fd343083bea452d93e2205fd" [[package]] name = "aligned-sized" version = "1.1.0" -source = "git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb#5211994a4ee542b159acf84c016c8f3fd12effbb" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48a526ec4434d531d488af59fe866f36b310fe8906691c75dffa664450a3800a" dependencies = [ "proc-macro2", "quote", @@ -943,7 +944,7 @@ dependencies = [ "polling", "rustix", "slab", - "windows-sys 0.61.1", + "windows-sys 0.61.2", ] [[package]] @@ -1806,7 +1807,7 @@ dependencies = [ "encode_unicode", "libc", "once_cell", - "unicode-width 0.2.1", + "unicode-width 0.2.2", "windows-sys 0.59.0", ] @@ -2400,7 +2401,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.61.1", + "windows-sys 0.61.2", ] [[package]] @@ -3401,7 +3402,7 @@ dependencies = [ "console", "number_prefix", "portable-atomic", - "unicode-width 0.2.1", + "unicode-width 0.2.2", "web-time", ] @@ -3716,8 +3717,9 @@ dependencies = [ [[package]] name = "light-account-checks" -version = "0.3.0" -source = "git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb#5211994a4ee542b159acf84c016c8f3fd12effbb" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6024d5fe8d30f940dbdaf64b8de62a0c5ed4b6d7920179f84925085f85ca3f8f" dependencies = [ "solana-account-info", "solana-msg", @@ -3729,15 +3731,16 @@ dependencies = [ [[package]] name = "light-batched-merkle-tree" -version = "0.3.0" -source = "git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb#5211994a4ee542b159acf84c016c8f3fd12effbb" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28657736ca8ad2d71d32015dc9dd85a111c4ed75ba6133ba6ba8c632f63d26ff" dependencies = [ "aligned-sized", "borsh 0.10.4", "light-account-checks", "light-bloom-filter", "light-compressed-account", - "light-hasher 3.1.0 (git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb)", + "light-hasher", "light-macros", "light-merkle-tree-metadata", "light-verifier", @@ -3753,8 +3756,9 @@ dependencies = [ [[package]] name = "light-bloom-filter" -version = "0.3.0" -source = "git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb#5211994a4ee542b159acf84c016c8f3fd12effbb" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd2f80682ff403477cfc6ee2f26b423e56e7f4d362543783825fe71bcf0f30cd" dependencies = [ "bitvec", "num-bigint 0.4.6", @@ -3777,13 +3781,14 @@ dependencies = [ [[package]] name = "light-compressed-account" -version = "0.3.0" -source = "git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb#5211994a4ee542b159acf84c016c8f3fd12effbb" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0985921012ffc149596eac90d1170399bb70dbebfa2212bb72b2da30a558ec6" dependencies = [ "anchor-lang 0.31.1", "borsh 0.10.4", "bytemuck", - "light-hasher 3.1.0 (git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb)", + "light-hasher", "light-macros", "light-program-profiler", "light-zero-copy", @@ -3796,12 +3801,13 @@ dependencies = [ [[package]] name = "light-concurrent-merkle-tree" -version = "2.1.0" -source = "git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb#5211994a4ee542b159acf84c016c8f3fd12effbb" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82d647f56701f1c634a70900484be6111cf661c8937785073471d489b05d868c" dependencies = [ "borsh 0.10.4", "light-bounded-vec", - "light-hasher 3.1.0 (git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb)", + "light-hasher", "memoffset 0.9.1", "solana-program-error", "thiserror 2.0.17", @@ -3809,26 +3815,9 @@ dependencies = [ [[package]] name = "light-hasher" -version = "3.1.0" +version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6445937ea244bebae0558e2aaec375791895d08c785b87cc45b62cd80d69139" -dependencies = [ - "ark-bn254 0.5.0", - "ark-ff 0.5.0", - "arrayvec", - "borsh 0.10.4", - "light-poseidon 0.3.0", - "num-bigint 0.4.6", - "sha2 0.10.9", - "sha3 0.10.8", - "solana-nostd-keccak", - "thiserror 2.0.17", -] - -[[package]] -name = "light-hasher" -version = "3.1.0" -source = "git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb#5211994a4ee542b159acf84c016c8f3fd12effbb" +checksum = "a7b8b99f626dbfe0e9731a214e2b2e8990341f5fdb249744661ab7f3029d9859" dependencies = [ "ark-bn254 0.5.0", "ark-ff 0.5.0", @@ -3846,11 +3835,11 @@ dependencies = [ [[package]] name = "light-indexed-array" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc786d8df68ef64493fea04914a7a7745f8122f2efbae043cd4ba4eaffa9e6db" +checksum = "271ba5b246a77e0d4797d6f1752ec3ca627b2359a669189c198f5e104951d928" dependencies = [ - "light-hasher 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "light-hasher", "num-bigint 0.4.6", "num-traits", "thiserror 2.0.17", @@ -3859,7 +3848,8 @@ dependencies = [ [[package]] name = "light-macros" version = "2.1.0" -source = "git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb#5211994a4ee542b159acf84c016c8f3fd12effbb" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "861c0817697c1201c2235cd831fcbaa2564a5f778e5229e9f5cc21035e97c273" dependencies = [ "bs58 0.5.1", "proc-macro2", @@ -3869,8 +3859,9 @@ dependencies = [ [[package]] name = "light-merkle-tree-metadata" -version = "0.3.0" -source = "git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb#5211994a4ee542b159acf84c016c8f3fd12effbb" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cdc5dab70d1b821a3d77a7f6b074e83b8a5d966aa457487f49ab8b23cd84349" dependencies = [ "borsh 0.10.4", "bytemuck", @@ -3884,11 +3875,11 @@ dependencies = [ [[package]] name = "light-merkle-tree-reference" -version = "2.0.0" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1650701feac958261b2c3ab4da361ad8548985ee3ee496a17e76db44d2d3c9e3" +checksum = "93b3c707e7d506c1c0f1d94520c5d8d93eb59eb599ead658a7eb22416c04a590" dependencies = [ - "light-hasher 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "light-hasher", "light-indexed-array", "num-bigint 0.4.6", "num-traits", @@ -3921,8 +3912,9 @@ dependencies = [ [[package]] name = "light-profiler-macro" -version = "0.1.0" -source = "git+https://github.com/Lightprotocol/light-program-profiler?rev=36a75e14f54dd862bf2f338c97435ffc7e3e8de9#36a75e14f54dd862bf2f338c97435ffc7e3e8de9" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0a8be18fe4de58a6f754caa74a3fbc6d8a758a26f1f3c24d5b0f5b55df5f5408" dependencies = [ "proc-macro2", "quote", @@ -3931,16 +3923,18 @@ dependencies = [ [[package]] name = "light-program-profiler" -version = "0.1.0" -source = "git+https://github.com/Lightprotocol/light-program-profiler?rev=36a75e14f54dd862bf2f338c97435ffc7e3e8de9#36a75e14f54dd862bf2f338c97435ffc7e3e8de9" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1d345871581aebd8825868a3f08410290aa1cdddcb189ca7f7e588f61d79fcf" dependencies = [ "light-profiler-macro", ] [[package]] name = "light-verifier" -version = "2.1.0" -source = "git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb#5211994a4ee542b159acf84c016c8f3fd12effbb" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26398153a8c0fa61957a9ad046b3a433c401a37e0e0e9c8d42dee097fa76ce65" dependencies = [ "groth16-solana", "light-compressed-account", @@ -3949,8 +3943,9 @@ dependencies = [ [[package]] name = "light-zero-copy" -version = "0.2.0" -source = "git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb#5211994a4ee542b159acf84c016c8f3fd12effbb" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f4167c97f1291176414af783c01b647292d809ec14f991884c6d91b9ca2213e" dependencies = [ "light-zero-copy-derive", "solana-program-error", @@ -3959,8 +3954,9 @@ dependencies = [ [[package]] name = "light-zero-copy-derive" -version = "0.1.0" -source = "git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb#5211994a4ee542b159acf84c016c8f3fd12effbb" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "552463371ee2a6383882b17f7ed1a6803dbc9cb3c0188e0c74a014c2eb22f29e" dependencies = [ "lazy_static", "proc-macro2", @@ -4635,7 +4631,7 @@ dependencies = [ "light-batched-merkle-tree", "light-compressed-account", "light-concurrent-merkle-tree", - "light-hasher 3.1.0 (git+https://github.com/Lightprotocol/light-protocol?rev=5211994a4ee542b159acf84c016c8f3fd12effbb)", + "light-hasher", "light-merkle-tree-metadata", "light-merkle-tree-reference", "light-poseidon 0.3.0", @@ -4748,7 +4744,7 @@ dependencies = [ "hermit-abi 0.5.2", "pin-project-lite", "rustix", - "windows-sys 0.61.1", + "windows-sys 0.61.2", ] [[package]] @@ -5528,7 +5524,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys", - "windows-sys 0.61.1", + "windows-sys 0.61.2", ] [[package]] @@ -5639,7 +5635,7 @@ version = "0.1.28" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "891d81b926048e76efe18581bf793546b4c0eaf8448d72be8de2bbee5fd166e1" dependencies = [ - "windows-sys 0.61.1", + "windows-sys 0.61.2", ] [[package]] @@ -8236,7 +8232,7 @@ dependencies = [ "getrandom 0.3.3", "once_cell", "rustix", - "windows-sys 0.61.1", + "windows-sys 0.61.2", ] [[package]] @@ -8874,9 +8870,9 @@ checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" [[package]] name = "unicode-width" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a1a07cc7db3810833284e8d372ccdc6da29741639ecc70c9ec107df0fa6154c" +checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" [[package]] name = "unicode-xid" @@ -9257,7 +9253,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.61.1", + "windows-sys 0.61.2", ] [[package]] @@ -9268,9 +9264,9 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windows-core" -version = "0.62.1" +version = "0.62.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6844ee5416b285084d3d3fffd743b925a6c9385455f64f6d4fa3031c4c2749a9" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" dependencies = [ "windows-implement", "windows-interface", @@ -9281,9 +9277,9 @@ dependencies = [ [[package]] name = "windows-implement" -version = "0.60.1" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edb307e42a74fb6de9bf3a02d9712678b22399c87e6fa869d6dfcd8c1b7754e0" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" dependencies = [ "proc-macro2", "quote", @@ -9292,9 +9288,9 @@ dependencies = [ [[package]] name = "windows-interface" -version = "0.59.2" +version = "0.59.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0abd1ddbc6964ac14db11c7213d6532ef34bd9aa042c2e5935f59d7908b46a5" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" dependencies = [ "proc-macro2", "quote", @@ -9303,24 +9299,24 @@ dependencies = [ [[package]] name = "windows-link" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45e46c0661abb7180e7b9c281db115305d49ca1709ab8242adf09666d2173c65" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" [[package]] name = "windows-result" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7084dcc306f89883455a206237404d3eaf961e5bd7e0f312f7c91f57eb44167f" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" dependencies = [ "windows-link", ] [[package]] name = "windows-strings" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7218c655a553b0bed4426cf54b20d7ba363ef543b52d515b3e48d7fd55318dda" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" dependencies = [ "windows-link", ] @@ -9358,14 +9354,14 @@ version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" dependencies = [ - "windows-targets 0.53.4", + "windows-targets 0.53.5", ] [[package]] name = "windows-sys" -version = "0.61.1" +version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f109e41dd4a3c848907eb83d5a42ea98b3769495597450cf6d153507b166f0f" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" dependencies = [ "windows-link", ] @@ -9403,19 +9399,19 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.53.4" +version = "0.53.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d42b7b7f66d2a06854650af09cfdf8713e427a439c97ad65a6375318033ac4b" +checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" dependencies = [ "windows-link", - "windows_aarch64_gnullvm 0.53.0", - "windows_aarch64_msvc 0.53.0", - "windows_i686_gnu 0.53.0", - "windows_i686_gnullvm 0.53.0", - "windows_i686_msvc 0.53.0", - "windows_x86_64_gnu 0.53.0", - "windows_x86_64_gnullvm 0.53.0", - "windows_x86_64_msvc 0.53.0", + "windows_aarch64_gnullvm 0.53.1", + "windows_aarch64_msvc 0.53.1", + "windows_i686_gnu 0.53.1", + "windows_i686_gnullvm 0.53.1", + "windows_i686_msvc 0.53.1", + "windows_x86_64_gnu 0.53.1", + "windows_x86_64_gnullvm 0.53.1", + "windows_x86_64_msvc 0.53.1", ] [[package]] @@ -9432,9 +9428,9 @@ checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" [[package]] name = "windows_aarch64_gnullvm" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764" +checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" [[package]] name = "windows_aarch64_msvc" @@ -9450,9 +9446,9 @@ checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" [[package]] name = "windows_aarch64_msvc" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" +checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" [[package]] name = "windows_i686_gnu" @@ -9468,9 +9464,9 @@ checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" [[package]] name = "windows_i686_gnu" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3" +checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" [[package]] name = "windows_i686_gnullvm" @@ -9480,9 +9476,9 @@ checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" [[package]] name = "windows_i686_gnullvm" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11" +checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" [[package]] name = "windows_i686_msvc" @@ -9498,9 +9494,9 @@ checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" [[package]] name = "windows_i686_msvc" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d" +checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" [[package]] name = "windows_x86_64_gnu" @@ -9516,9 +9512,9 @@ checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" [[package]] name = "windows_x86_64_gnu" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba" +checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" [[package]] name = "windows_x86_64_gnullvm" @@ -9534,9 +9530,9 @@ checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" [[package]] name = "windows_x86_64_gnullvm" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" +checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" [[package]] name = "windows_x86_64_msvc" @@ -9552,9 +9548,9 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "windows_x86_64_msvc" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486" +checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" [[package]] name = "winnow" diff --git a/Cargo.toml b/Cargo.toml index a176704e..b1c5178e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -81,12 +81,12 @@ solana-pubkey = "2.3.0" solana-transaction-status = "1.18.0" -light-zero-copy = { git = "https://github.com/Lightprotocol/light-protocol", rev = "5211994a4ee542b159acf84c016c8f3fd12effbb", features = ["solana"] } -light-concurrent-merkle-tree = { git = "https://github.com/Lightprotocol/light-protocol", rev = "5211994a4ee542b159acf84c016c8f3fd12effbb", features = ["solana"] } -light-batched-merkle-tree = { git = "https://github.com/Lightprotocol/light-protocol", rev = "5211994a4ee542b159acf84c016c8f3fd12effbb", features = ["solana"] } -light-merkle-tree-metadata = { git = "https://github.com/Lightprotocol/light-protocol", rev = "5211994a4ee542b159acf84c016c8f3fd12effbb", features = ["solana"] } -light-compressed-account = { git = "https://github.com/Lightprotocol/light-protocol", rev = "5211994a4ee542b159acf84c016c8f3fd12effbb", features = ["anchor"] } -light-hasher = { git = "https://github.com/Lightprotocol/light-protocol", rev = "5211994a4ee542b159acf84c016c8f3fd12effbb", features = ["solana"] } +light-zero-copy = { version = "0.4.0", features = ["solana"] } +light-concurrent-merkle-tree = { version = "3.0.0", features = ["solana"] } +light-batched-merkle-tree = { version = "0.5.0", features = ["solana"] } +light-merkle-tree-metadata = { version = "0.5.0", features = ["solana"] } +light-compressed-account = { version = "0.5.0", features = ["anchor"] } +light-hasher = { version = "4.0.0", features = ["solana"] } light-poseidon = "0.3.0" sqlx = { version = "0.6.2", features = [ @@ -131,7 +131,7 @@ rust-s3 = "0.34.0" [dev-dependencies] function_name = "0.3.0" serial_test = "2.0.0" -light-merkle-tree-reference = "2.0.0" +light-merkle-tree-reference = "3.0.0" [profile.dev] # Do not produce debug info for ~40% faster incremental compilation.