Introduction
Welcome to the documentation site for the official MongoDB Rust Driver.You can add the driver to your application to work with MongoDB in Rust.Import it by adding it to your project'sCargo.toml
file or set up arunnable project by following the Quick Start guide.
Quick Start
Learn how to establish a connection to MongoDB Atlas and beginworking with data in theRust Driver Quick Start section.
Quick Reference
See driver syntax examples for common MongoDB commands in theQuick Reference section.
What's New
To view a list of new features and changes in each version, see theWhat's New section.
Usage Examples
For fully runnable code examples and explanations of commonMongoDB operations, seeUsage Examples.
Fundamentals
Learn how to perform the following tasks using the Rust driver in theFundamentals section:
API
For detailed information about types and methods in the MongoDB Rust Driver,see theAPI documentation.
FAQ
For answers to commonly asked questions about the MongoDB Rust Driver, seetheFAQ section.
Connection Troubleshooting
For solutions to some issues you might see when connecting to a MongoDBdeployment while using the MongoDB Rust Driver, seeConnection Troubleshooting.
Operation Error Handling
To learn about errors you might encounter when using the MongoDB Rust Driverto perform MongoDB operations, seeOperation Error Handling.
Issues & Help
Learn how to report bugs, contribute to the driver, and findmore resources for asking questions in theIssues & Help section.
Compatibility
To learn about the versions of the MongoDB Server and the Rust languagethat are compatible with each version of the Rust driver, seeCompatibility.
Learn
Visit the Developer Hub to learn more about the MongoDB Rust Driver.
Developer Hub
The Developer Hub provides tutorials and social engagement fordevelopers.
To learn how to use MongoDB features with the Rust driver, see theRust page in theMongoDB Developer Center.
To ask questions and engage in discussions with fellow developers whouse the Rust driver, see theposts within the Rust tag in the MongoDBCommunity Forums.