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:
parent
c03e14758f
commit
b1e00ff026
4 changed files with 272 additions and 1 deletions
21
finito-postgres/Cargo.toml
Normal file
21
finito-postgres/Cargo.toml
Normal 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue