how to create a bson::Document from bson::raw::RawDocument in rust?
I’m trying to read from a bson file containing a single bson document (in reality I’d want to read from a byte array passed by the caller). The file was created from a python dict usign the RawBsonDocument class. This is the code used to create the file: import bson from bson.raw_bson import RawBSONDocument docs… Read More how to create a bson::Document from bson::raw::RawDocument in rust?