diff --git a/.github/workflows/build-crates-individually.yml b/.github/workflows/build-crates-individually.yml index 8dd84409..91873f3e 100644 --- a/.github/workflows/build-crates-individually.yml +++ b/.github/workflows/build-crates-individually.yml @@ -110,6 +110,12 @@ jobs: with: persist-credentials: false + - name: Install last version of Protoc + uses: arduino/setup-protoc@v1 + with: + version: '3.x' + repo-token: ${{ secrets.GITHUB_TOKEN }} + - uses: actions-rs/toolchain@v1 with: toolchain: stable diff --git a/.github/workflows/continous-integration-os.yml b/.github/workflows/continous-integration-os.yml index a78dc457..5ab5c8ec 100644 --- a/.github/workflows/continous-integration-os.yml +++ b/.github/workflows/continous-integration-os.yml @@ -78,6 +78,12 @@ jobs: with: persist-credentials: false + - name: Install last version of Protoc + uses: arduino/setup-protoc@v1 + with: + version: '3.x' + repo-token: ${{ secrets.GITHUB_TOKEN }} + - uses: actions-rs/toolchain@v1 with: toolchain: ${{ matrix.rust }} @@ -199,6 +205,12 @@ jobs: with: persist-credentials: false + - name: Install last version of Protoc + uses: arduino/setup-protoc@v1 + with: + version: '3.x' + repo-token: ${{ secrets.GITHUB_TOKEN }} + - uses: actions-rs/toolchain@v1 with: toolchain: stable diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c797c92e..254ec988 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -41,6 +41,12 @@ jobs: with: persist-credentials: false + - name: Install last version of Protoc + uses: arduino/setup-protoc@v1 + with: + version: '3.x' + repo-token: ${{ secrets.GITHUB_TOKEN }} + - name: Install latest beta uses: actions-rs/toolchain@v1 with: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1939d75f..2364dd1c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -68,6 +68,12 @@ jobs: with: persist-credentials: false + - name: Install last version of Protoc + uses: arduino/setup-protoc@v1 + with: + version: '3.x' + repo-token: ${{ secrets.GITHUB_TOKEN }} + - name: Check workflow permissions id: check_permissions uses: scherermichael-oss/action-has-permission@1.0.6 @@ -109,6 +115,12 @@ jobs: with: persist-credentials: false + - name: Install last version of Protoc + uses: arduino/setup-protoc@v1 + with: + version: '3.x' + repo-token: ${{ secrets.GITHUB_TOKEN }} + - uses: actions-rs/toolchain@v1.0.6 with: toolchain: stable @@ -134,6 +146,12 @@ jobs: with: persist-credentials: false + - name: Install last version of Protoc + uses: arduino/setup-protoc@v1 + with: + version: '3.x' + repo-token: ${{ secrets.GITHUB_TOKEN }} + - uses: actions-rs/toolchain@v1.0.6 with: toolchain: stable diff --git a/Cargo.lock b/Cargo.lock index aba817c7..011bc5f5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -806,15 +806,6 @@ dependencies = [ "vec_map", ] -[[package]] -name = "cmake" -version = "0.1.48" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8ad8cef104ac57b68b89df3208164d228503abbdce70f6880ffa3d970e7443a" -dependencies = [ - "cc", -] - [[package]] name = "coarsetime" version = "0.1.21" @@ -891,9 +882,9 @@ dependencies = [ [[package]] name = "console-api" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06c5fd425783d81668ed68ec98408a80498fb4ae2fd607797539e1a9dfa3618f" +checksum = "e57ff02e8ad8e06ab9731d5dc72dc23bef9200778eae1a89d555d8c42e5d4a86" dependencies = [ "prost", "prost-types", @@ -903,9 +894,9 @@ dependencies = [ [[package]] name = "console-subscriber" -version = "0.1.6" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31432bc31ff8883bf6a693a79371862f73087822470c82d6a1ec778781ee3978" +checksum = "22a3a81dfaf6b66bce5d159eddae701e3a002f194d378cbf7be5f053c281d9be" dependencies = [ "console-api", "crossbeam-channel", @@ -3578,9 +3569,9 @@ dependencies = [ [[package]] name = "prost" -version = "0.10.4" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71adf41db68aa0daaefc69bb30bcd68ded9b9abaad5d1fbb6304c4fb390e083e" +checksum = "399c3c31cdec40583bb68f0b18403400d01ec4289c383aa047560439952c4dd7" dependencies = [ "bytes", "prost-derive", @@ -3588,13 +3579,11 @@ dependencies = [ [[package]] name = "prost-build" -version = "0.10.1" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "120fbe7988713f39d780a58cf1a7ef0d7ef66c6d87e5aa3438940c05357929f4" +checksum = "7f835c582e6bd972ba8347313300219fed5bfa52caf175298d860b61ff6069bb" dependencies = [ "bytes", - "cfg-if 1.0.0", - "cmake", "heck 0.4.0", "itertools", "lazy_static", @@ -3610,9 +3599,9 @@ dependencies = [ [[package]] name = "prost-derive" -version = "0.10.1" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b670f45da57fb8542ebdbb6105a925fe571b67f9e7ed9f47a06a84e72b4e7cc" +checksum = "7345d5f0e08c0536d7ac7229952590239e77abf0a0100a1b1d890add6ea96364" dependencies = [ "anyhow", "itertools", @@ -3623,9 +3612,9 @@ dependencies = [ [[package]] name = "prost-types" -version = "0.10.1" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d0a014229361011dc8e69c8a1ec6c2e8d0f2af7c91e3ea3f5b2170298461e68" +checksum = "4dfaa718ad76a44b3415e6c4d53b17c8f99160dcb3a99b10470fce8ad43f6e3e" dependencies = [ "bytes", "prost", @@ -4998,9 +4987,9 @@ dependencies = [ [[package]] name = "tonic" -version = "0.7.2" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5be9d60db39854b30b835107500cf0aca0b0d14d6e1c3de124217c23a29c2ddb" +checksum = "498f271adc46acce75d66f639e4d35b31b2394c295c82496727dafa16d465dd2" dependencies = [ "async-stream", "async-trait", @@ -5030,9 +5019,9 @@ dependencies = [ [[package]] name = "tonic-build" -version = "0.7.2" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9263bf4c9bfaae7317c1c2faf7f18491d2fe476f70c414b73bf5d445b00ffa1" +checksum = "2fbcd2800e34e743b9ae795867d5f77b535d3a3be69fd731e39145719752df8c" dependencies = [ "prettyplease", "proc-macro2 1.0.42", diff --git a/zebrad/Cargo.toml b/zebrad/Cargo.toml index bd2d0360..c660b43f 100644 --- a/zebrad/Cargo.toml +++ b/zebrad/Cargo.toml @@ -139,13 +139,13 @@ proptest = { version = "0.10.1", optional = true } proptest-derive = { version = "0.3.0", optional = true } # test feature tokio-console -console-subscriber = { version = "0.1.6", optional = true } +console-subscriber = { version = "0.1.8", optional = true } [build-dependencies] vergen = { version = "7.4.2", default-features = false, features = ["cargo", "git"] } # test feature lightwalletd-grpc-tests -tonic-build = { version = "0.7.2", optional = true } +tonic-build = { version = "0.8.0", optional = true } [dev-dependencies] abscissa_core = { version = "0.5", features = ["testing"] } @@ -165,8 +165,8 @@ tokio = { version = "1.21.0", features = ["full", "tracing", "test-util"] } tokio-stream = "0.1.9" # test feature lightwalletd-grpc-tests -prost = "0.10.4" -tonic = "0.7.2" +prost = "0.11.0" +tonic = "0.8.0" proptest = "0.10.1" proptest-derive = "0.3.0"