cusku/Cargo.toml

39 lines
1.3 KiB
TOML

[package]
name = "cusku"
version = "0.2.0"
description = "Webhook to XMPP"
edition = "2024"
authors = ["Maxime “pep” Buquet <pep@bouah.net>"]
license = "AGPL-3.0+"
[dependencies]
clap = { version = "4.5", features = [ "cargo" ] }
forgejo-hooks = "*"
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"
bytes = "1"
log = "0.4"
tokio = { version = "1", default-features = false, features = [ "rt", "net", "sync", "fs" ] }
pretty_env_logger = "0.5"
serde = { version = "1.0", features = [ "derive" ] }
serde_json = "1.0"
toml = "1.1"
xmpp = { git = "https://gitlab.com/xmppftw/xmpp-rs", branch = "feat-openssl-vendored", default-features = false, features = [ "serde", "starttls", "rustls-native-certs", "aws_lc_rs" ] }
hmac = "0.13"
sha2 = "0.11"
hex = "0.4"
camino = { version = "1.2", features = ["serde1"] }
chrono = { version = "0.4", default-features = false }
[build-dependencies]
git2 = "0.20"
[patch.crates-io]
forgejo-hooks = { path = "forgejo-hooks" }
[features]
gitlab = [ "dep:gitlab" ]
syntax-highlighting = ["xmpp/syntax-highlighting"]
vendored-openssl = [ "xmpp/vendored-openssl", "git2/vendored-openssl" ]