build: forge only include forgejo crate when feature enabled

This commit is contained in:
Paul Campbell 2024-05-23 19:41:50 +01:00
parent 5253e136cc
commit 4cd797ac0a

View file

@ -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 }