8 releases

0.0.8 May 2, 2024
0.0.7 May 2, 2024
0.0.5 Sep 11, 2023
0.0.3 Jul 20, 2023
0.0.1 Jun 4, 2023

#1960 in Development tools

MIT and GPL-3.0-or-later

401 lines


A library that offers out of the box repository for mongo database(inspired by springboot data)/ The idea is to abstract away some of the boilerplate that you have write for every repository.

Using generics, provide implementation for CRUD operations and exposes methods to get documents by filter for single or multiple documents.


Database Connection

let db = mongo_data::config::init_db(mongo_uri, database_name)
        .expect("could not connect to database");


~1.5M SLoC