Created and recorded by Jaysinh Parmar. July 2021
Objective
Connect to mongoDB in Rust with MongoDB Atlas using their Async API support for Tokio.
Outline
1. Introduce the MongoDB cluster previously created.
2. Install necessary dependencies.
3. Connect to database using Async API.
4. Print list of databases.
5. Create database and collection.
6. Print list of collections.
8. Thank you!
Useful links
https://github.com/mongodb/mongo-rust...
https://docs.mongodb.com/drivers/rust/
https://docs.rs/mongodb/2.0.0-beta.2/...