Only import what serenity need

This commit is contained in:
Mylloon 2022-01-04 20:32:40 +01:00
parent f897c54ce9
commit fcb55609e2
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 1 additions and 27 deletions

26
Cargo.lock generated
View file

@ -118,17 +118,6 @@ dependencies = [
"winapi", "winapi",
] ]
[[package]]
name = "command_attr"
version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a6c3666f685cb1efc0628b8c984dbad9c372d080450736c7732089c385ed81d"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]] [[package]]
name = "core-foundation" name = "core-foundation"
version = "0.9.2" version = "0.9.2"
@ -1156,19 +1145,16 @@ dependencies = [
"bitflags", "bitflags",
"bytes 1.1.0", "bytes 1.1.0",
"chrono", "chrono",
"command_attr",
"flate2", "flate2",
"futures", "futures",
"percent-encoding", "percent-encoding",
"reqwest", "reqwest",
"serde", "serde",
"serde_json", "serde_json",
"static_assertions",
"tokio", "tokio",
"tracing", "tracing",
"typemap_rev", "typemap_rev",
"url", "url",
"uwl",
] ]
[[package]] [[package]]
@ -1221,12 +1207,6 @@ version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
[[package]]
name = "static_assertions"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
[[package]] [[package]]
name = "syn" name = "syn"
version = "1.0.84" version = "1.0.84"
@ -1504,12 +1484,6 @@ version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
[[package]]
name = "uwl"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f4bf03e0ca70d626ecc4ba6b0763b934b6f2976e8c744088bb3c1d646fbb1ad0"
[[package]] [[package]]
name = "vcpkg" name = "vcpkg"
version = "0.2.15" version = "0.2.15"

View file

@ -23,4 +23,4 @@ chrono = "0.4.19"
serde_json = "1.0.74" serde_json = "1.0.74"
# Discord # Discord
serenity = "0.10" serenity = { version = "0.10", default-features = false, features = ["client", "gateway", "rustls_backend", "model"] }