From 89abb0d59c79e58440772790f68a9d8a28957b82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Duchesneau?= Date: Thu, 17 Oct 2024 08:50:57 -0400 Subject: [PATCH 1/2] bump prost to 0.13 to match substreams 0.6 --- Cargo.lock | 58 +++++++++++----------------------- substreams-starknet/Cargo.toml | 2 +- 2 files changed, 20 insertions(+), 40 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 18a5558..0235bc1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -98,15 +98,6 @@ dependencies = [ "hashbrown", ] -[[package]] -name = "itertools" -version = "0.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" -dependencies = [ - "either", -] - [[package]] name = "itertools" version = "0.12.1" @@ -169,7 +160,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8d3928fb5db768cb86f891ff014f0144589297e3c6a1aba6ed7cecfdace270c7" dependencies = [ "proc-macro2", - "syn 2.0.58", + "syn", ] [[package]] @@ -183,22 +174,22 @@ dependencies = [ [[package]] name = "prost" -version = "0.11.9" +version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd" +checksum = "d0f5d036824e4761737860779c906171497f6d55681139d8312388f8fe398922" dependencies = [ "bytes", - "prost-derive 0.11.9", + "prost-derive 0.12.4", ] [[package]] name = "prost" -version = "0.12.4" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0f5d036824e4761737860779c906171497f6d55681139d8312388f8fe398922" +checksum = "7b0487d90e047de87f984913713b85c601c05609aad5b0df4b4573fbf69aa13f" dependencies = [ "bytes", - "prost-derive 0.12.4", + "prost-derive 0.13.3", ] [[package]] @@ -209,7 +200,7 @@ checksum = "80b776a1b2dc779f5ee0641f8ade0125bc1298dd41a9a0c16d8bd57b42d222b1" dependencies = [ "bytes", "heck", - "itertools 0.12.1", + "itertools", "log", "multimap", "once_cell", @@ -218,34 +209,34 @@ dependencies = [ "prost 0.12.4", "prost-types", "regex", - "syn 2.0.58", + "syn", "tempfile", ] [[package]] name = "prost-derive" -version = "0.11.9" +version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4" +checksum = "19de2de2a00075bf566bee3bd4db014b11587e84184d3f7a791bc17f1a8e9e48" dependencies = [ "anyhow", - "itertools 0.10.5", + "itertools", "proc-macro2", "quote", - "syn 1.0.109", + "syn", ] [[package]] name = "prost-derive" -version = "0.12.4" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19de2de2a00075bf566bee3bd4db014b11587e84184d3f7a791bc17f1a8e9e48" +checksum = "e9552f850d5f0964a4e4d0bf306459ac29323ddfbae05e35a7c0d35cb0803cc5" dependencies = [ "anyhow", - "itertools 0.12.1", + "itertools", "proc-macro2", "quote", - "syn 2.0.58", + "syn", ] [[package]] @@ -312,18 +303,7 @@ dependencies = [ name = "substreams-starknet" version = "0.1.0" dependencies = [ - "prost 0.11.9", -] - -[[package]] -name = "syn" -version = "1.0.109" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", + "prost 0.13.3", ] [[package]] @@ -359,7 +339,7 @@ dependencies = [ "proc-macro2", "prost-build", "quote", - "syn 2.0.58", + "syn", ] [[package]] diff --git a/substreams-starknet/Cargo.toml b/substreams-starknet/Cargo.toml index 3121448..00f7c00 100644 --- a/substreams-starknet/Cargo.toml +++ b/substreams-starknet/Cargo.toml @@ -11,4 +11,4 @@ description = "Rust library for Starknet substreams development" exclude = [".github/**"] [dependencies] -prost = "0.11.9" +prost = "0.13" From 987a9cd81b51150bcaadc7d49bd1fba224f5a2f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Duchesneau?= Date: Thu, 17 Oct 2024 08:58:25 -0400 Subject: [PATCH 2/2] bump package version to 0.2.0 to allow alignment with prost dependencies --- Cargo.lock | 2 +- substreams-starknet/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0235bc1..386ff91 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -301,7 +301,7 @@ dependencies = [ [[package]] name = "substreams-starknet" -version = "0.1.0" +version = "0.2.0" dependencies = [ "prost 0.13.3", ] diff --git a/substreams-starknet/Cargo.toml b/substreams-starknet/Cargo.toml index 00f7c00..a72d671 100644 --- a/substreams-starknet/Cargo.toml +++ b/substreams-starknet/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "substreams-starknet" -version = "0.1.0" +version = "0.2.0" authors = ["Jonathan LEI "] license = "MIT OR Apache-2.0" edition = "2021"