discord-bot/Cargo.toml
2025-09-11 11:10:49 +01:00

61 lines
1.2 KiB
TOML

[package]
name = "skynet_discord_bot"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "update_data"
[[bin]]
name = "update_committee"
[[bin]]
name = "update_minecraft"
[[bin]]
name = "update_server-icon"
[[bin]]
name = "cleanup_committee"
# discord library
[dependencies.serenity]
version = "0.12"
default-features = false
features = ["client", "gateway", "rustls_backend", "model", "cache"]
# wolves api
[dependencies]
wolves_oxidised = { git = "https://forgejo.skynet.ie/Skynet/wolves-oxidised.git", features = ["unstable"] }
tokio = { version = "1", features = ["macros", "rt-multi-thread", "full"] }
# to make the http requests
surf = "2.3"
dotenvy = "0.15"
# For sqlite
sqlx = { version = "0.8", features = ["runtime-tokio", "sqlite", "migrate"] }
serde_json = { version = "1.0", features = ["raw_value"] }
# create random strings
rand = "0.9"
# fancy time stuff
chrono = "0.4"
# for email
lettre = "0.11"
maud = "0.27"
toml = "0.9.5"
serde = "1.0"
# for image conversion
eyre = "0.6.12"
color-eyre = "0.6.5"
usvg = "0.45.1"
resvg = "0.45.1"
tiny-skia = "0.11.4"