Skip to content

Commit 6a9fa3d

Browse files
build(deps): Update prost requirement from 0.10 to 0.11 (#2788)
* build(deps): Update prost-build requirement from 0.10 to 0.11 Updates the requirements on [prost-build](https://github.com/tokio-rs/prost) to permit the latest version. - [Release notes](https://github.com/tokio-rs/prost/releases) - [Commits](tokio-rs/prost@v0.10.0...v0.11.0) --- updated-dependencies: - dependency-name: prost-build dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * build(deps): Update prost requirement from 0.10 to 0.11 Updates the requirements on [prost](https://github.com/tokio-rs/prost) to permit the latest version. - [Release notes](https://github.com/tokio-rs/prost/releases) - [Commits](tokio-rs/prost@v0.10.0...v0.11.0) --- updated-dependencies: - dependency-name: prost dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
1 parent 878c49f commit 6a9fa3d

File tree

14 files changed

+48
-28
lines changed

14 files changed

+48
-28
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ jobs:
2424
with:
2525
access_token: ${{ github.token }}
2626

27+
- name: Install Protoc
28+
uses: arduino/setup-protoc@v1
29+
2730
- uses: actions/checkout@v3
2831

2932
- uses: Swatinem/rust-cache@6720f05bc48b77f96918929a9019fb2203ff71f8 # v2.0.0
@@ -56,6 +59,9 @@ jobs:
5659
with:
5760
access_token: ${{ github.token }}
5861

62+
- name: Install Protoc
63+
uses: arduino/setup-protoc@v1
64+
5965
- uses: actions/checkout@v3
6066

6167
- name: Install Rust ${{ matrix.toolchain }}
@@ -91,6 +97,9 @@ jobs:
9197
with:
9298
access_token: ${{ github.token }}
9399

100+
- name: Install Protoc
101+
uses: arduino/setup-protoc@v1
102+
94103
- uses: actions/checkout@v3
95104

96105
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7
@@ -113,6 +122,9 @@ jobs:
113122
with:
114123
access_token: ${{ github.token }}
115124

125+
- name: Install Protoc
126+
uses: arduino/setup-protoc@v1
127+
116128
- uses: actions/checkout@v3
117129

118130
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7
@@ -139,6 +151,9 @@ jobs:
139151
with:
140152
access_token: ${{ github.token }}
141153

154+
- name: Install Protoc
155+
uses: arduino/setup-protoc@v1
156+
142157
- uses: actions/checkout@v3
143158

144159
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7

core/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ multistream-select = { version = "0.11", path = "../misc/multistream-select" }
2828
p256 = { version = "0.10.0", default-features = false, features = ["ecdsa"], optional = true }
2929
parking_lot = "0.12.0"
3030
pin-project = "1.0.0"
31-
prost = "0.10"
31+
prost = "0.11"
3232
rand = "0.8"
3333
rw-stream-sink = { version = "0.3.0", path = "../misc/rw-stream-sink" }
3434
sha2 = "0.10.0"
@@ -56,7 +56,7 @@ rmp-serde = "1.0"
5656
serde_json = "1.0"
5757

5858
[build-dependencies]
59-
prost-build = "0.10"
59+
prost-build = "0.11"
6060

6161
[features]
6262
default = [ "secp256k1", "ecdsa" ]

misc/prost-codec/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# 0.2.0 [unreleased]
2+
3+
- Update to prost(-build) `v0.11`. See [PR 2788].
4+
5+
[PR 2788]: https://github.com/libp2p/rust-libp2p/pull/2788/

misc/prost-codec/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "prost-codec"
33
edition = "2021"
44
rust-version = "1.56.1"
55
description = "Asynchronous de-/encoding of Protobuf structs using asynchronous-codec, unsigned-varint and prost."
6-
version = "0.1.0"
6+
version = "0.2.0"
77
authors = ["Max Inden <[email protected]>"]
88
license = "MIT"
99
repository = "https://github.com/libp2p/rust-libp2p"
@@ -13,9 +13,9 @@ categories = ["asynchronous"]
1313
[dependencies]
1414
asynchronous-codec = { version = "0.6" }
1515
bytes = { version = "1" }
16-
prost = "0.10"
16+
prost = "0.11"
1717
thiserror = "1.0"
1818
unsigned-varint = { version = "0.7", features = ["asynchronous_codec"] }
1919

2020
[dev-dependencies]
21-
prost-build = "0.10"
21+
prost-build = "0.11"

protocols/autonat/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ keywords = ["peer-to-peer", "libp2p", "networking"]
1111
categories = ["network-programming", "asynchronous"]
1212

1313
[build-dependencies]
14-
prost-build = "0.10"
14+
prost-build = "0.11"
1515

1616
[dependencies]
1717
async-trait = "0.1"
@@ -23,7 +23,7 @@ libp2p-swarm = { version = "0.38.0", path = "../../swarm" }
2323
libp2p-request-response = { version = "0.20.0", path = "../request-response" }
2424
log = "0.4"
2525
rand = "0.8"
26-
prost = "0.10"
26+
prost = "0.11"
2727

2828
[dev-dependencies]
2929
async-std = { version = "1.10", features = ["attributes"] }

protocols/dcutr/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ instant = "0.1.11"
2020
libp2p-core = { version = "0.35.0", path = "../../core" }
2121
libp2p-swarm = { version = "0.38.0", path = "../../swarm" }
2222
log = "0.4"
23-
prost-codec = { version = "0.1", path = "../../misc/prost-codec" }
24-
prost = "0.10"
23+
prost-codec = { version = "0.2", path = "../../misc/prost-codec" }
24+
prost = "0.11"
2525
thiserror = "1.0"
2626
void = "1"
2727

2828
[build-dependencies]
29-
prost-build = "0.10"
29+
prost-build = "0.11"
3030

3131
[dev-dependencies]
3232
env_logger = "0.8.3"

protocols/floodsub/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ futures = "0.3.1"
1717
libp2p-core = { version = "0.35.0", path = "../../core", default-features = false }
1818
libp2p-swarm = { version = "0.38.0", path = "../../swarm" }
1919
log = "0.4"
20-
prost = "0.10"
20+
prost = "0.11"
2121
rand = "0.7"
2222
smallvec = "1.6.1"
2323

2424
[build-dependencies]
25-
prost-build = "0.10"
25+
prost-build = "0.11"

protocols/gossipsub/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ log = "0.4.11"
2424
sha2 = "0.10.0"
2525
base64 = "0.13.0"
2626
smallvec = "1.6.1"
27-
prost = "0.10"
27+
prost = "0.11"
2828
hex_fmt = "0.3.0"
2929
regex = "1.5.5"
3030
serde = { version = "1", optional = true, features = ["derive"] }
@@ -45,4 +45,4 @@ hex = "0.4.2"
4545
derive_builder = "0.11.1"
4646

4747
[build-dependencies]
48-
prost-build = "0.10"
48+
prost-build = "0.11"

protocols/identify/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ libp2p-core = { version = "0.35.0", path = "../../core", default-features = fals
1818
libp2p-swarm = { version = "0.38.0", path = "../../swarm" }
1919
log = "0.4.1"
2020
lru = "0.7.2"
21-
prost-codec = { version = "0.1", path = "../../misc/prost-codec" }
22-
prost = "0.10"
21+
prost-codec = { version = "0.2", path = "../../misc/prost-codec" }
22+
prost = "0.11"
2323
smallvec = "1.6.1"
2424
thiserror = "1.0"
2525
void = "1.0"
@@ -37,4 +37,4 @@ libp2p = { path = "../..", default-features = false, features = [
3737
]}
3838

3939
[build-dependencies]
40-
prost-build = "0.10"
40+
prost-build = "0.11"

protocols/kad/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ futures = "0.3.1"
2020
log = "0.4"
2121
libp2p-core = { version = "0.35.0", path = "../../core", default-features = false }
2222
libp2p-swarm = { version = "0.38.0", path = "../../swarm" }
23-
prost = "0.10"
23+
prost = "0.11"
2424
rand = "0.7.2"
2525
sha2 = "0.10.0"
2626
smallvec = "1.6.1"
@@ -40,7 +40,7 @@ libp2p-yamux = { path = "../../muxers/yamux" }
4040
quickcheck = "0.9.0"
4141

4242
[build-dependencies]
43-
prost-build = "0.10"
43+
prost-build = "0.11"
4444

4545
[features]
4646
serde = ["_serde", "bytes/serde"]

0 commit comments

Comments
 (0)