build: forge only include forgejo crate when feature enabled
This commit is contained in:
parent
5253e136cc
commit
4cd797ac0a
1 changed files with 2 additions and 2 deletions
|
@ -5,13 +5,13 @@ edition = { workspace = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["forgejo"]
|
default = ["forgejo"]
|
||||||
forgejo = []
|
forgejo = ["git-next-forge-forgejo"]
|
||||||
github = []
|
github = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
git-next-config = { workspace = true }
|
git-next-config = { workspace = true }
|
||||||
git-next-git = { workspace = true }
|
git-next-git = { workspace = true }
|
||||||
git-next-forge-forgejo = { workspace = true }
|
git-next-forge-forgejo = { workspace = true, optional = true }
|
||||||
|
|
||||||
# logging
|
# logging
|
||||||
console-subscriber = { workspace = true }
|
console-subscriber = { workspace = true }
|
||||||
|
|
Loading…
Reference in a new issue