feat: gitlab feature

This commit is contained in:
xmppftw xmppftw 2026-06-23 17:13:42 +02:00
commit d54ef5f265
3 changed files with 6 additions and 3 deletions

View file

@ -9,7 +9,7 @@ license = "AGPL-3.0+"
[dependencies]
clap = { version = "4.5", features = [ "cargo" ] }
forgejo-hooks = "*"
gitlab = "0.1706"
gitlab = { version = "0.1706", optional = true }
hyper = { version = "1.6", default-features = false, features = [ "http1", "server" ] }
hyper-util = { version = "0.1", features = [ "tokio" ] }
http-body-util = "0.1"
@ -34,4 +34,5 @@ git2 = "0.20"
forgejo-hooks = { path = "forgejo-hooks" }
[features]
gitlab = [ "dep:gitlab" ]
syntax-highlighting = ["xmpp/syntax-highlighting"]