Skip to content

Commit 59e0d58

Browse files
authored
Merge pull request #35 from G8XSU/rust-postgres
Add protocol compliant PostgresKvStore impl.
2 parents fd36e99 + 31562e0 commit 59e0d58

File tree

3 files changed

+395
-9
lines changed

3 files changed

+395
-9
lines changed

rust/impls/Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,11 @@ edition = "2021"
66
[dependencies]
77
async-trait = "0.1.77"
88
api = { path = "../api" }
9+
chrono = "0.4.38"
10+
tokio-postgres = { version = "0.7.12", features = ["with-chrono-0_4"] }
11+
bb8-postgres = "0.7"
12+
bytes = "1.4.0"
13+
14+
[dev-dependencies]
15+
tokio = { version = "1.38.0", default-features = false, features = ["rt-multi-thread", "macros"] }
16+
api = { path = "../api", features = ["_test_utils"] }

rust/impls/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@
1313

1414
/// Contains [PostgreSQL](https://www.postgresql.org/) based backend implementation for VSS.
1515
pub mod postgres_store;
16+
17+
#[macro_use]
18+
extern crate api;

0 commit comments

Comments
 (0)