Adding mongo_driver library as a dependency

Run this command in a terminal, in your project's directory:

cargo add mongo_driver

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

mongo_driver = "0.16.3"

The mongo_driver library will be automatically available globally.

Back to the crate overview.