From 3e891be21d9d40da15e69a052f70d802642ac731 Mon Sep 17 00:00:00 2001 From: plebhash Date: Tue, 13 Aug 2024 17:15:32 -0300 Subject: [PATCH 1/2] bypass cargo semver-checks --all-features for roles_logic_sv2 --- .github/workflows/semver-check.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/semver-check.yaml b/.github/workflows/semver-check.yaml index 45ee8419f4..d822dbaac0 100644 --- a/.github/workflows/semver-check.yaml +++ b/.github/workflows/semver-check.yaml @@ -104,7 +104,7 @@ jobs: - name: Run semver checks for protocols/v2/roles-logic-sv2 working-directory: protocols/v2/roles-logic-sv2 - run: cargo semver-checks + run: cargo semver-checks --default-features - name: Run semver checks for protocols/v1 working-directory: protocols/v1 From 56a93342f28c157b62b303504e1b427c0355c2f0 Mon Sep 17 00:00:00 2001 From: plebhash Date: Tue, 13 Aug 2024 17:25:25 -0300 Subject: [PATCH 2/2] patch roles_logic_sv2 with_serde flag --- protocols/Cargo.lock | 2 +- protocols/v2/roles-logic-sv2/Cargo.toml | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/protocols/Cargo.lock b/protocols/Cargo.lock index 94b6710b81..9e04903ff2 100644 --- a/protocols/Cargo.lock +++ b/protocols/Cargo.lock @@ -606,7 +606,7 @@ checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" [[package]] name = "roles_logic_sv2" -version = "1.2.0" +version = "1.2.1" dependencies = [ "binary_sv2", "chacha20poly1305", diff --git a/protocols/v2/roles-logic-sv2/Cargo.toml b/protocols/v2/roles-logic-sv2/Cargo.toml index 28eee2f57a..2b7c34610b 100644 --- a/protocols/v2/roles-logic-sv2/Cargo.toml +++ b/protocols/v2/roles-logic-sv2/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "roles_logic_sv2" -version = "1.2.0" +version = "1.2.1" edition = "2018" description = "Common handlers for use within SV2 roles" license = "MIT OR Apache-2.0" @@ -35,8 +35,7 @@ with_serde = [ "serde", "common_messages_sv2/with_serde", "template_distribution_sv2/with_serde", "job_declaration_sv2/with_serde", -"mining_sv2/with_serde", -"framing_sv2/with_serde"] +"mining_sv2/with_serde"] prop_test = ["template_distribution_sv2/prop_test"] # Code coverage tools may conflict with the nopanic logic, so we can disable it when needed disable_nopanic = []