Skip to content

Commit

Permalink
protoc isn't needed by libp2p anymore
Browse files Browse the repository at this point in the history
Hasn't been needed since libp2p 0.51.1.

libp2p/rust-libp2p#3312
  • Loading branch information
hrxi authored and jsdanielh committed May 3, 2024
1 parent c5f53a5 commit bdbf5e9
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 22 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/build+test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ jobs:
with:
components: llvm-tools-preview
- uses: Swatinem/rust-cache@v2
- name: Install Protoc
run: sudo apt-get install protobuf-compiler
- name: Install cargo-nextest
run: curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
# Coverage is disabled for now since at the moment it has a considerable performance impact in the CI
Expand Down Expand Up @@ -77,8 +75,6 @@ jobs:
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- name: Install Protoc
run: sudo apt-get install protobuf-compiler
- uses: actions-rs/clippy-check@v1
with:
name: Clippy Report
Expand Down Expand Up @@ -106,8 +102,6 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Install Protoc
run: sudo apt-get install protobuf-compiler
- name: Install wasm-pack
run: cargo install wasm-pack
- name: Compile to wasm and generate bindings
Expand All @@ -130,8 +124,6 @@ jobs:
- name: Set up Rust toolchain
uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Install Protoc
run: sudo apt-get install protobuf-compiler
- name: Build the code
run: cargo build
- name: Executes the 4 validators reconnecting scenario
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/build_crate_features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ jobs:
- name: Set up Rust toolchain
uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Install Protoc
run: sudo apt-get install protobuf-compiler
- name: Set up python
uses: actions/setup-python@v5
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/code_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ jobs:
- uses: taiki-e/install-action@cargo-llvm-cov
- uses: taiki-e/install-action@nextest
- uses: Swatinem/rust-cache@v2
- name: Install Protoc
run: sudo apt-get install protobuf-compiler
- name: Remove possible stale artifacts
run: cargo llvm-cov clean --workspace
- name: Disk Space
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/devnet_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ jobs:
- uses: Swatinem/rust-cache@v2
- name: Optionally patch the source
run: ${{ matrix.pre }}
- name: Install Protoc
run: sudo apt-get install protobuf-compiler
- name: Build the code
run: cargo build --release
- name: Retrieve initial timestamp
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/devnet_scenarios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ jobs:
- uses: Swatinem/rust-cache@v2
- name: Optionally patch the source
run: ${{ matrix.pre }}
- name: Install Protoc
run: sudo apt-get install protobuf-compiler
- name: Build the code
run: cargo build
- name: Retrieve initial timestamp
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/github_release_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install protoc
run: |
sudo apt-get update && sudo apt-get install -y protobuf-compiler
- uses: dtolnay/rust-toolchain@stable
- uses: actions-rs/cargo@v1
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/npm_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:
toolchain: stable
targets: wasm32-unknown-unknown
- uses: Swatinem/rust-cache@v2
- name: Install Protoc
run: sudo apt-get install protobuf-compiler
- uses: jetli/wasm-bindgen-action@v0.2.0
with:
version: 'latest'
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ the following packages are required to be able to compile the source code:
- `cmake`
- `libssl-dev` (in Debian/Ubuntu) or `openssl-devel` (in Fedora/Red Hat)
- `pkg-config`
- `protobuf-compiler`

After installing the previous packages, compiling the project is achieved through [`cargo`](https://doc.rust-lang.org/cargo/):

Expand Down

0 comments on commit bdbf5e9

Please sign in to comment.