# indexdb-es > An IndexDB implementation of the `PersistedEventRepository` trait in cqrs-es. --- ## Usage Add to your Cargo.toml file: ```toml [dependencies] cqrs-es = "0.4.10" indexdb-es = "0.4.10" ``` A simple configuration example: ```rs let cqrs = indexdb_es::indexdb_cqrs(vec![]) ``` Things that could be helpful: - [User guide](https://doc.rust-cqrs.org) along with an introduction to CQRS and event sourcing. - [Demo application](https://github.com/serverlesstechnology/cqrs-demo) using the warp http server. - [Change log](https://github.com/serverlesstechnology/cqrs/blob/main/docs/versions/change_log.md) [![Crates.io](https://img.shields.io/crates/v/indexdb-es)](https://crates.io/crates/indexdb-es) [![docs](https://img.shields.io/badge/API-docs-blue.svg)](https://docs.rs/indexdb-es)