[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_users"

[[bin]]
name = "update_committee"

[[bin]]
name = "update_minecraft"

[dependencies]
# discord library
serenity = { version = "0.12", default-features = false, features = ["client", "gateway", "rustls_backend", "model", "cache"] }
tokio = { version = "1", features = ["macros", "rt-multi-thread", "full"] }

# wolves api
wolves_oxidised = { git = "https://forgejo.skynet.ie/Skynet/wolves-oxidised.git", features = ["unstable"] }
# wolves_oxidised = { path = "../wolves-oxidised", features = ["unstable"] }

#  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"

serde = "1.0"