Adding futures to dependencies

This commit is contained in:
Victor Mignot 2022-11-19 18:53:16 -05:00
parent 971562734f
commit cfd481a86f
No known key found for this signature in database
GPG key ID: FFE4EF056FB5E0D0
2 changed files with 4 additions and 1 deletions

2
Cargo.lock generated
View file

@ -369,6 +369,7 @@ checksum = "38390104763dc37a5145a53c29c63c1290b5d316d6086ec32c293f6736051bb0"
dependencies = [
"futures-channel",
"futures-core",
"futures-executor",
"futures-io",
"futures-sink",
"futures-task",
@ -2124,6 +2125,7 @@ dependencies = [
name = "yorokobot"
version = "0.1.0"
dependencies = [
"futures",
"log",
"log4rs",
"mongodb",

View file

@ -8,7 +8,8 @@ edition = "2021"
[dependencies]
serenity = { version="0.11", default-features = false, features = ["client", "gateway", "rustls_backend", "model" ] }
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
mongodb = "2.3.0"
mongodb = { version = "2.3.0", default-features = false, features = ["tokio-runtime"] }
serde = { version = "1.0", features = [ "derive" ] }
log4rs = { version = "1.2.0", features = [ "console_appender", "rolling_file_appender", "compound_policy", "fixed_window_roller", "size_trigger", "gzip", "background_rotation" ] }
log = "0.4.17"
futures = "0.3.25"