Compatibility
MongoDB Compatibility
The following compatibility table specifies the versions of the MongoDB Rust Driver you can use with each version of MongoDB.
The first column lists the driver version.
Important
MongoDB ensures compatibility between the MongoDB Server and the drivers for three years after the server version's end of life (EOL) date. To learn more about the MongoDB release and EOL dates, see MongoDB Software Lifecycle Schedules.
Compatibility Table Legend
Icon | Explanation |
---|---|
✓ | All features are supported. |
⊛ | The Driver version will work with the MongoDB version, but not all
new MongoDB features are supported. |
No mark | The Driver version is not tested with the MongoDB version. |
Rust Driver Version | MongoDB 8.0 | MongoDB 7.0 | MongoDB 6.0 | MongoDB 5.0 | MongoDB 4.4 | MongoDB 4.2 | MongoDB 4.0 | MongoDB 3.6 |
---|---|---|---|---|---|---|---|---|
3.1 [1] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | |
3.0 [1] | ⊛ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
2.8 [1] | ⊛ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
2.7 [1] | ⊛ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
2.6 [1] | ⊛ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
2.5 [1] | ⊛ | ⊛ | ⊛ | ✓ | ✓ | ✓ | ✓ | ✓ |
2.4 [2] | ⊛ | ⊛ | ⊛ | ✓ | ✓ | ✓ | ✓ | ✓ |
2.3 [3] | ⊛ | ⊛ | ⊛ | ✓ | ✓ | ✓ | ✓ | ✓ |
2.2 [3] | ⊛ | ⊛ | ⊛ | ✓ | ✓ | ✓ | ✓ | ✓ |
2.1 [4] | ⊛ | ⊛ | ⊛ | ✓ | ✓ | ✓ | ✓ | ✓ |
2.0 [5] | ⊛ | ⊛ | ⊛ | ✓ | ✓ | ✓ | ✓ | ✓ |
The Rust driver is not compatible with MongoDB Server versions older than 3.6.
[1] | (1, 2, 3, 4, 5, 6) This Rust driver version does not support OCSP. |
[2] | This Rust driver version does not support Decimal128 or OCSP. |
[3] | (1, 2) This Rust driver version does not support Decimal128, Client-Side Field Level Encryption, GridFS, or OCSP. |
[4] | This Rust driver version does not support Decimal128, Client-Side Field Level Encryption, GridFS, OCSP, or change streams. |
[5] | This Rust driver version does not support Decimal128, Client-Side Field Level Encryption, GridFS, OCSP, change streams, Causal Consistency, or Serverless Instances. |
Language Compatibility
The MongoDB Rust Driver requires Rust 1.60.0 or later.
For more information on how to read the compatibility tables, see the guide on MongoDB Compatibility Tables.