I have some code that im trying to get working where I write something to a mongodb on a button push to a rpi. Im trying to use mongodb rust driver for this but im getting an error with the doc (cannot find macro doc in this scope).
My code is here https://gist.github.com/anonymous/d455b8386dd5d4832784483d4950beb0. I got the driver code from here https://github.com/mongodb-labs/mongo-rust-driver-prototype. The error comes from the let doc = doc! line
Im no longer using the #macro line