From fd4b5184fea05b3d6d8bdf5a9601e76a5342783e Mon Sep 17 00:00:00 2001 From: tec <tec@ucc.gu.uwa.edu.au> Date: Mon, 8 Mar 2021 12:38:59 +0800 Subject: [PATCH] Serenity flags: we're not using the framework So set features to default -framework --- Cargo.lock | 26 -------------------------- Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 27 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3980db1..c987e75 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -181,17 +181,6 @@ dependencies = [ "generic-array", ] -[[package]] -name = "command_attr" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef54b146e4ff8a036b9d632fd48c183c9757992535e5f557275f4a01dfd9c7c7" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "const_fn" version = "0.4.5" @@ -1395,20 +1384,17 @@ dependencies = [ "bitflags", "bytes 1.0.1", "chrono", - "command_attr", "flate2", "futures", "percent-encoding", "reqwest", "serde", "serde_json", - "static_assertions", "tokio", "tracing", "tracing-futures", "typemap_rev", "url", - "uwl", ] [[package]] @@ -1473,12 +1459,6 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" -[[package]] -name = "static_assertions" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" - [[package]] name = "syn" version = "1.0.60" @@ -1815,12 +1795,6 @@ version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "05e42f7c18b8f902290b009cde6d651262f956c98bc51bca4cd1d511c9cd85c7" -[[package]] -name = "uwl" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4bf03e0ca70d626ecc4ba6b0763b934b6f2976e8c744088bb3c1d646fbb1ad0" - [[package]] name = "vcpkg" version = "0.2.11" diff --git a/Cargo.toml b/Cargo.toml index 430f008..562720f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ regex = "1.4.3" reqwest = "0.11.0" serde = "1.0.118" serde_yaml = "0.8.15" -serenity = "0.10.1" +serenity = { version = "0.10.1", default-features = false, features = ["builder", "cache", "client", "gateway", "model", "http", "utils", "rustls_backend"]} simplelog = "0.9.0" tokio = { version = "1", features = ["full"] } url = "2.2.0" -- GitLab