Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
core/sr-api-macros/Cargo.toml: Pin protobuf version (#3723)
Browse files Browse the repository at this point in the history
* Cargo.toml: Pin protobuf version

The protobuf crate introduced a breaking change within its semver minor
update from 2.8.1 to 2.9.0. This commit ensures Substrate uses anything
within the 2.8 minor releases.

* Cargo.lock: Update

* core/sr-api-macros/Cargo.toml: Pin protobuf version

The protobuf crate introduced a breaking change within its semver minor
update from 2.8.1 to 2.9.0. This commit ensures Substrate uses anything
within the 2.8 minor releases.

* Revert "Cargo.toml: Pin protobuf version"

This reverts commit 4e293c7.

* core/sr-api-macros/Cargo.toml: Pin protobuf within dev-dependencies

* core/sr-api-macros/Cargo.toml: Add comment and link to Githu issue
  • Loading branch information
mxinden authored and bkchr committed Sep 30, 2019
1 parent e84f615 commit 4af0fe7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

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

5 changes: 5 additions & 0 deletions core/sr-api-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ consensus_common = { package = "substrate-consensus-common", path = "../consensu
codec = { package = "parity-scale-codec", version = "1.0.0" }
trybuild = "1.0"
rustversion = "0.1"
# The protobuf crate introduced a breaking change within its semver minor update
# from 2.8.1 to 2.9.0. The dependency bound below ensures sr-api-macros uses
# anything within the 2.8 minor releases. Remove once
# https://github.com/stepancheg/rust-protobuf/issues/453 is resolved.
protobuf = "~2.8.0"

[[bench]]
name = "bench"
Expand Down

0 comments on commit 4af0fe7

Please sign in to comment.