9 releases (4 major breaking)
| 4.3.2 | Jan 30, 2022 |
|---|---|
| 4.2.2 | Jan 29, 2022 |
| 3.1.0 | Jan 23, 2022 |
| 2.1.0 | Jan 18, 2022 |
| 0.1.0 | Dec 31, 2021 |
#36 in #database-schema
34KB
388 lines
This crate provides the macro mongo_db to model a mongoDB database.
Features
Feature flags are documented here.
default
This feature enables the following feature(s):
mongodb-gridfs
mongodb-gridfs
Enabling this feature creates automatic implementations of the then-available trait GridFSDb.
An easy to use extension for the mongodb crate
This Rust crate provides a macro to create a mongodb database setup without any boilerplate.
Supports schema versioning, changing / disabling automatic generation of _id, implementations and much more.
See the crate's documentation for more information.
Dependencies
~27–41MB
~714K SLoC