diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 50c278cf..a95e9107 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,11 +43,6 @@ jobs: run: | rustup toolchain install stable --profile minimal --target ${{ matrix.target }} --no-self-update - - name: Install protoc - uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - # Ensure a clean build on release, use caches when building main. - uses: swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1 if: ${{ !startsWith(github.ref, 'refs/heads/release/') }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8429826a..47f27562 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,11 +36,6 @@ jobs: rustup toolchain install stable --profile minimal --no-self-update rustup component add clippy rustfmt rust-docs --toolchain stable - - name: Install protoc - uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - - uses: swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1 with: key: ${{ github.job }} @@ -126,11 +121,6 @@ jobs: rustup toolchain install stable --profile minimal --no-self-update rustup component add llvm-tools-preview - - name: Install protoc - uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - - uses: swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1 with: key: ${{ github.job }} @@ -169,11 +159,6 @@ jobs: run: | rustup toolchain install stable --profile minimal --no-self-update - - name: Install protoc - uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - - uses: swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1 - name: Build server binary @@ -216,11 +201,6 @@ jobs: - name: Install Rust Toolchain run: rustup toolchain install stable --profile minimal --component rust-docs --no-self-update - - name: Install protoc - uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - - uses: swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1 with: key: ${{ github.job }} diff --git a/Dockerfile.cross b/Dockerfile.cross index 7ffe2e99..589524bd 100644 --- a/Dockerfile.cross +++ b/Dockerfile.cross @@ -4,7 +4,7 @@ FROM rust:slim-bookworm RUN dpkg --add-architecture amd64 \ && apt-get update -qq \ && apt-get upgrade -y \ - && apt-get install -y --no-install-recommends make protobuf-compiler libprotobuf-dev pkg-config git libssl-dev:amd64 libcurl4-openssl-dev:amd64 gcc-x86-64-linux-gnu g++-x86-64-linux-gnu \ + && apt-get install -y --no-install-recommends make pkg-config git libssl-dev:amd64 libcurl4-openssl-dev:amd64 gcc-x86-64-linux-gnu g++-x86-64-linux-gnu \ && rm -rf /var/lib/apt/lists/* RUN rustup target add x86_64-unknown-linux-gnu diff --git a/README.md b/README.md index a19a25a4..fc242bce 100644 --- a/README.md +++ b/README.md @@ -113,8 +113,8 @@ for detailed setup and usage instructions. ## Building -Ensure `protoc` and the latest stable Rust toolchain are installed on your -machine. A release build can be created with: +Ensure the latest stable Rust toolchain is installed on your machine. A release +build can be created with: ```sh cargo build --release --locked