Add Serde dependencies to Serialize/Deserialize Mongo documents
This commit is contained in:
parent
b8e5541a7c
commit
1d3905a3b2
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -1857,6 +1857,7 @@ name = "yorokobot"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"mongodb",
|
"mongodb",
|
||||||
|
"serde",
|
||||||
"serenity",
|
"serenity",
|
||||||
"tokio",
|
"tokio",
|
||||||
]
|
]
|
||||||
|
|
|
@ -9,3 +9,4 @@ edition = "2021"
|
||||||
serenity = { version="0.11", default-features = false, features = ["client", "gateway", "rustls_backend", "model" ] }
|
serenity = { version="0.11", default-features = false, features = ["client", "gateway", "rustls_backend", "model" ] }
|
||||||
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
|
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
|
||||||
mongodb = "2.3.0"
|
mongodb = "2.3.0"
|
||||||
|
serde = { version = "1.0", features = [ "derive" ] }
|
||||||
|
|
Loading…
Reference in a new issue