Skip to content

Commit

Permalink
remove capnp dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-maron committed Apr 1, 2024
1 parent 416e2e1 commit 419abbe
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 36 deletions.
8 changes: 0 additions & 8 deletions .github/actions/install-capnp/action.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install capnproto
uses: ./.github/actions/install-capnp

# See https://github.com/rustsec/audit-check for docs
- uses: rustsec/audit-check@v1
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ jobs:
with:
prefix-key: v1-rust

- name: Install capnproto
uses: ./.github/actions/install-capnp

- name: Build
# Build in release without `testing` feature, this should work without `hotshot_example` config.
run: |
Expand Down Expand Up @@ -87,10 +84,6 @@ jobs:
with:
submodules: recursive

- name: Install Capn Proto
run: |
apt-get update && apt-get install -y capnproto
- name: Enable Rust Caching
uses: Swatinem/rust-cache@v2

Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ jobs:
- uses: Swatinem/rust-cache@v2
name: Enable Rust Caching

- name: Install capnproto
uses: ./.github/actions/install-capnp

- name: Format Check
run: cargo fmt -- --check

Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/test-demo-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ jobs:
- name: Enable Rust Caching
uses: Swatinem/rust-cache@v2

- name: Install capnproto
uses: ./.github/actions/install-capnp

- name: Build
run: cargo build --release

Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ jobs:
- name: Enable Rust Caching
uses: Swatinem/rust-cache@v2

- name: Install capnproto
uses: ./.github/actions/install-capnp

- name: Test
# Build test binary with `testing` feature, which requires `hotshot_example` config
run: |
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/unused-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ jobs:

- uses: Swatinem/rust-cache@v2

- name: Install capnproto
uses: ./.github/actions/install-capnp

- name: Run cargo-udeps
uses: aig787/cargo-udeps-action@v1
with:
Expand Down
1 change: 0 additions & 1 deletion cross-shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ pkgs.mkShell {
# Crate dependencies
cargoDeps.openssl-sys
protobuf # required by libp2p
capnproto

openssh
];
Expand Down
2 changes: 1 addition & 1 deletion doc/ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
## Install system dependencies

sudo apt-get update
sudo apt-get install -y curl cmake pkg-config libssl-dev protobuf-compiler git postgresql-client lsb-release gpg capnproto
sudo apt-get install -y curl cmake pkg-config libssl-dev protobuf-compiler git postgresql-client lsb-release gpg

## Install just

Expand Down
4 changes: 0 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@
protobuf # to compile libp2p-autonat
stableToolchain
jq
capnproto

# Rust tools
cargo-audit
Expand Down Expand Up @@ -252,7 +251,6 @@
curl
protobuf # to compile libp2p-autonat
toolchain
capnproto
];
inherit RUST_LOG RUST_BACKTRACE RUSTFLAGS CARGO_TARGET_DIR;
};
Expand All @@ -267,7 +265,6 @@
openssl
curl
protobuf # to compile libp2p-autonat
capnproto
toolchain
grcov
];
Expand All @@ -292,7 +289,6 @@
openssl
curl
protobuf # to compile libp2p-autonat
capnproto
stableToolchain
];
inherit RUST_LOG RUST_BACKTRACE RUSTFLAGS CARGO_TARGET_DIR;
Expand Down

0 comments on commit 419abbe

Please sign in to comment.