Skip to content

Commit 2130923

Browse files
ci: remove protoc installation
With all crates have received a release since #3024, building the baseline rustdoc no longer required `protoc` and we can thus remove it from our CI entirely. Resolves #3539. Pull-Request: #3858.
1 parent fa4adc8 commit 2130923

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
env:
3232
CRATE: ${{ matrix.crate }}
3333
steps:
34-
- name: Install Protoc
35-
run: sudo apt-get install -y protobuf-compiler
34+
- name: Install zlib for `libp2p-websocket` # https://github.com/paritytech/soketto/issues/72
35+
run: sudo apt-get install zlib1g-dev --yes
3636

3737
- uses: actions/checkout@v3
3838

transports/websocket/src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ use std::{
5252
///
5353
/// If you don't need Secure Websocket's support, use a plain TCP transport as an inner transport.
5454
///
55+
/// # Dependencies
56+
///
57+
/// This transport requires the `zlib` shared library to be installed on the system.
58+
///
59+
/// Future releases might lift this requirement, see <https://github.com/paritytech/soketto/issues/72>.
60+
///
5561
/// # Examples
5662
///
5763
/// Secure Websocket transport:

0 commit comments

Comments
 (0)