Skip to content

Commit

Permalink
Add protocol compliant PostgresKvStore impl.
Browse files Browse the repository at this point in the history
This impl is protocol compliant but missing a few
key optimizations and error handling.
  • Loading branch information
G8XSU committed Dec 12, 2024
1 parent cb4b915 commit 96290a3
Show file tree
Hide file tree
Showing 3 changed files with 384 additions and 9 deletions.
9 changes: 9 additions & 0 deletions rust/impls/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,12 @@ edition = "2021"
[dependencies]
async-trait = "0.1.77"
api = { path = "../api" }
chrono = "0.4.38" #TODO: Evaluate if necessary.
tokio-postgres = { version = "0.7.12", features = ["with-chrono-0_4"] }
bb8 = "0.7"
bb8-postgres = "0.7"
bytes = "1.4.0"

[dev-dependencies]
tokio = { version = "1.38.0", default-features = false, features = ["rt-multi-thread", "macros"] }
api = { path = "../api", features = ["_test_utils"] }
3 changes: 3 additions & 0 deletions rust/impls/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@

/// Contains [PostgreSQL](https://www.postgresql.org/) based backend implementation for VSS.
pub mod postgres_store;

#[macro_use]
extern crate api;
Loading

0 comments on commit 96290a3

Please sign in to comment.