From f7058a525f2274a0f84ea45cd633385d6535b2a4 Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Tue, 26 Nov 2024 12:47:22 +0100 Subject: [PATCH 01/21] check rust version using cargo hack --- .github/workflows/rust.yaml | 36 +++++++----------------------------- 1 file changed, 7 insertions(+), 29 deletions(-) diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index ab589a9e6..689df764d 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -106,12 +106,9 @@ jobs: - name: Run cargo test run: make test - test-msrv: - name: Test MSRV for `ibc` libraries + rust-version: + name: Check Rust version for `ibc` libraries timeout-minutes: 30 - env: - CARGO_MSRV_VERSION: 0.16.3 - MSRV: 1.75.0 strategy: matrix: param: @@ -123,29 +120,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Download cargo-msrv - uses: dsaltares/fetch-gh-release-asset@master - with: - repo: foresterre/cargo-msrv - version: "tags/v${{ env.CARGO_MSRV_VERSION }}" - file: "cargo-msrv-x86_64-${{ matrix.param.system }}-v${{ env.CARGO_MSRV_VERSION }}.tgz" - - - uses: actions-rust-lang/setup-rust-toolchain@v1 - with: - toolchain: ${{ env.MSRV }} - - - name: Install cargo-msrv - run: | - tar -xzf "cargo-msrv-x86_64-${{ matrix.param.system }}-v${{ env.CARGO_MSRV_VERSION }}.tgz" - mv "cargo-msrv-x86_64-${{ matrix.param.system }}-v${{ env.CARGO_MSRV_VERSION }}/cargo-msrv" ~/.cargo/bin - cargo msrv --version - - - name: Calculate MSRV - run: cargo msrv find --output-format minimal --min 1.68.0 + - uses: taiki-e/install-action@cargo-hack - name: Build with MSRV - uses: actions-rs/cargo@v1 - with: - toolchain: ${{ env.MSRV }} - command: build - args: --all-features + run: cargo hack --rust-version build + + - name: Test with MSRV + run: cargo hack --rust-version test From 01e8e4802cf086b6385fe7affc0d05f540a1488d Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Tue, 26 Nov 2024 12:49:52 +0100 Subject: [PATCH 02/21] add rust-version --- ibc-derive/Cargo.toml | 1 + tests-integration/Cargo.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/ibc-derive/Cargo.toml b/ibc-derive/Cargo.toml index f9675cf08..ad13d653c 100644 --- a/ibc-derive/Cargo.toml +++ b/ibc-derive/Cargo.toml @@ -4,6 +4,7 @@ version = "0.10.0" license = { workspace = true } repository = { workspace = true } edition = { workspace = true } +rust-version = { workspace = true } readme = "README.md" description = "Maintained by `ibc-rs`, macros implementations of #[derive(ClientState)] and #[derive(ConsensusState)]" diff --git a/tests-integration/Cargo.toml b/tests-integration/Cargo.toml index 0a29930be..36d4810c9 100644 --- a/tests-integration/Cargo.toml +++ b/tests-integration/Cargo.toml @@ -4,6 +4,7 @@ version = "0.1.0" authors = { workspace = true } license = { workspace = true } edition = { workspace = true } +rust-version = { workspace = true } repository = { workspace = true } readme = "README.md" keywords = [ "blockchain", "consensus", "cosmos", "ibc", "tendermint" ] From 9596d1e6e71b1ad81172483805b440161ae1e3a7 Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Tue, 26 Nov 2024 12:50:19 +0100 Subject: [PATCH 03/21] taplo fmt --- ibc-derive/Cargo.toml | 14 +++++++------- tests-integration/Cargo.toml | 20 ++++++++++---------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/ibc-derive/Cargo.toml b/ibc-derive/Cargo.toml index ad13d653c..a1452b570 100644 --- a/ibc-derive/Cargo.toml +++ b/ibc-derive/Cargo.toml @@ -1,12 +1,12 @@ [package] -name = "ibc-derive" -version = "0.10.0" -license = { workspace = true } -repository = { workspace = true } -edition = { workspace = true } +name = "ibc-derive" +version = "0.10.0" +license = { workspace = true } +repository = { workspace = true } +edition = { workspace = true } rust-version = { workspace = true } -readme = "README.md" -description = "Maintained by `ibc-rs`, macros implementations of #[derive(ClientState)] and #[derive(ConsensusState)]" +readme = "README.md" +description = "Maintained by `ibc-rs`, macros implementations of #[derive(ClientState)] and #[derive(ConsensusState)]" [lib] proc-macro = true diff --git a/tests-integration/Cargo.toml b/tests-integration/Cargo.toml index 36d4810c9..57f283468 100644 --- a/tests-integration/Cargo.toml +++ b/tests-integration/Cargo.toml @@ -1,15 +1,15 @@ [package] -name = "tests-integration" -version = "0.1.0" -authors = { workspace = true } -license = { workspace = true } -edition = { workspace = true } +name = "tests-integration" +version = "0.1.0" +authors = { workspace = true } +license = { workspace = true } +edition = { workspace = true } rust-version = { workspace = true } -repository = { workspace = true } -readme = "README.md" -keywords = [ "blockchain", "consensus", "cosmos", "ibc", "tendermint" ] -publish = false -description = "Integration tests using `ibc-testkit` and the other IBC crates." +repository = { workspace = true } +readme = "README.md" +keywords = [ "blockchain", "consensus", "cosmos", "ibc", "tendermint" ] +publish = false +description = "Integration tests using `ibc-testkit` and the other IBC crates." [dependencies] # external dependencies From 420ba051a79862c1a3e65e81045edf2c2f03296d Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Tue, 26 Nov 2024 12:54:07 +0100 Subject: [PATCH 04/21] cargo clippy --- ibc-core/ics04-channel/types/src/packet.rs | 2 +- ibc-core/ics24-host/types/src/identifiers/chain_id.rs | 2 +- ibc-core/ics26-routing/src/module.rs | 2 -- ibc-primitives/src/utils/pretty.rs | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/ibc-core/ics04-channel/types/src/packet.rs b/ibc-core/ics04-channel/types/src/packet.rs index e5f2e8779..82b28a1fd 100644 --- a/ibc-core/ics04-channel/types/src/packet.rs +++ b/ibc-core/ics04-channel/types/src/packet.rs @@ -100,7 +100,7 @@ pub struct Packet { struct PacketData<'a>(&'a [u8]); -impl<'a> core::fmt::Debug for PacketData<'a> { +impl core::fmt::Debug for PacketData<'_> { fn fmt(&self, formatter: &mut core::fmt::Formatter<'_>) -> Result<(), core::fmt::Error> { write!(formatter, "{:?}", self.0) } diff --git a/ibc-core/ics24-host/types/src/identifiers/chain_id.rs b/ibc-core/ics24-host/types/src/identifiers/chain_id.rs index c96ccc36f..1a6f1b02a 100644 --- a/ibc-core/ics24-host/types/src/identifiers/chain_id.rs +++ b/ibc-core/ics24-host/types/src/identifiers/chain_id.rs @@ -135,7 +135,7 @@ impl<'de> Deserialize<'de> for ChainId { { struct FieldVisitor; - impl<'de> Visitor<'de> for FieldVisitor { + impl Visitor<'_> for FieldVisitor { type Value = Field; fn expecting(&self, formatter: &mut Formatter<'_>) -> core::fmt::Result { diff --git a/ibc-core/ics26-routing/src/module.rs b/ibc-core/ics26-routing/src/module.rs index a0877b98d..a73d4f639 100644 --- a/ibc-core/ics26-routing/src/module.rs +++ b/ibc-core/ics26-routing/src/module.rs @@ -144,7 +144,6 @@ pub trait Module: Debug { ) -> (ModuleExtras, Result<(), ChannelError>); /// Note: `MsgTimeout` and `MsgTimeoutOnClose` use the same callback - fn on_timeout_packet_validate( &self, packet: &Packet, @@ -152,7 +151,6 @@ pub trait Module: Debug { ) -> Result<(), ChannelError>; /// Note: `MsgTimeout` and `MsgTimeoutOnClose` use the same callback - fn on_timeout_packet_execute( &mut self, packet: &Packet, diff --git a/ibc-primitives/src/utils/pretty.rs b/ibc-primitives/src/utils/pretty.rs index 6f59efdbf..75ea3676c 100644 --- a/ibc-primitives/src/utils/pretty.rs +++ b/ibc-primitives/src/utils/pretty.rs @@ -5,7 +5,7 @@ use core::fmt::{Display, Error as FmtError, Formatter}; /// A slice type that implements the `Display` trait to pretty-print the contained elements. pub struct PrettySlice<'a, T>(pub &'a [T]); -impl<'a, T: Display> Display for PrettySlice<'a, T> { +impl Display for PrettySlice<'_, T> { fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), FmtError> { write!(f, "[ ")?; let mut vec_iterator = self.0.iter().peekable(); From 24f8ebe8dc718ca357106e128afafaa1125b9f36 Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Tue, 26 Nov 2024 12:55:43 +0100 Subject: [PATCH 05/21] fix typos --- ibc-testkit/src/fixtures/core/channel/mod.rs | 2 +- ibc-testkit/src/fixtures/core/connection/conn_open_try.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ibc-testkit/src/fixtures/core/channel/mod.rs b/ibc-testkit/src/fixtures/core/channel/mod.rs index 5f12f7b88..3114de06a 100644 --- a/ibc-testkit/src/fixtures/core/channel/mod.rs +++ b/ibc-testkit/src/fixtures/core/channel/mod.rs @@ -29,7 +29,7 @@ pub use self::timeout::*; pub use self::timeout_on_close::*; /// Returns a dummy `RawCounterparty`, for testing purposes only! -/// Can be optionally parametrized with a specific channel identifier. +/// Can be optionally parameterized with a specific channel identifier. pub fn dummy_raw_counterparty_chan(channel_id: String) -> RawCounterparty { RawCounterparty { port_id: PortId::transfer().to_string(), diff --git a/ibc-testkit/src/fixtures/core/connection/conn_open_try.rs b/ibc-testkit/src/fixtures/core/connection/conn_open_try.rs index 200b77991..bb98147a1 100644 --- a/ibc-testkit/src/fixtures/core/connection/conn_open_try.rs +++ b/ibc-testkit/src/fixtures/core/connection/conn_open_try.rs @@ -28,7 +28,7 @@ pub fn msg_conn_open_try_with_client_id( } } -/// Returns a dummy `RawMsgConnectionOpenTry` with parametrized heights. The parameter +/// Returns a dummy `RawMsgConnectionOpenTry` with parameterized heights. The parameter /// `proof_height` represents the height, on the source chain, at which this chain produced the /// proof. Parameter `consensus_height` represents the height of destination chain which a /// client on the source chain stores. From 0530440f7b540742eee50c5647484b08f0daa2a8 Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Tue, 26 Nov 2024 13:52:13 +0100 Subject: [PATCH 06/21] fix parity-scale-codec dep --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index c9c91f99e..6db547a51 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -115,5 +115,5 @@ tendermint-rpc = { version = "0.40.0", default-features = fals tendermint-testgen = { version = "0.40.0", default-features = false } # parity dependencies -parity-scale-codec = { version = "3.6.12", default-features = false, features = [ "derive" ] } +parity-scale-codec = { version = "~3.6.12", default-features = false, features = [ "derive" ] } scale-info = { version = "2.11.3", default-features = false } From eca35eeb7b9a15ede7eda32ad2a3e6b6296b43e6 Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Tue, 26 Nov 2024 13:54:28 +0100 Subject: [PATCH 07/21] check rust version for all targets and features --- .github/workflows/rust.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index 689df764d..50b81ea1d 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -119,11 +119,10 @@ jobs: runs-on: ${{ matrix.param.os }} steps: - uses: actions/checkout@v4 - - uses: taiki-e/install-action@cargo-hack - name: Build with MSRV - run: cargo hack --rust-version build + run: cargo hack --rust-version build --all-targets --all-features - name: Test with MSRV - run: cargo hack --rust-version test + run: cargo hack --rust-version test --all-targets --all-features From ec41e8ad75864d8d966bd0302fc8069181b0a866 Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Tue, 26 Nov 2024 13:58:48 +0100 Subject: [PATCH 08/21] use caret requirment for parity-scale-codec --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 6db547a51..13d7130bc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -115,5 +115,5 @@ tendermint-rpc = { version = "0.40.0", default-features = fals tendermint-testgen = { version = "0.40.0", default-features = false } # parity dependencies -parity-scale-codec = { version = "~3.6.12", default-features = false, features = [ "derive" ] } +parity-scale-codec = { version = "^3.6.12", default-features = false, features = [ "derive" ] } scale-info = { version = "2.11.3", default-features = false } From f4d3e0fd0da3e2245399727f413f31faae987659 Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Tue, 26 Nov 2024 16:15:05 +0100 Subject: [PATCH 09/21] revert caret requirement --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 13d7130bc..c9c91f99e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -115,5 +115,5 @@ tendermint-rpc = { version = "0.40.0", default-features = fals tendermint-testgen = { version = "0.40.0", default-features = false } # parity dependencies -parity-scale-codec = { version = "^3.6.12", default-features = false, features = [ "derive" ] } +parity-scale-codec = { version = "3.6.12", default-features = false, features = [ "derive" ] } scale-info = { version = "2.11.3", default-features = false } From 9b84252195ff32e3c894362a277edc257e82be7c Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Tue, 26 Nov 2024 16:15:27 +0100 Subject: [PATCH 10/21] rust-version to 1.79.0 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index c9c91f99e..99e92f7ad 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,7 +47,7 @@ exclude = [ version = "0.56.0" license = "Apache-2.0" edition = "2021" -rust-version = "1.75.0" +rust-version = "1.79.0" readme = "README.md" repository = "https://github.com/cosmos/ibc-rs" authors = [ "Informal Systems " ] From 9d49e31e3da090be57065f7e2b8c26d3c3d46821 Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Thu, 28 Nov 2024 00:48:13 +0100 Subject: [PATCH 11/21] verify using cargo-msrv --- .github/workflows/rust.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index 50b81ea1d..b5c50ef2e 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -119,8 +119,30 @@ jobs: runs-on: ${{ matrix.param.os }} steps: - uses: actions/checkout@v4 + - uses: actions-rust-lang/setup-rust-toolchain@v1 - uses: taiki-e/install-action@cargo-hack + - name: Download cargo-msrv + uses: dsaltares/fetch-gh-release-asset@master + with: + repo: foresterre/cargo-msrv + file: "cargo-msrv-x86_64-${{ matrix.param.system }}-v.*\\.tgz" + regex: true + + - name: Install cargo-msrv + run: | + tar -xzf "cargo-msrv-x86_64-${{ matrix.param.system }}-v*.tgz" \ + -C ~/.cargo/bin --strip-components=1 --wildcards \ + "cargo-msrv-x86_64-${{ matrix.param.system }}-v*/cargo-msrv" + cargo msrv --version + + - name: Verify MSRV + run: cargo hack msrv verify --output-format=minimal --all-features + + - name: Find MSRV + if: ${{ failure() }} + run: cargo hack msrv find --min=1.75 --output-format=minimal --all-features + - name: Build with MSRV run: cargo hack --rust-version build --all-targets --all-features From 2d7832cde1922292b7d4461e7fd3bc5679ae437c Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Thu, 28 Nov 2024 10:24:14 +0100 Subject: [PATCH 12/21] fix msrv ci --- .github/workflows/rust.yaml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index b5c50ef2e..c51bd18ca 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -131,20 +131,18 @@ jobs: - name: Install cargo-msrv run: | - tar -xzf "cargo-msrv-x86_64-${{ matrix.param.system }}-v*.tgz" \ - -C ~/.cargo/bin --strip-components=1 --wildcards \ - "cargo-msrv-x86_64-${{ matrix.param.system }}-v*/cargo-msrv" + find . -name 'cargo-msrv-x86_64*.tgz' -exec mv {} cargo-msrv.tgz \; + tar -tf cargo-msrv.tgz \ + | grep '/cargo-msrv' \ + | head -n1 \ + | xargs -n1 tar -xzf cargo-msrv.tgz -C ~/.cargo/bin --strip-components=1 cargo msrv --version - - name: Verify MSRV - run: cargo hack msrv verify --output-format=minimal --all-features + - name: Verify and Test Rust version + run: | + cargo hack msrv verify --output-format=minimal --all-features + cargo hack --rust-version test --all-targets --all-features - name: Find MSRV if: ${{ failure() }} run: cargo hack msrv find --min=1.75 --output-format=minimal --all-features - - - name: Build with MSRV - run: cargo hack --rust-version build --all-targets --all-features - - - name: Test with MSRV - run: cargo hack --rust-version test --all-targets --all-features From 8bc89485325867fedf468da683f42ad2f3bc66c4 Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Thu, 28 Nov 2024 12:28:30 +0100 Subject: [PATCH 13/21] add comment --- .github/workflows/rust.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index c51bd18ca..d9c5b3a86 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -132,6 +132,7 @@ jobs: - name: Install cargo-msrv run: | find . -name 'cargo-msrv-x86_64*.tgz' -exec mv {} cargo-msrv.tgz \; + # using `tar -t | grep` because, `tar` on macos doesn't support `--wildcards` tar -tf cargo-msrv.tgz \ | grep '/cargo-msrv' \ | head -n1 \ From 356e592745fcb2b13ab764e645fcc3ab08f3c84e Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Thu, 28 Nov 2024 22:17:47 +0100 Subject: [PATCH 14/21] use updated action --- .github/workflows/rust.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index d9c5b3a86..7901fa0f9 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -123,11 +123,11 @@ jobs: - uses: taiki-e/install-action@cargo-hack - name: Download cargo-msrv - uses: dsaltares/fetch-gh-release-asset@master + uses: robinraju/release-downloader@v1 with: - repo: foresterre/cargo-msrv - file: "cargo-msrv-x86_64-${{ matrix.param.system }}-v.*\\.tgz" - regex: true + repository: foresterre/cargo-msrv + latest: true + fileName: "cargo-msrv-x86_64-${{ matrix.param.system }}-v*.tgz" - name: Install cargo-msrv run: | From 6747f45be2944521fa9456fcc165581091bc4665 Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Fri, 29 Nov 2024 11:58:44 +0100 Subject: [PATCH 15/21] use cargo-binstall --- .github/workflows/rust.yaml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index 7901fa0f9..b01845d37 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -120,24 +120,12 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions-rust-lang/setup-rust-toolchain@v1 - - uses: taiki-e/install-action@cargo-hack - - - name: Download cargo-msrv - uses: robinraju/release-downloader@v1 + - uses: taiki-e/install-action@v2 with: - repository: foresterre/cargo-msrv - latest: true - fileName: "cargo-msrv-x86_64-${{ matrix.param.system }}-v*.tgz" + tool: cargo-hack,cargo-binstall - name: Install cargo-msrv - run: | - find . -name 'cargo-msrv-x86_64*.tgz' -exec mv {} cargo-msrv.tgz \; - # using `tar -t | grep` because, `tar` on macos doesn't support `--wildcards` - tar -tf cargo-msrv.tgz \ - | grep '/cargo-msrv' \ - | head -n1 \ - | xargs -n1 tar -xzf cargo-msrv.tgz -C ~/.cargo/bin --strip-components=1 - cargo msrv --version + run: cargo binstall --no-confirm cargo-msrv - name: Verify and Test Rust version run: | From 13fc5da2a55587b4ce074477348567ec77dede12 Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Fri, 29 Nov 2024 12:19:09 +0100 Subject: [PATCH 16/21] pass github token to cargo binstall --- .github/workflows/rust.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index b01845d37..30ef6be54 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -125,6 +125,8 @@ jobs: tool: cargo-hack,cargo-binstall - name: Install cargo-msrv + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: cargo binstall --no-confirm cargo-msrv - name: Verify and Test Rust version From d513e0cfb0bb10ef59fe513c9f08d8ee65fc2d16 Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Fri, 29 Nov 2024 12:28:44 +0100 Subject: [PATCH 17/21] rm redundant matrix --- .github/workflows/rust.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index 30ef6be54..ff390bdbd 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -111,12 +111,10 @@ jobs: timeout-minutes: 30 strategy: matrix: - param: - [ - { os: ubuntu-latest, system: unknown-linux-gnu }, - { os: macos-latest, system: apple-darwin }, - ] - runs-on: ${{ matrix.param.os }} + os: + - ubuntu-latest + - macos-latest + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - uses: actions-rust-lang/setup-rust-toolchain@v1 From b3b957672a822f9954cf103881575912f741bbf2 Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Fri, 29 Nov 2024 12:29:12 +0100 Subject: [PATCH 18/21] use cargo nextest --- .github/workflows/rust.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index ff390bdbd..95a26c707 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -120,7 +120,7 @@ jobs: - uses: actions-rust-lang/setup-rust-toolchain@v1 - uses: taiki-e/install-action@v2 with: - tool: cargo-hack,cargo-binstall + tool: cargo-hack,cargo-binstall,cargo-nextest - name: Install cargo-msrv env: @@ -130,7 +130,7 @@ jobs: - name: Verify and Test Rust version run: | cargo hack msrv verify --output-format=minimal --all-features - cargo hack --rust-version test --all-targets --all-features + cargo hack --rust-version nextest run --all-targets --all-features - name: Find MSRV if: ${{ failure() }} From 68dc1267838100b09088e47768b71ddef350d64a Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Fri, 29 Nov 2024 12:36:15 +0100 Subject: [PATCH 19/21] fix nextest run --- .github/workflows/rust.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index 95a26c707..a7cf8c9e2 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -130,7 +130,7 @@ jobs: - name: Verify and Test Rust version run: | cargo hack msrv verify --output-format=minimal --all-features - cargo hack --rust-version nextest run --all-targets --all-features + cargo hack --rust-version nextest run --all-targets --all-features --no-tests=pass - name: Find MSRV if: ${{ failure() }} From 7239b7efdb62626a721a8053c800535d6d96317d Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Fri, 29 Nov 2024 12:49:42 +0100 Subject: [PATCH 20/21] changelog entry --- .changelog/unreleased/breaking-changes/1382-update-msrv.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .changelog/unreleased/breaking-changes/1382-update-msrv.md diff --git a/.changelog/unreleased/breaking-changes/1382-update-msrv.md b/.changelog/unreleased/breaking-changes/1382-update-msrv.md new file mode 100644 index 000000000..8edf45435 --- /dev/null +++ b/.changelog/unreleased/breaking-changes/1382-update-msrv.md @@ -0,0 +1,2 @@ +- [ibc] Update MSRV to `1.79.0`. + ([\#1382](https://github.com/cosmos/ibc-rs/issues/1382)) From 2e27e205516d4cc9b314d3f62e22b35210abf039 Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Fri, 29 Nov 2024 13:24:38 +0100 Subject: [PATCH 21/21] update cargo lockfiles --- ci/cw-check/Cargo.lock | 107 ++++++++++++++------------- ci/no-std-check/Cargo.lock | 143 +++++++++++++++++++------------------ 2 files changed, 129 insertions(+), 121 deletions(-) diff --git a/ci/cw-check/Cargo.lock b/ci/cw-check/Cargo.lock index abbfa0a92..bb06cd8db 100644 --- a/ci/cw-check/Cargo.lock +++ b/ci/cw-check/Cargo.lock @@ -206,9 +206,9 @@ dependencies = [ [[package]] name = "blake3" -version = "1.5.4" +version = "1.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d82033247fd8e890df8f740e407ad4d038debb9eb1f40533fffb32e7d17dc6f7" +checksum = "b8ee0c1824c4dea5b5f81736aff91bae041d2c07ee1192bec91054e10e3e601e" dependencies = [ "arrayref", "arrayvec", @@ -246,18 +246,18 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.8.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ac0150caa2ae65ca5bd83f25c7de183dea78d4d366469f148435e2acfbad0da" +checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b" dependencies = [ "serde", ] [[package]] name = "cc" -version = "1.2.0" +version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1aeb932158bd710538c73702db6945cb68a8fb08c519e6e12706b94263b36db8" +checksum = "f34d93e62b03caf570cccc334cbc6c2fceca82f39211051345108adcba3eebdc" dependencies = [ "shlex", ] @@ -329,7 +329,7 @@ checksum = "1b5658b1dc64e10b56ae7a449f678f96932a96f6cfad1769d608d1d1d656480a" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -353,7 +353,7 @@ checksum = "c8ef1b5835a65fcca3ab8b9a02b4f4dacc78e233a5c2f20b270efb9db0666d12" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -381,9 +381,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ca741a962e1b0bff6d724a1a0958b686406e853bb14061f218562e1896f95e6" +checksum = "16b80225097f2e5ae4e7179dd2266824648f3e2f49d9134d584b76389d31c4c3" dependencies = [ "libc", ] @@ -465,7 +465,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -527,7 +527,7 @@ checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", "unicode-xid", ] @@ -551,7 +551,7 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -777,9 +777,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.15.1" +version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a9bfc1af68b1726ea47d3d5109de126281def866b33970e10fbab11b5dafab3" +checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" [[package]] name = "hex" @@ -1087,7 +1087,7 @@ version = "0.10.0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -1154,13 +1154,13 @@ dependencies = [ [[package]] name = "impl-trait-for-tuples" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb" +checksum = "a0eb5a3343abf848c0984fe4604b2b105da9539376e24fc0a3b0007411ae4fd9" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.89", ] [[package]] @@ -1170,7 +1170,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "707907fe3c25f5424cce2cb7e1cbcafee6bdbe735ca90ef77c29e84591e5b9da" dependencies = [ "equivalent", - "hashbrown 0.15.1", + "hashbrown 0.15.2", ] [[package]] @@ -1203,9 +1203,9 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.11" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" +checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" [[package]] name = "k256" @@ -1230,9 +1230,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.162" +version = "0.2.167" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18d287de67fe55fd7e1581fe933d965a5a9477b38e949cfa9f8574ef01506398" +checksum = "09d6582e104315a817dff97f75133544b2e094ee22447d2acf4a74e189ba06fc" [[package]] name = "memchr" @@ -1294,26 +1294,27 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.6.12" +version = "3.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "306800abfa29c7f16596b5970a588435e3d5b3149683d00c12b699cc19f895ee" +checksum = "8be4817d39f3272f69c59fe05d0535ae6456c2dc2fa1ba02910296c7e0a5c590" dependencies = [ "arrayvec", "byte-slice-cast", "impl-trait-for-tuples", "parity-scale-codec-derive", + "rustversion", ] [[package]] name = "parity-scale-codec-derive" -version = "3.6.12" +version = "3.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d830939c76d294956402033aee57a6da7b438f2294eb94864c37b0569053a42c" +checksum = "8781a75c6205af67215f382092b6e0a4ff3734798523e69073d4bcd294ec767b" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.89", ] [[package]] @@ -1390,9 +1391,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.89" +version = "1.0.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e" +checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0" dependencies = [ "unicode-ident", ] @@ -1417,7 +1418,7 @@ dependencies = [ "itertools 0.13.0", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -1506,6 +1507,12 @@ dependencies = [ "semver", ] +[[package]] +name = "rustversion" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248" + [[package]] name = "ryu" version = "1.0.18" @@ -1514,9 +1521,9 @@ checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" [[package]] name = "scale-info" -version = "2.11.5" +version = "2.11.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1aa7ffc1c0ef49b0452c6e2986abf2b07743320641ffd5fc63d552458e3b779b" +checksum = "346a3b32eba2640d17a9cb5927056b08f3de90f65b72fe09402c2ad07d684d0b" dependencies = [ "cfg-if", "derive_more", @@ -1526,14 +1533,14 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.11.5" +version = "2.11.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46385cc24172cf615450267463f937c10072516359b3ff1cb24228a4a08bf951" +checksum = "c6630024bf739e2179b91fb424b28898baf819414262c5d376677dbff1fe7ebf" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -1557,7 +1564,7 @@ dependencies = [ "proc-macro2", "quote", "serde_derive_internals", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -1614,7 +1621,7 @@ checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -1625,14 +1632,14 @@ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "serde_json" -version = "1.0.132" +version = "1.0.133" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d726bfaff4b320266d395898905d0eba0345aae23b54aee3a737e260fd46db03" +checksum = "c7fceb2473b9166b2294ef05efcb65a3db80803f0b03ef86a5fc88a2b85ee377" dependencies = [ "itoa", "memchr", @@ -1648,7 +1655,7 @@ checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -1732,9 +1739,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.87" +version = "2.0.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d" +checksum = "44d46482f1c1c87acd84dea20c1bf5ebff4c757009ed6bf19cfd36fb10e92c4e" dependencies = [ "proc-macro2", "quote", @@ -1802,7 +1809,7 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -1872,9 +1879,9 @@ dependencies = [ [[package]] name = "unicode-ident" -version = "1.0.13" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" +checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83" [[package]] name = "unicode-xid" @@ -1921,7 +1928,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -1941,5 +1948,5 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] diff --git a/ci/no-std-check/Cargo.lock b/ci/no-std-check/Cargo.lock index 7d9393fe7..e8e051e60 100644 --- a/ci/no-std-check/Cargo.lock +++ b/ci/no-std-check/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "Inflector" @@ -331,9 +331,9 @@ dependencies = [ [[package]] name = "blake3" -version = "1.5.4" +version = "1.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d82033247fd8e890df8f740e407ad4d038debb9eb1f40533fffb32e7d17dc6f7" +checksum = "b8ee0c1824c4dea5b5f81736aff91bae041d2c07ee1192bec91054e10e3e601e" dependencies = [ "arrayref", "arrayvec", @@ -362,9 +362,9 @@ dependencies = [ [[package]] name = "borsh" -version = "1.5.2" +version = "1.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5327f6c99920069d1fe374aa743be1af0031dea9f250852cdf1ae6a0861ee24" +checksum = "2506947f73ad44e344215ccd6403ac2ae18cd8e046e581a441bf8d199f257f03" dependencies = [ "borsh-derive", "cfg_aliases", @@ -372,15 +372,15 @@ dependencies = [ [[package]] name = "borsh-derive" -version = "1.5.2" +version = "1.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10aedd8f1a81a8aafbfde924b0e3061cd6fedd6f6bbcfc6a76e6fd426d7bfe26" +checksum = "c2593a3b8b938bd68373196c9832f516be11fa487ef4ae745eb282e6a56a7244" dependencies = [ "once_cell", "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -418,18 +418,18 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.8.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ac0150caa2ae65ca5bd83f25c7de183dea78d4d366469f148435e2acfbad0da" +checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b" dependencies = [ "serde", ] [[package]] name = "cc" -version = "1.2.0" +version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1aeb932158bd710538c73702db6945cb68a8fb08c519e6e12706b94263b36db8" +checksum = "f34d93e62b03caf570cccc334cbc6c2fceca82f39211051345108adcba3eebdc" dependencies = [ "shlex", ] @@ -484,9 +484,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ca741a962e1b0bff6d724a1a0958b686406e853bb14061f218562e1896f95e6" +checksum = "16b80225097f2e5ae4e7179dd2266824648f3e2f49d9134d584b76389d31c4c3" dependencies = [ "libc", ] @@ -554,7 +554,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -608,7 +608,7 @@ checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -619,7 +619,7 @@ checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -639,7 +639,7 @@ checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", "unicode-xid", ] @@ -672,7 +672,7 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -696,7 +696,7 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.87", + "syn 2.0.89", "termcolor", "toml", "walkdir", @@ -846,7 +846,7 @@ dependencies = [ "prettyplease", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -968,7 +968,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -1086,9 +1086,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.15.1" +version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a9bfc1af68b1726ea47d3d5109de126281def866b33970e10fbab11b5dafab3" +checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" [[package]] name = "hermit-abi" @@ -1479,7 +1479,7 @@ version = "0.10.0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -1560,13 +1560,13 @@ dependencies = [ [[package]] name = "impl-trait-for-tuples" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb" +checksum = "a0eb5a3343abf848c0984fe4604b2b105da9539376e24fc0a3b0007411ae4fd9" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.89", ] [[package]] @@ -1576,7 +1576,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "707907fe3c25f5424cce2cb7e1cbcafee6bdbe735ca90ef77c29e84591e5b9da" dependencies = [ "equivalent", - "hashbrown 0.15.1", + "hashbrown 0.15.2", ] [[package]] @@ -1627,9 +1627,9 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.11" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" +checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" [[package]] name = "k256" @@ -1662,9 +1662,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" -version = "0.2.162" +version = "0.2.167" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18d287de67fe55fd7e1581fe933d965a5a9477b38e949cfa9f8574ef01506398" +checksum = "09d6582e104315a817dff97f75133544b2e094ee22447d2acf4a74e189ba06fc" [[package]] name = "libsecp256k1" @@ -1785,7 +1785,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "syn 2.0.87", + "syn 2.0.89", "tendermint", "tendermint-light-client-verifier", "tendermint-proto", @@ -1903,9 +1903,9 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.6.12" +version = "3.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "306800abfa29c7f16596b5970a588435e3d5b3149683d00c12b699cc19f895ee" +checksum = "8be4817d39f3272f69c59fe05d0535ae6456c2dc2fa1ba02910296c7e0a5c590" dependencies = [ "arrayvec", "bitvec", @@ -1913,19 +1913,20 @@ dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec-derive", + "rustversion", "serde", ] [[package]] name = "parity-scale-codec-derive" -version = "3.6.12" +version = "3.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d830939c76d294956402033aee57a6da7b438f2294eb94864c37b0569053a42c" +checksum = "8781a75c6205af67215f382092b6e0a4ff3734798523e69073d4bcd294ec767b" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.89", ] [[package]] @@ -2024,7 +2025,7 @@ dependencies = [ "polkavm-common", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -2034,7 +2035,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429" dependencies = [ "polkavm-derive-impl", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -2059,7 +2060,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "64d1ec885c64d0457d564db4ec299b2dae3f9c02808b8ad9c3a089c591b18033" dependencies = [ "proc-macro2", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -2097,9 +2098,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.89" +version = "1.0.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e" +checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0" dependencies = [ "unicode-ident", ] @@ -2124,7 +2125,7 @@ dependencies = [ "itertools 0.13.0", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -2198,7 +2199,7 @@ checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -2308,9 +2309,9 @@ dependencies = [ [[package]] name = "scale-info" -version = "2.11.5" +version = "2.11.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1aa7ffc1c0ef49b0452c6e2986abf2b07743320641ffd5fc63d552458e3b779b" +checksum = "346a3b32eba2640d17a9cb5927056b08f3de90f65b72fe09402c2ad07d684d0b" dependencies = [ "bitvec", "cfg-if", @@ -2322,14 +2323,14 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.11.5" +version = "2.11.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46385cc24172cf615450267463f937c10072516359b3ff1cb24228a4a08bf951" +checksum = "c6630024bf739e2179b91fb424b28898baf819414262c5d376677dbff1fe7ebf" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -2451,14 +2452,14 @@ checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "serde_json" -version = "1.0.132" +version = "1.0.133" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d726bfaff4b320266d395898905d0eba0345aae23b54aee3a737e260fd46db03" +checksum = "c7fceb2473b9166b2294ef05efcb65a3db80803f0b03ef86a5fc88a2b85ee377" dependencies = [ "itoa", "memchr", @@ -2474,7 +2475,7 @@ checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -2675,7 +2676,7 @@ checksum = "48d09fa0a5f7299fb81ee25ae3853d26200f7a348148aed6de76be905c007dbe" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -2797,7 +2798,7 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -2981,9 +2982,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.87" +version = "2.0.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d" +checksum = "44d46482f1c1c87acd84dea20c1bf5ebff4c757009ed6bf19cfd36fb10e92c4e" dependencies = [ "proc-macro2", "quote", @@ -3081,7 +3082,7 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -3176,9 +3177,9 @@ dependencies = [ [[package]] name = "tracing" -version = "0.1.40" +version = "0.1.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" +checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" dependencies = [ "log", "pin-project-lite", @@ -3188,20 +3189,20 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.27" +version = "0.1.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" +checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] name = "tracing-core" -version = "0.1.32" +version = "0.1.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" +checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" dependencies = [ "once_cell", "valuable", @@ -3302,9 +3303,9 @@ dependencies = [ [[package]] name = "unicode-ident" -version = "1.0.13" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" +checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83" [[package]] name = "unicode-normalization" @@ -3513,7 +3514,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ] [[package]] @@ -3533,5 +3534,5 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.87", + "syn 2.0.89", ]