feat: switched over to using a library to interact with teh wolves API

This commit is contained in:
silver 2024-11-23 21:53:30 +00:00
parent 77a7b7b81d
commit ca55a78447
Signed by untrusted user: silver
GPG key ID: 36F93D61BAD3FD7D
4 changed files with 85 additions and 255 deletions

View file

@ -18,7 +18,10 @@ name = "update_minecraft"
# discord library
serenity = { version = "0.11.6", default-features = false, features = ["client", "gateway", "rustls_backend", "model", "cache"] }
tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "full"] }
reqwest = { version = "0.12", features = ["json"] }
# wolves api
# TODO: move off of unstable
wolves_oxidised = { git = "https://forgejo.skynet.ie/Skynet/wolves-oxidised.git", features = ["unstable"]}
# to make the http requests
surf = "2.3.2"