reminder-bot/Cargo.toml

59 lines
1.6 KiB
TOML
Raw Normal View History

2020-08-06 14:22:13 +00:00
[package]
2023-05-07 19:38:08 +00:00
name = "reminder-rs"
version = "1.6.44"
authors = ["Jude Southworth <judesouthworth@pm.me>"]
2022-12-10 15:38:21 +00:00
edition = "2021"
2023-05-07 19:38:08 +00:00
license = "AGPL-3.0 only"
description = "Reminder Bot for Discord, now in Rust"
2020-08-06 14:22:13 +00:00
[dependencies]
2023-09-23 17:29:25 +00:00
poise = "0.5"
2020-08-06 14:22:13 +00:00
dotenv = "0.15"
tokio = { version = "1", features = ["process", "full"] }
2021-02-11 23:30:44 +00:00
reqwest = "0.11"
2023-09-23 17:29:25 +00:00
lazy-regex = "3.0.2"
2023-09-24 13:53:16 +00:00
regex = "1.9"
log = "0.4"
env_logger = "0.10"
2020-08-18 19:09:21 +00:00
chrono = "0.4"
chrono-tz = { version = "0.8", features = ["serde"] }
lazy_static = "1.4"
num-integer = "0.1"
serde = "1.0"
serde_json = "1.0"
serde_repr = "0.1"
rmp-serde = "1.1"
2022-08-14 15:22:00 +00:00
rand = "0.8"
levenshtein = "1.0"
2023-09-23 17:29:25 +00:00
sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "macros", "mysql", "bigdecimal", "chrono", "migrate"]}
2023-06-20 07:50:12 +00:00
base64 = "0.21.0"
2020-10-26 11:10:00 +00:00
2022-02-06 15:47:59 +00:00
[dependencies.postman]
path = "postman"
2022-02-11 17:44:08 +00:00
[dependencies.reminder_web]
path = "web"
[package.metadata.deb]
2023-06-12 14:41:34 +00:00
depends = "$auto, python3-dateparser (>= 1.0.0)"
2023-05-07 20:08:59 +00:00
suggests = "mysql-server-8.0, nginx"
maintainer-scripts = "debian"
assets = [
["target/release/reminder-rs", "usr/bin/reminder-rs", "755"],
2023-06-17 11:49:01 +00:00
["conf/default.env", "etc/reminder-rs/config.env", "600"],
["conf/Rocket.toml", "etc/reminder-rs/Rocket.toml", "600"],
2023-06-17 11:49:01 +00:00
["web/static/**/*", "lib/reminder-rs/static", "644"],
["web/templates/**/*", "lib/reminder-rs/templates", "644"],
2023-06-23 08:39:09 +00:00
["healthcheck", "lib/reminder-rs/healthcheck", "755"],
["cron.d/reminder_health", "etc/cron.d/reminder_health", "644"],
2023-05-07 20:08:59 +00:00
# ["nginx/reminder-rs", "etc/nginx/sites-available/reminder-rs", "755"]
]
2023-06-17 11:49:01 +00:00
conf-files = [
"/etc/reminder-rs/config.env",
"/etc/reminder-rs/Rocket.toml",
]
[package.metadata.deb.systemd-units]
unit-scripts = "systemd"
start = false