From 850e990ab442c948180d2292698863ff35855b17 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 3 Aug 2024 22:49:55 +0100 Subject: [PATCH] refactor: remove unused dependencies --- Cargo.lock | 15 +-------------- crates/cli/Cargo.toml | 7 ------- crates/core/Cargo.toml | 3 +-- crates/forge-forgejo/Cargo.toml | 11 ----------- crates/forge-github/Cargo.toml | 8 -------- 5 files changed, 2 insertions(+), 42 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3525cd2..bb3a3f9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -945,8 +945,6 @@ dependencies = [ "actix-rt", "anyhow", "assert2", - "async-trait", - "base64 0.22.1", "bytes", "clap", "derive-with", @@ -964,7 +962,6 @@ dependencies = [ "rand", "secrecy", "sendmail", - "serde", "serde_json", "standardwebhooks", "test-log", @@ -982,7 +979,6 @@ name = "git-next-core" version = "0.13.0" dependencies = [ "actix", - "actix-rt", "assert2", "async-trait", "derive-with", @@ -999,9 +995,9 @@ dependencies = [ "serde_json", "test-log", "thiserror", + "time", "toml", "tracing", - "tracing-subscriber", "ulid", ] @@ -1011,9 +1007,6 @@ version = "0.13.0" dependencies = [ "assert2", "async-trait", - "base64 0.22.1", - "bytes", - "derive_more", "git-next-core", "kxio", "rand", @@ -1021,9 +1014,7 @@ dependencies = [ "serde", "serde_json", "tokio", - "toml", "tracing", - "ulid", ] [[package]] @@ -1032,8 +1023,6 @@ version = "0.13.0" dependencies = [ "assert2", "async-trait", - "base64 0.22.1", - "bytes", "clap", "derive_more", "git-next-core", @@ -1046,9 +1035,7 @@ dependencies = [ "serde_json", "sha2", "tokio", - "toml", "tracing", - "ulid", ] [[package]] diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index 6b79b6f..c74f1a2 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -31,18 +31,12 @@ kxio = { workspace = true } tracing = { workspace = true } tracing-subscriber = { workspace = true } -# git -async-trait = { workspace = true } - # Conventional Commit check git-conventional = { workspace = true } # TOML parsing toml = { workspace = true } -# base64 decoding -base64 = { workspace = true } - # Actors actix = { workspace = true } actix-rt = { workspace = true } @@ -54,7 +48,6 @@ anyhow = { workspace = true } thiserror = { workspace = true } # Webhooks -serde = { workspace = true } serde_json = { workspace = true } ulid = { workspace = true } time = { workspace = true } diff --git a/crates/core/Cargo.toml b/crates/core/Cargo.toml index ab91cc6..d8112f9 100644 --- a/crates/core/Cargo.toml +++ b/crates/core/Cargo.toml @@ -14,14 +14,12 @@ github = [] [dependencies] # logging tracing = { workspace = true } -tracing-subscriber = { workspace = true } # fs/network kxio = { workspace = true } # Actors actix = { workspace = true } -actix-rt = { workspace = true } # TOML parsing serde = { workspace = true } @@ -37,6 +35,7 @@ async-trait = { workspace = true } # Webhooks ulid = { workspace = true } +time = { workspace = true } # boilerplate derive_more = { workspace = true } diff --git a/crates/forge-forgejo/Cargo.toml b/crates/forge-forgejo/Cargo.toml index 95fa646..7c26dde 100644 --- a/crates/forge-forgejo/Cargo.toml +++ b/crates/forge-forgejo/Cargo.toml @@ -12,9 +12,6 @@ git-next-core = { workspace = true } # logging tracing = { workspace = true } -# base64 decoding -base64 = { workspace = true } - # git async-trait = { workspace = true } @@ -24,18 +21,10 @@ kxio = { workspace = true } # TOML parsing serde = { workspace = true } serde_json = { workspace = true } -toml = { workspace = true } # Secrets and Password secrecy = { workspace = true } -# Webhooks -bytes = { workspace = true } -ulid = { workspace = true } - -# boilerplate -derive_more = { workspace = true } - # # Actors tokio = { workspace = true } diff --git a/crates/forge-github/Cargo.toml b/crates/forge-github/Cargo.toml index 981b451..b8bb1a7 100644 --- a/crates/forge-github/Cargo.toml +++ b/crates/forge-github/Cargo.toml @@ -20,9 +20,6 @@ hmac = { workspace = true } sha2 = { workspace = true } hex = { workspace = true } -# base64 decoding -base64 = { workspace = true } - # git async-trait = { workspace = true } @@ -32,15 +29,10 @@ kxio = { workspace = true } # TOML parsing serde = { workspace = true } serde_json = { workspace = true } -toml = { workspace = true } # Secrets and Password secrecy = { workspace = true } -# Webhooks -bytes = { workspace = true } -ulid = { workspace = true } - # boilerplate derive_more = { workspace = true }