eventful-sql-server 0.2.1

A library for event sourcing in Rust
Documentation
# eventful

This is an event sourcing system for rust. Inspired by Akka persistence, Titanclass edfsm, and Heiko Seeberger's
EventSourced. I'll add links here soon to those projects and eventually some info about where this differs from those.

## Usage

Don't use this yet. It's not nearly feature complete, is utterly untested, and is definitely not suitable for production
use.

# SQL Server Setup

```sql
create table journal
(
    offset         bigint      not null primary key,
    entity_type    varchar(32) not null,
    persistence_id varchar(32) not null,
    event_type     varchar(32) not null,
    message        varbinary(8000) not null,
    deleted        bit null default 0,
    event_date     datetime2   not null,
);

create table snapshot
(
    name   varchar(64) not null primary key,
    offset bigint      not null,
    value  varbinary( max) not null,
);
```