46 lines
1.5 KiB
TOML
46 lines
1.5 KiB
TOML
[package]
|
|
name = "am-reminder-bot"
|
|
description = "Matrix bot that gives you reminders"
|
|
repostirory = "https://git.nao.sh/amanda/reminder-bot"
|
|
keywords = ["matrix", "bot", "reminder"]
|
|
readme = "README.md"
|
|
license = "EUPL-1.2"
|
|
license-file = "LICENSE"
|
|
version = "0.1.0"
|
|
authors = ["Amanda Graven <amanda@amandag.net>"]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
humantime = "2.1"
|
|
rpassword = "5.0"
|
|
serde_json = "1.0"
|
|
time = "0.2"
|
|
tokio = { version = "1.0", features = ["macros", "time", "rt-multi-thread"]}
|
|
|
|
[dependencies.matrix-sdk]
|
|
git = "https://github.com/matrix-org/matrix-rust-sdk"
|
|
rev = "dbf8cf2"
|
|
default-features = false
|
|
features = ["encryption", "sled_cryptostore", "sled_state_store", "require_auth_for_profile_requests", "rustls-tls"]
|
|
|
|
[package.metadata.deb]
|
|
extended-description = "am-reminder-bot is a matrix bot that autojoins any matrix room its invited to, and lets you schedule reminders."
|
|
depends = "$auto, adduser"
|
|
priority = "optional"
|
|
section = "misc"
|
|
maintainer-scripts = "debian/"
|
|
conf-files = ["/etc/am-reminder-bot/session.json"]
|
|
assets = [
|
|
["target/release/am-reminder-bot", "usr/bin/", "755"],
|
|
["session.sample.json", "/etc/am-reminder-bot/session.json", "600"],
|
|
["README.md", "usr/share/doc/am-reminder-bot/README.md", "644"],
|
|
["debian/copyright", "usr/share/doc/am-reminder-bot/copyright", "644"]
|
|
]
|
|
|
|
[package.metadata.deb.systemd-units]
|
|
unit-scripts = "debian"
|
|
unit-name = "am-reminder-bot"
|
|
start = "false"
|