41 releases

0.4.12 Sep 13, 2024
0.4.11 Feb 20, 2024
0.4.10 Aug 27, 2023
0.4.9 May 27, 2023
0.0.18 May 5, 2020

#278 in HTTP server

Download history 415/week @ 2024-07-17 370/week @ 2024-07-24 216/week @ 2024-07-31 252/week @ 2024-08-07 232/week @ 2024-08-14 287/week @ 2024-08-21 268/week @ 2024-08-28 170/week @ 2024-09-04 450/week @ 2024-09-11 302/week @ 2024-09-18 264/week @ 2024-09-25 199/week @ 2024-10-02 304/week @ 2024-10-09 383/week @ 2024-10-16 300/week @ 2024-10-23 226/week @ 2024-10-30

1,255 downloads per month
Used in 6 crates

Apache-2.0

135KB
2.5K SLoC

cqrs

A lightweight, opinionated CQRS and event sourcing framework targeting serverless architectures.

Command Query Responsibility Segregation (CQRS) is a pattern in Domain Driven Design that uses separate write and read models for application objects and interconnects them with events. Event sourcing uses the generated events as the source of truth for the state of the application.

Together these provide a number of benefits:

  • Removes coupling between tests and application logic allowing limitless refactoring.
  • Greater isolation of the aggregate.
  • Ability to create views that more accurately model our business environment.
  • A horizontally scalable read path.

Things that could be helpful:

Three backing data stores are supported:

Crates.io docs CodeBuild

Dependencies

~2.7–9MB
~81K SLoC