From 523e93eb4b75d5bc7f1a96529b5210b81ce6025b Mon Sep 17 00:00:00 2001 From: Adam Spofford <93943719+adamspofford-dfinity@users.noreply.github.com> Date: Thu, 24 Aug 2023 17:27:13 -0700 Subject: [PATCH] chore: Fix clippy in CI (#464) * Fix clippy in CI --- .github/workflows/lint.yml | 2 +- Cargo.toml | 2 +- ic-utils/Cargo.toml | 2 +- icx/Cargo.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d7976a84..45163222 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -29,7 +29,7 @@ jobs: rustup default ${{ matrix.rust }} rustup target add wasm32-unknown-unknown - name: Run Lint - run: cargo clippy --verbose --tests --benches -- -D clippy::all + run: cargo clippy --verbose --tests --benches -- -D warnings env: RUST_BACKTRACE: 1 - name: Run Lint (WASM) diff --git a/Cargo.toml b/Cargo.toml index 9efda55f..8b575643 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ rust-version = "1.65.0" license = "Apache-2.0" [workspace.dependencies] -ic-agent = { path = "ic-agent", version = "0.26.1" } +ic-agent = { path = "ic-agent", version = "0.26.1", default-features = false } ic-utils = { path = "ic-utils", version = "0.26.1" } ic-certification = { path = "ic-certification", version = "0.26.1" } diff --git a/ic-utils/Cargo.toml b/ic-utils/Cargo.toml index a94cd2d3..6ed998b4 100644 --- a/ic-utils/Cargo.toml +++ b/ic-utils/Cargo.toml @@ -30,7 +30,7 @@ semver = "1.0.7" once_cell = "1.10.0" [dev-dependencies] -ic-agent = { workspace = true } +ic-agent = { workspace = true, default-features = true } ring = { workspace = true } tokio = { workspace = true, features = ["full"] } diff --git a/icx/Cargo.toml b/icx/Cargo.toml index 07de029b..e207a64c 100644 --- a/icx/Cargo.toml +++ b/icx/Cargo.toml @@ -24,7 +24,7 @@ candid = { workspace = true, features = ["parser"] } clap = { version = "3.0.14", features = ["derive", "cargo"] } hex = { workspace = true } humantime = "2.0.1" -ic-agent = { workspace = true } +ic-agent = { workspace = true, default-features = true } ic-utils = { workspace = true } ring = { workspace = true } serde = { workspace = true }