reminder-bot/Cargo.toml

72 lines
2.4 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-11-16 14:38:30 +00:00
version = "1.7.35"
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"] }
2024-03-24 20:23:16 +00:00
reqwest = { version = "0.12", features = ["json"] }
2023-12-22 19:11:39 +00:00
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"
2024-04-16 10:19:21 +00:00
chrono-tz = { version = "0.9", 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-09-28 13:22:12 +00:00
sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "macros", "mysql", "bigdecimal", "chrono", "migrate"] }
2024-04-16 10:19:21 +00:00
base64 = "0.22"
2024-01-06 19:48:17 +00:00
secrecy = "0.8.0"
futures = "0.3.30"
2024-03-24 20:23:16 +00:00
prometheus = "0.13.3"
rocket = { version = "0.5.0", features = ["tls", "secrets", "json"] }
rocket_dyn_templates = { version = "0.2.0", features = ["tera"] }
2024-03-24 20:23:16 +00:00
serenity = { version = "0.12", default-features = false, features = ["builder", "cache", "client", "gateway", "http", "model", "utils", "rustls_backend"] }
oauth2 = "4"
csv = "1.2"
sd-notify = "0.4.1"
[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"],
2024-03-24 20:55:07 +00:00
["static/css/*", "lib/reminder-rs/static/css", "644"],
["static/favicon/*", "lib/reminder-rs/static/favicon", "644"],
2024-11-14 18:23:34 +00:00
["static/img/**/*", "lib/reminder-rs/static/img", "644"],
2024-03-24 20:55:07 +00:00
["static/js/*", "lib/reminder-rs/static/js", "644"],
["static/webfonts/*", "lib/reminder-rs/static/webfonts", "644"],
["static/site.webmanifest", "lib/reminder-rs/static/site.webmanifest", "644"],
["templates/**/*", "lib/reminder-rs/templates", "644"],
2024-02-24 22:27:29 +00:00
["reminder-dashboard/dist/static/assets/*", "lib/reminder-rs/static/assets", "644"],
["reminder-dashboard/dist/index.html", "lib/reminder-rs/static/index.html", "644"],
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"],
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