From 0c7a61fbf2f7dee79cd843f6c23979f22d4e2461 Mon Sep 17 00:00:00 2001 From: Roman Moisieiev Date: Thu, 11 Sep 2025 10:34:04 +0100 Subject: [PATCH] Use the longer format for some dependencies for compatibility with Taplo --- Cargo.toml | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ed5f89e..7b207b7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,24 +19,21 @@ name = "update_server-icon" [[bin]] name = "cleanup_committee" -[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"] } +[dependencies.serenity] +version = "0.12" +default-features = false +features = ["client", "gateway", "rustls_backend", "model", "cache"] # wolves api -wolves_oxidised = { git = "https://forgejo.skynet.ie/Skynet/wolves-oxidised.git", features = [ - "unstable", -] } -# wolves_oxidised = { path = "../wolves-oxidised", features = ["unstable"] } +[dependencies.wolves_oxidised] +git = "https://forgejo.skynet.ie/Skynet/wolves-oxidised.git" +features = ["unstable"] -# to make the http requests +[dependencies] +tokio = { version = "1", features = ["macros", "rt-multi-thread", "full"] } + +# to make the http requests surf = "2.3" dotenvy = "0.15"