Skip to content

Commit

Permalink
Merge pull request #1300 from plebhash/semver-checks-37
Browse files Browse the repository at this point in the history
use `cargo semver-checks` v0.37 and bump crate versions as a follow-up to #1276
  • Loading branch information
plebhash authored Dec 18, 2024
2 parents e042650 + a4f8c43 commit bf68d8e
Show file tree
Hide file tree
Showing 23 changed files with 62 additions and 62 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/semver-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install Rust 1.75.0
- name: Install Rust stable
uses: actions-rs/toolchain@v1
with:
toolchain: 1.75.0
toolchain: stable
override: true

- name: Cache Cargo registry
Expand All @@ -42,7 +42,7 @@ jobs:
run: sudo apt-get update && sudo apt-get install -y cmake

- name: Install cargo-semver-checks
run: cargo install cargo-semver-checks --version 0.33.0 --locked
run: cargo install cargo-semver-checks --version 0.37.0 --locked

- name: Run semver checks for common
working-directory: common
Expand Down
2 changes: 1 addition & 1 deletion benches/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ serde_json = { version = "1.0.64", default-features = false, features = ["alloc"
iai="0.1"
mining_sv2 = { path = "../protocols/v2/subprotocols/mining", version = "^1.0.0" }
roles_logic_sv2 = { path = "../protocols/v2/roles-logic-sv2", version = "^1.0.0" }
framing_sv2 = { version = "2.0.0", path = "../protocols/v2/framing-sv2" }
framing_sv2 = { version = "3.0.0", path = "../protocols/v2/framing-sv2" }
serde = { version = "1.0.89", default-features = false, features = ["derive", "alloc"] }
num-bigint = "0.4.3"
num-traits = "0.2.15"
Expand Down
4 changes: 2 additions & 2 deletions protocols/v2/binary-sv2/binary-sv2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "binary_sv2"
version = "1.2.0"
version = "1.2.1"
authors = ["The Stratum V2 Developers"]
edition = "2018"
readme = "README.md"
Expand All @@ -14,7 +14,7 @@ keywords = ["stratum", "mining", "bitcoin", "protocol"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
serde_sv2 = {version = "^1.0.0", path = "../serde-sv2", optional = true}
serde_sv2 = {version = "^2.0.0", path = "../serde-sv2", optional = true}
serde = { version = "1.0.89", features = ["derive", "alloc"], default-features = false, optional = true }
binary_codec_sv2 = {version = "^1.0.0", path = "../no-serde-sv2/codec", optional = true}
derive_codec_sv2 = {version = "^1.0.0", path = "../no-serde-sv2/derive_codec", optional = true}
Expand Down
2 changes: 1 addition & 1 deletion protocols/v2/binary-sv2/serde-sv2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "serde_sv2"
version = "1.0.1"
version = "2.0.0"
authors = ["The Stratum V2 Developers"]
edition = "2018"
readme = "README.md"
Expand Down
6 changes: 3 additions & 3 deletions protocols/v2/codec-sv2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "codec_sv2"
version = "1.3.0"
version = "1.3.1"
authors = ["The Stratum V2 Developers"]
edition = "2018"
readme = "README.md"
Expand All @@ -13,10 +13,10 @@ keywords = ["stratum", "mining", "bitcoin", "protocol"]

[dependencies]
serde = { version = "1.0.89", default-features = false, optional = true }
framing_sv2 = { version = "^2.0.0", path = "../../../protocols/v2/framing-sv2" }
framing_sv2 = { version = "^3.0.0", path = "../../../protocols/v2/framing-sv2" }
noise_sv2 = { version = "1.0", path = "../../../protocols/v2/noise-sv2", optional=true}
binary_sv2 = { version = "1.0.0", path = "../../../protocols/v2/binary-sv2/binary-sv2" }
const_sv2 = { version = "2.0.0", path = "../../../protocols/v2/const-sv2"}
const_sv2 = { version = "3.0.0", path = "../../../protocols/v2/const-sv2"}
buffer_sv2 = { version = "1.0.0", path = "../../../utils/buffer"}
tracing = { version = "0.1"}

Expand Down
2 changes: 1 addition & 1 deletion protocols/v2/const-sv2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "const_sv2"
version = "2.1.0"
version = "3.0.0"
authors = ["The Stratum V2 Developers"]
edition = "2018"
readme = "README.md"
Expand Down
4 changes: 2 additions & 2 deletions protocols/v2/framing-sv2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "framing_sv2"
version = "2.0.0"
version = "3.0.0"
authors = ["The Stratum V2 Developers"]
edition = "2018"
readme = "README.md"
Expand All @@ -15,7 +15,7 @@ keywords = ["stratum", "mining", "bitcoin", "protocol"]

[dependencies]
serde = { version = "1.0.89", default-features = false, optional = true }
const_sv2 = { version = "^2.0.0", path = "../../../protocols/v2/const-sv2"}
const_sv2 = { version = "^3.0.0", path = "../../../protocols/v2/const-sv2"}
binary_sv2 = { version = "^1.0.0", path = "../../../protocols/v2/binary-sv2/binary-sv2" }
buffer_sv2 = { version = "^1.0.0", path = "../../../utils/buffer", optional=true }

Expand Down
4 changes: 2 additions & 2 deletions protocols/v2/noise-sv2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "noise_sv2"
version = "1.2.0"
version = "1.2.1"
authors = ["The Stratum V2 Developers"]
edition = "2018"
readme = "README.md"
Expand All @@ -17,7 +17,7 @@ rand = {version = "0.8.5", default-features = false, features = ["std","std_rng"
aes-gcm = "0.10.2"
chacha20poly1305 = "0.10.1"
rand_chacha = "0.3.1"
const_sv2 = { version = "^2.0.0", path = "../../../protocols/v2/const-sv2"}
const_sv2 = { version = "^3.0.0", path = "../../../protocols/v2/const-sv2"}

[dev-dependencies]
quickcheck = "1.0.3"
Expand Down
6 changes: 3 additions & 3 deletions protocols/v2/roles-logic-sv2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "roles_logic_sv2"
version = "1.2.1"
version = "1.2.2"
authors = ["The Stratum V2 Developers"]
edition = "2018"
readme = "README.md"
Expand All @@ -21,8 +21,8 @@ common_messages_sv2 = { path = "../../../protocols/v2/subprotocols/common-messag
mining_sv2 = { path = "../../../protocols/v2/subprotocols/mining", version = "^1.0.0" }
template_distribution_sv2 = { path = "../../../protocols/v2/subprotocols/template-distribution", version = "^1.0.1" }
job_declaration_sv2 = { path = "../../../protocols/v2/subprotocols/job-declaration", version = "^1.0.0" }
const_sv2 = { version = "^2.0.0", path = "../../../protocols/v2/const-sv2"}
framing_sv2 = { version = "^2.0.0", path = "../../../protocols/v2/framing-sv2" }
const_sv2 = { version = "^3.0.0", path = "../../../protocols/v2/const-sv2"}
framing_sv2 = { version = "^3.0.0", path = "../../../protocols/v2/framing-sv2" }
tracing = { version = "0.1"}
chacha20poly1305 = { version = "0.10.1"}
nohash-hasher = "0.2.0"
Expand Down
4 changes: 2 additions & 2 deletions protocols/v2/subprotocols/common-messages/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "common_messages_sv2"
version = "2.0.0"
version = "2.0.1"
authors = ["The Stratum V2 Developers"]
edition = "2018"
readme = "README.md"
Expand All @@ -16,7 +16,7 @@ keywords = ["stratum", "mining", "bitcoin", "protocol"]
[dependencies]
serde = { version = "1.0.89", default-features = false, optional = true }
binary_sv2 = { version = "^1.0.0", path = "../../binary-sv2/binary-sv2" }
const_sv2 = { version = "^2.0.0", path = "../../const-sv2" }
const_sv2 = { version = "^3.0.0", path = "../../const-sv2" }
quickcheck = { version = "1.0.3", optional = true }
quickcheck_macros = { version = "1", optional = true }
serde_repr = { version= "0.1.10", optional = true }
Expand Down
4 changes: 2 additions & 2 deletions protocols/v2/subprotocols/job-declaration/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "job_declaration_sv2"
version = "1.0.0"
version = "1.0.1"
authors = ["The Stratum V2 Developers"]
edition = "2018"
readme = "README.md"
Expand All @@ -15,7 +15,7 @@ keywords = ["stratum", "mining", "bitcoin", "protocol"]
[dependencies]
serde = { version = "1.0.89", default-features = false, optional= true }
binary_sv2 = {version = "^1.0.0", path = "../../binary-sv2/binary-sv2" }
const_sv2 = {version = "^2.0.0", path = "../../const-sv2"}
const_sv2 = {version = "^3.0.0", path = "../../const-sv2"}

[features]
no_std = []
Expand Down
4 changes: 2 additions & 2 deletions protocols/v2/subprotocols/mining/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mining_sv2"
version = "1.0.0"
version = "1.0.1"
authors = ["The Stratum V2 Developers"]
edition = "2018"
readme = "README.md"
Expand All @@ -17,7 +17,7 @@ keywords = ["stratum", "mining", "bitcoin", "protocol"]
[dependencies]
serde = { version = "1.0.89", default-features = false, optional= true }
binary_sv2 = {version = "^1.0.0", path = "../../binary-sv2/binary-sv2" }
const_sv2 = {version = "^2.0.0", path = "../../const-sv2"}
const_sv2 = {version = "^3.0.0", path = "../../const-sv2"}

[dev-dependencies]
quickcheck = "1.0.3"
Expand Down
4 changes: 2 additions & 2 deletions protocols/v2/subprotocols/template-distribution/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "template_distribution_sv2"
version = "1.0.2"
version = "1.0.3"
authors = ["The Stratum V2 Developers"]
edition = "2018"
readme = "README.md"
Expand All @@ -16,7 +16,7 @@ keywords = ["stratum", "mining", "bitcoin", "protocol"]
[dependencies]
serde = { version = "1.0.89", default-features = false, optional= true }
binary_sv2 = { version = "^1.0.1", path = "../../binary-sv2/binary-sv2" }
const_sv2 = { version = "^2.0.0", path = "../../const-sv2"}
const_sv2 = { version = "^3.0.0", path = "../../const-sv2"}
quickcheck = { version = "1.0.3", optional=true }
quickcheck_macros = { version = "1", optional=true }

Expand Down
4 changes: 2 additions & 2 deletions protocols/v2/sv2-ffi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sv2_ffi"
version = "1.0.0"
version = "1.0.1"
authors = ["The Stratum V2 Developers"]
edition = "2018"
readme = "README.md"
Expand All @@ -16,7 +16,7 @@ crate-type = ["staticlib"]

[dependencies]
codec_sv2 = { path = "../../../protocols/v2/codec-sv2", version = "^1.0.0" }
const_sv2 = { path = "../../../protocols/v2/const-sv2", version = "^2.0.0" }
const_sv2 = { path = "../../../protocols/v2/const-sv2", version = "^3.0.0" }
binary_sv2 = { path = "../../../protocols/v2/binary-sv2/binary-sv2", version = "^1.0.0" }
common_messages_sv2 = { path = "../../../protocols/v2/subprotocols/common-messages", version = "^2.0.0" }
template_distribution_sv2 = { path = "../../../protocols/v2/subprotocols/template-distribution", version = "^1.0.1" }
Expand Down
36 changes: 18 additions & 18 deletions roles/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bf68d8e

Please sign in to comment.