Closed losintikfos closed 2 years ago
I have added wither Cargo definition.
I am going to close this issue as I believe it has nothing to do with wither due to trying to use native mongodb to perform the same classic task and yet the same problem.
FYI for anyone who comes across this issue in the future:
async-std-runtime
, not just async-std
tokio-runtime
is a default flag, in order to use async-std, you also need to pass in default-features = false
I have
mongodb
specified in Cargo as follows:My model is specified with implementation as follows:
Unfortunately the call to
find_one
does not seems to get executed. Any ideas what I might be doing wrong guys? thanks.