If this flag is enabled, the library expects bookmarks to be added to the account itself, and when there's no bookmark for a room, the corresponding room is automatically left. This doesn't work in the case where many instances of the bot are on the same account. It may work in the future if support for various sets of rooms/hooks are added, but for the moment it seemed easier (and maybe also more useful for other users of the xmpp-rs lib) to implement this. Signed-off-by: pep <pep@bouah.net>
33 lines
1 KiB
TOML
33 lines
1 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 = "0.1706"
|
|
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 = "0.9"
|
|
xmpp = { git = "https://gitlab.com/xmpp-rs/xmpp-rs", branch = "xmpp-config", default-features = false, features = [ "serde", "starttls", "rustls-native-certs", "aws_lc_rs" ] }
|
|
hmac = "0.12"
|
|
sha2 = "0.10"
|
|
hex = "0.4"
|
|
camino = { version = "1.2", features = ["serde1"] }
|
|
|
|
[patch.crates-io]
|
|
forgejo-hooks = { path = "forgejo-hooks" }
|
|
|
|
[features]
|
|
syntax-highlighting = ["xmpp/syntax-highlighting"]
|