diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a366e2a501b..8751355061e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -84,8 +84,6 @@ jobs: check-rustdoc-links: name: Check rustdoc intra-doc links runs-on: ubuntu-latest - container: - image: rust steps: - name: Cancel Previous Runs @@ -95,6 +93,12 @@ jobs: - uses: actions/checkout@v3 + - uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7 + with: + profile: minimal + toolchain: stable + override: true + - uses: Swatinem/rust-cache@842ef286fff290e445b90b4002cc9807c3669641 # v1.3.0 - name: Check rustdoc links @@ -128,8 +132,6 @@ jobs: integration-test: name: Integration tests runs-on: ubuntu-latest - container: - image: rust steps: - name: Cancel Previous Runs @@ -139,6 +141,12 @@ jobs: - uses: actions/checkout@v3 + - uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7 + with: + profile: minimal + toolchain: stable + override: true + - uses: Swatinem/rust-cache@842ef286fff290e445b90b4002cc9807c3669641 # v1.3.0 - name: Run ipfs-kad example diff --git a/core/Cargo.toml b/core/Cargo.toml index 0c6fdd0e8e5..37e311862ac 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -56,7 +56,7 @@ rmp-serde = "1.0" serde_json = "1.0" [build-dependencies] -prost-build = "0.9" +prost-build = "0.10" [features] default = [ "secp256k1", "ecdsa" ] diff --git a/protocols/autonat/Cargo.toml b/protocols/autonat/Cargo.toml index beea5a98c4d..52197731ea8 100644 --- a/protocols/autonat/Cargo.toml +++ b/protocols/autonat/Cargo.toml @@ -11,7 +11,7 @@ keywords = ["peer-to-peer", "libp2p", "networking"] categories = ["network-programming", "asynchronous"] [build-dependencies] -prost-build = "0.9" +prost-build = "0.10" [dependencies] async-trait = "0.1" diff --git a/protocols/dcutr/Cargo.toml b/protocols/dcutr/Cargo.toml index 027c625f9bc..2ec1b224a42 100644 --- a/protocols/dcutr/Cargo.toml +++ b/protocols/dcutr/Cargo.toml @@ -26,7 +26,7 @@ unsigned-varint = { version = "0.7", features = ["asynchronous_codec"] } void = "1" [build-dependencies] -prost-build = "0.9" +prost-build = "0.10" [dev-dependencies] env_logger = "0.8.3" diff --git a/protocols/floodsub/Cargo.toml b/protocols/floodsub/Cargo.toml index 69f0105670c..2d433a802bb 100644 --- a/protocols/floodsub/Cargo.toml +++ b/protocols/floodsub/Cargo.toml @@ -22,4 +22,4 @@ rand = "0.7" smallvec = "1.6.1" [build-dependencies] -prost-build = "0.9" +prost-build = "0.10" diff --git a/protocols/gossipsub/Cargo.toml b/protocols/gossipsub/Cargo.toml index 0fdc9f6a45d..20e5b3168f8 100644 --- a/protocols/gossipsub/Cargo.toml +++ b/protocols/gossipsub/Cargo.toml @@ -45,4 +45,4 @@ hex = "0.4.2" derive_builder = "0.11.1" [build-dependencies] -prost-build = "0.9" +prost-build = "0.10" diff --git a/protocols/identify/Cargo.toml b/protocols/identify/Cargo.toml index c529b5887f1..ebcd40f1240 100644 --- a/protocols/identify/Cargo.toml +++ b/protocols/identify/Cargo.toml @@ -28,4 +28,4 @@ libp2p-noise = { path = "../../transports/noise" } libp2p-tcp = { path = "../../transports/tcp" } [build-dependencies] -prost-build = "0.9" +prost-build = "0.10" diff --git a/protocols/kad/Cargo.toml b/protocols/kad/Cargo.toml index 270bc8b4c87..26ec540bfcb 100644 --- a/protocols/kad/Cargo.toml +++ b/protocols/kad/Cargo.toml @@ -40,7 +40,7 @@ libp2p-yamux = { path = "../../muxers/yamux" } quickcheck = "0.9.0" [build-dependencies] -prost-build = "0.9" +prost-build = "0.10" [features] serde = ["_serde", "bytes/serde"] diff --git a/protocols/relay/Cargo.toml b/protocols/relay/Cargo.toml index 6799bd82e50..8c49e41b4f1 100644 --- a/protocols/relay/Cargo.toml +++ b/protocols/relay/Cargo.toml @@ -30,7 +30,7 @@ unsigned-varint = { version = "0.7", features = ["asynchronous_codec"] } void = "1" [build-dependencies] -prost-build = "0.9" +prost-build = "0.10" [dev-dependencies] env_logger = "0.9.0" diff --git a/protocols/rendezvous/Cargo.toml b/protocols/rendezvous/Cargo.toml index d05833bb541..93d6e9877f6 100644 --- a/protocols/rendezvous/Cargo.toml +++ b/protocols/rendezvous/Cargo.toml @@ -34,4 +34,4 @@ rand = "0.8" tokio = { version = "1.15", features = [ "rt-multi-thread", "time", "macros", "sync", "process", "fs", "net" ] } [build-dependencies] -prost-build = "0.9" +prost-build = "0.10" diff --git a/transports/noise/Cargo.toml b/transports/noise/Cargo.toml index 19e5df10351..7dff60f4c69 100644 --- a/transports/noise/Cargo.toml +++ b/transports/noise/Cargo.toml @@ -36,4 +36,4 @@ quickcheck = "0.9.0" sodiumoxide = "0.2.5" [build-dependencies] -prost-build = "0.9" +prost-build = "0.10" diff --git a/transports/plaintext/Cargo.toml b/transports/plaintext/Cargo.toml index d4b3bd51b13..2190c6baadb 100644 --- a/transports/plaintext/Cargo.toml +++ b/transports/plaintext/Cargo.toml @@ -26,4 +26,4 @@ quickcheck = "0.9.0" rand = "0.7" [build-dependencies] -prost-build = "0.9" +prost-build = "0.10"