From 5635b930c7196ef8f12824341a7bd8b7323aabcd Mon Sep 17 00:00:00 2001 From: Vitalii Kryvenko Date: Mon, 9 Sep 2024 04:54:33 +0300 Subject: [PATCH] ci: add cargo-machete and remove unused deps (#1362) https://github.com/bnjbvr/cargo-machete --- .github/workflows/ci.yml | 7 +++++++ Cargo.toml | 4 +--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b0aa4488..4c4677fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,6 +42,13 @@ jobs: - uses: actions/checkout@v4 - uses: EmbarkStudios/cargo-deny-action@v2 + cargo-machete: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: Swatinem/rust-cache@v2 + - uses: bnjbvr/cargo-machete@v0.6.2 + clippy: runs-on: ubuntu-latest steps: diff --git a/Cargo.toml b/Cargo.toml index d331d8de..f1126d5b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,8 +33,7 @@ lru = "0.12.0" paste = "1.0.2" palette = { version = "0.7.6", optional = true } serde = { version = "1", optional = true, features = ["derive"] } -strum = { version = "0.26", features = ["derive"] } -strum_macros = { version = "0.26.3" } +strum = { version = "0.26.3", features = ["derive"] } termwiz = { version = "0.22.0", optional = true } time = { version = "0.3.11", optional = true, features = ["local-offset"] } unicode-segmentation = "1.10" @@ -50,7 +49,6 @@ argh = "0.1.12" color-eyre = "0.6.2" criterion = { version = "0.5.1", features = ["html_reports"] } crossterm = { version = "0.28.1", features = ["event-stream"] } -derive_builder = "0.20.0" fakeit = "1.1" font8x8 = "0.3.1" futures = "0.3.30"