Reacts to Matrix messages with a cat emoji if they have the word "cat" in them
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

41 lines
1.3 KiB

[package]
name = "cat_disruptor_7000"
version = "0.6.0"
authors = ["Stephen D <@stephen:m.scd31.com>"]
edition = "2018"
[dependencies]
matrix-sdk = { git = "https://github.com/matrix-org/matrix-rust-sdk", features = ["encryption", "sqlite-cryptostore"] }
matrix-sdk-common-macros = { git = "https://github.com/matrix-org/matrix-rust-sdk" }
tokio = { version = "0.2", features = ["full"] }
url = "2.1"
async-trait = "0.1.36"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tracing = "0.1"
tracing-subscriber = "0.2"
uuid = { version = "0.8.1", features = ["v4"] }
statsd = "^0.13.1"
rusqlite = "0.22"
phf = { version = "0.8", features = ["macros"] }
[dependencies.ruma]
git = "https://github.com/ruma/ruma"
features = ["client-api"]
rev = "c19bcaab"
[package.metadata.deb]
maintainer = "Stephen D <@stephen:m.scd31.com>"
copyright = "2020, Stephen D <@stephen:m.scd31.com>"
extended-description = """\
Reacts to matrix messages contaning 'cat' with a cat emoji."""
depends = "systemd"
section = "utility"
priority = "optional"
assets = [
["target/release/cat_disruptor_7000", "usr/bin/", "755"],
["debian/cat-disruptor.service", "/lib/systemd/system/cat-disruptor.service", "644"],
["debian/config.json", "/etc/cat_disruptor_7000/config.json", "644"]
]
conf-files = ["/etc/cat_disruptor_7000/config.json"]
maintainer-scripts = "debian/maintainer_scripts/"