From 4cd797ac0a90516eabfb031132739614d87426fc Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Thu, 23 May 2024 19:41:50 +0100 Subject: [PATCH] build: forge only include forgejo crate when feature enabled --- crates/forge/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/forge/Cargo.toml b/crates/forge/Cargo.toml index 2d49389..407f512 100644 --- a/crates/forge/Cargo.toml +++ b/crates/forge/Cargo.toml @@ -5,13 +5,13 @@ edition = { workspace = true } [features] default = ["forgejo"] -forgejo = [] +forgejo = ["git-next-forge-forgejo"] github = [] [dependencies] git-next-config = { workspace = true } git-next-git = { workspace = true } -git-next-forge-forgejo = { workspace = true } +git-next-forge-forgejo = { workspace = true, optional = true } # logging console-subscriber = { workspace = true }