feat(postgres): Bootstrap Postgres persistence implementation

Adds the initial finito-postgres crate with type definitions for the
tables and initial functions to interact with persisted FSMs.

This is far from feature complete at this commit.
This commit is contained in:
Vincent Ambo 2018-09-26 16:53:04 +02:00
parent c03e14758f
commit b1e00ff026
4 changed files with 272 additions and 1 deletions

View file

@ -0,0 +1,21 @@
[package]
name = "finito-postgres"
version = "0.1.0"
authors = ["Vincent Ambo <vincent@aprila.no>"]
[dependencies]
chrono = "0.4"
serde = "1.0"
serde_json = "1.0"
postgres-derive = "0.3"
[dependencies.postgres]
version = "0.15"
features = [ "with-uuid", "with-chrono", "with-serde_json" ]
[dependencies.uuid]
version = "0.5"
features = [ "v4" ]
[dependencies.finito]
path = "../finito-core"