tvl-depot/finito-postgres/Cargo.toml
Vincent Ambo b748117225 feat(postgres): Introduce database connection pool
Adds an r2d2 database connection pool to the backend type. This makes
it possible for separate FSMs to run at the same time through the same
backend, by retrieving separate connections.
2018-12-13 16:53:54 +01:00

25 lines
469 B
TOML

[package]
name = "finito-postgres"
version = "0.1.0"
authors = ["Vincent Ambo <mail@tazj.in>"]
[dependencies]
chrono = "0.4"
postgres-derive = "0.3"
serde = "1.0"
serde_json = "1.0"
r2d2_postgres = "0.14"
[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"
[dev-dependencies.finito-door]
path = "../finito-door"