MongoDB Rust Driver
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's Cargo.toml
file or set up a
runnable project by following the Quick Start guide.
Quick Start
Learn how to establish a connection to MongoDB Atlas and begin working with data in the Rust Driver Quick Start section.
Quick Reference
See driver syntax examples for common MongoDB commands in the Quick Reference section.
What's New
To view a list of new features and changes in each version, see the What's New section.
Usage Examples
For fully runnable code examples and explanations of common MongoDB operations, see Usage Examples.
Fundamentals
Learn how to perform the following tasks using the Rust driver in the Fundamentals section:
API
For detailed information about types and methods in the MongoDB Rust Driver, see the API documentation.
FAQ
For answers to commonly asked questions about the MongoDB Rust Driver, see the FAQ section.
Connection Troubleshooting
For solutions to some issues you might see when connecting to a MongoDB deployment while using the MongoDB Rust Driver, see Connection Troubleshooting.
Operation Error Handling
To learn about errors you might encounter when using the MongoDB Rust Driver to perform MongoDB operations, see Operation Error Handling.
Issues & Help
Learn how to report bugs, contribute to the driver, and find more resources for asking questions in the Issues & Help section.
Compatibility
To learn about the versions of the MongoDB Server and the Rust language that are compatible with each version of the Rust driver, see Compatibility.
Learn
Visit the Developer Hub to learn more about the MongoDB Rust Driver.
Developer Hub
The Developer Hub provides tutorials and social engagement for developers.
To learn how to use MongoDB features with the Rust driver, see the Rust page in the MongoDB Developer Center.
To ask questions and engage in discussions with fellow developers who use the Rust driver, see the posts within the Rust tag in the MongoDB Community Forums.