Add Serde dependencies to Serialize/Deserialize Mongo documents

This commit is contained in:
Victor Mignot 2022-10-18 23:23:11 -04:00
parent b8e5541a7c
commit 1d3905a3b2
No known key found for this signature in database
GPG key ID: FFE4EF056FB5E0D0
2 changed files with 2 additions and 0 deletions

1
Cargo.lock generated
View file

@ -1857,6 +1857,7 @@ name = "yorokobot"
version = "0.1.0"
dependencies = [
"mongodb",
"serde",
"serenity",
"tokio",
]

View file

@ -9,3 +9,4 @@ edition = "2021"
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"
serde = { version = "1.0", features = [ "derive" ] }