Docs Menu
Docs Home
/ /

MongoDB Rust Driver

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.

Learn how to establish a connection to MongoDB Atlas and begin working with data in the Rust Driver Quick Start section.

See driver syntax examples for common MongoDB commands in the Quick Reference section.

To view a list of new features and changes in each version, see the What's New section.

For fully runnable code examples and explanations of common MongoDB operations, see Usage Examples.

Learn how to perform the following tasks using the Rust driver in the Fundamentals section:

For detailed information about types and methods in the MongoDB Rust Driver, see the API documentation.

For answers to commonly asked questions about the MongoDB Rust Driver, see the FAQ section.

For solutions to some issues you might see when connecting to a MongoDB deployment while using the MongoDB Rust Driver, see Connection Troubleshooting.

To learn about errors you might encounter when using the MongoDB Rust Driver to perform MongoDB operations, see Operation Error Handling.

Learn how to report bugs, contribute to the driver, and find more resources for asking questions in the Issues & Help section.

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.

Visit the Developer Hub to learn more about the MongoDB Rust Driver.

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.

Quick Start →