diff --git a/.rustfmt.toml b/.rustfmt.toml index 967b762..2279412 100644 --- a/.rustfmt.toml +++ b/.rustfmt.toml @@ -7,4 +7,5 @@ fn_params_layout = "Compressed" struct_lit_width = 0 tab_spaces = 2 use_small_heuristics = "Max" -imports_granularity = "Crate" +# imports_granularity = "Crate" + diff --git a/Cargo.toml b/Cargo.toml index 7b207b7..ed5f89e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,21 +19,24 @@ 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"] - [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"] } -# to make the http requests +# 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"