reminder-bot/Cargo.toml

68 lines
1.9 KiB
TOML
Raw Normal View History

2020-08-06 14:22:13 +00:00
[package]
2024-02-22 18:35:37 +00:00
name = "reminder-rs"
2024-02-22 17:47:40 +00:00
version = "1.7.0-rc1"
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]
2024-02-06 20:08:59 +00:00
poise = "0.6.1"
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-12-22 19:11:39 +00:00
lazy-regex = "3.1"
regex = "1.10"
log = "0.4"
2024-02-20 17:09:50 +00:00
env_logger = "0.11"
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"
2024-02-24 16:10:25 +00:00
sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "macros", "mysql", "bigdecimal", "chrono", "migrate"] }
2024-02-20 17:09:50 +00:00
base64 = "0.21"
2024-01-06 19:48:17 +00:00
secrecy = "0.8.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"
[dependencies.extract_derive]
path = "extract_derive"
[dependencies.recordable_derive]
path = "recordable_derive"
[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"],
2023-10-29 18:27:55 +00:00
["reminder-dashboard/dist/static/**/*", "lib/reminder-rs/static", "644"],
2024-02-24 16:10:25 +00:00
["reminder-dashboard/dist/index.html", "lib/reminder-rs/static/index.html", "644"],
2023-06-17 11:49:01 +00:00
["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"],
2024-02-24 16:10:25 +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