Initial release
This is a matrix bot which announces the lol hackerspace's open / closed state to a list of matrix rooms, it is based on rumqtt and matrix-rust-sdk. The bot connects to the configured matrix homeserver and an MQTT broker broadcasting changes in the door sensor state
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
[package]
|
||||
name = "matrix-lolopener"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
license = "GPL-3.0-or-later"
|
||||
authors = ["mirsal <mirsal@mirsal.fr>"]
|
||||
|
||||
[dependencies]
|
||||
rand = "0.8"
|
||||
serde = "1.0"
|
||||
anyhow = "1.0"
|
||||
tracing = "0.1"
|
||||
serde_yaml = "0.9"
|
||||
serde_json = "1.0"
|
||||
tracing-subscriber = "0.3.18"
|
||||
tokio = { version = "1.41", features = ["macros", "rt-multi-thread"] }
|
||||
matrix-sdk = { version = "0.8.0", default-features = false, features = [ "native-tls", "anyhow", "markdown" ] }
|
||||
rumqttc = "0.25"
|
||||
Reference in New Issue
Block a user