diff --git a/Cargo.lock b/Cargo.lock index a473442cd9..6edf078b0b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3162,6 +3162,7 @@ dependencies = [ "equivalent", "hashbrown 0.14.5", "rayon", + "serde", ] [[package]] @@ -3637,7 +3638,7 @@ dependencies = [ "ark-relations", "ark-serialize", "ark-std", - "borsh 0.9.3", + "borsh 0.10.3", "bytemuck", "color-eyre", "duct", @@ -4707,7 +4708,7 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "serde_with", + "serde_with 3.9.0", "url 2.5.2", "uuid", ] @@ -5809,13 +5810,25 @@ version = "2.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "07ff71d2c147a7b57362cead5e22f772cd52f6ab31cfcd9edcd7f6aeb2a0afbe" dependencies = [ - "base64 0.13.1", + "serde", + "serde_with_macros 2.3.3", +] + +[[package]] +name = "serde_with" +version = "3.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cecfa94848272156ea67b2b1a53f20fc7bc638c4a46d2f8abde08f05f4b857" +dependencies = [ + "base64 0.22.1", "chrono", "hex", "indexmap 1.9.3", + "indexmap 2.5.0", "serde", + "serde_derive", "serde_json", - "serde_with_macros", + "serde_with_macros 3.9.0", "time", ] @@ -5831,6 +5844,18 @@ dependencies = [ "syn 2.0.77", ] +[[package]] +name = "serde_with_macros" +version = "3.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8fee4991ef4f274617a51ad4af30519438dacb2f56ac773b08a1922ff743350" +dependencies = [ + "darling", + "proc-macro2", + "quote", + "syn 2.0.77", +] + [[package]] name = "serde_yaml" version = "0.9.34+deprecated" @@ -7157,7 +7182,7 @@ dependencies = [ "serde_bytes", "serde_derive", "serde_json", - "serde_with", + "serde_with 2.3.3", "sha2 0.10.8", "sha3 0.10.8", "siphasher", diff --git a/photon-api/Cargo.toml b/photon-api/Cargo.toml index b964da794d..3a6f1505bf 100644 --- a/photon-api/Cargo.toml +++ b/photon-api/Cargo.toml @@ -9,7 +9,7 @@ documentation = "https://www.zkcompression.com" [dependencies] serde = "^1.0" serde_derive = "^1.0" -serde_with = "^2.0" +serde_with = "^3.9" serde_json = "^1.0" url = "^2.5" uuid = { version = "^1.10", features = ["serde", "v4"] }