10 unstable releases (3 breaking)
|0.4.4||Nov 26, 2020|
|0.4.3||Nov 16, 2020|
|0.4.2||Aug 19, 2020|
|0.4.0||Jul 3, 2020|
|0.1.0||Jun 17, 2020|
#117 in Database interfaces
278 downloads per month
A thin ODM layer for MongoDB built upon the official Rust driver.
- A stronger API leveraging Rust type system
- Data structure models are defined using the well-known
- Index support on top of the
Database::run_command(index management is currently not implemented in the underlying driver)
- Indexes synchronization
- Additional compile-time checks for queries using macros and type associated to mongo operators (eg:
Andinstead of "$and")
Some tests can be run with
cargo test however most of the useful tests requires a Mongo database running and exposed on
These integration tests are run with
cargo test -- --ignored.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.