batpak 0.8.2

Event sourcing with causal graphs and caller-defined gates. Sync API, no async runtime.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use batpak::store::delivery::observation::{AtLeastOnce, CheckpointId, IdempotencyKey, ObservedOnce};

fn main() {
    let _forged = ObservedOnce {
        _seal: (),
        at_least_once: AtLeastOnce::new(
            CheckpointId::new("obs-forge").expect("valid checkpoint id"),
        ),
        idempotency_key: IdempotencyKey::from_bytes([9; 32]),
    };
}