matrix-feedbot/Cargo.toml
Mirsal ENNAIME eec85739c2
Initial code dump: matrix feedbot, aka bender
This is a rewrite of our old feedbot in rust, heavily inspired from
rek2's INN matrix bot and making use of some bits from matrix-rust-sdk

This is an asynchronous tokio-based matrix client using a stateless feed
fetcher implementation based on reqwest, it uses feed_rs for parsing RSS
and Atom feeds. State persistence is achieved using a simple file-backed
datastore with serde_yaml as a serialization format.

Published under the GNU General Public License version 3 or later.
2024-11-22 13:01:29 +00:00

19 lines
479 B
TOML

[package]
name = "matrix-feedbot"
version = "0.1.0"
edition = "2021"
license = "GPL-3.0-or-later"
authors = ["mirsal <mirsal@mirsal.fr>"]
[dependencies]
serde = "1.0"
anyhow = "1.0"
chrono = "0.4"
tracing = "0.1"
feed-rs = "2.2"
reqwest = "0.12"
serde_yaml = "0.9"
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" ] }