umadb-dcb

Crates.ioumadb-dcb
lib.rsumadb-dcb
version0.3.3
created_at2025-11-14 22:54:18.780316+00
updated_at2026-01-17 15:30:15.804094+00
descriptionDynamic Consistency Boundary (DCB) API - Core types and traits for UmaDB event store
homepagehttps://umadb.io
repositoryhttps://github.com/umadb-io/umadb
max_upload_size
id1933680
size26,667
John Bywater (johnbywater)

documentation

README

umadb-dcb

Core types and traits for implementing the Dynamic Consistency Boundaries (DCB) API in UmaDB.

Overview

umadb-dcb provides the fundamental types and trait definitions for the Dynamic Consistency Boundaries specification. This crate defines the core abstractions that enable flexible, query-driven consistency rules in event stores.

What is Dynamic Consistency Boundaries?

Dynamic Consistency Boundaries (DCB) is an independent specification created by Bastian Waidelich, Sara Pellegrini, and Paul Grimshaw. It enables event-driven architectures where consistency rules can adapt dynamically to business needs, rather than being hardwired into the database.

Key Types

  • Event types: Core event structures and metadata
  • Query types: Types for querying and filtering events
  • Append conditions: Types for controlling when events can be appended
  • Trait definitions: Core traits for implementing DCB-compliant event stores

Usage

This crate is typically used as a dependency when building DCB-compliant event stores or working with UmaDB:

use umadb_dcb::{
    DCBAppendCondition, DCBError, DCBEvent, DCBEventStoreAsync, DCBEventStoreSync, DCBQuery,
    DCBReadResponseAsync, DCBReadResponseSync, DCBResult, DCBSequencedEvent,
};

Part of UmaDB

This crate is part of UmaDB, a high-performance open-source event store built for Dynamic Consistency Boundaries.

License

Licensed under either of:

at your option.

Commit count: 978

cargo fmt