Add a dedicated db crate with a basic DB trait

It's needed by the processor and tributary (coordinator).
This commit is contained in:
Luke Parker
2023-04-14 11:41:01 -04:00
parent 04e7863dbd
commit 6f6c9f7cdf
20 changed files with 200 additions and 181 deletions

5
Cargo.lock generated
View File

@@ -6620,6 +6620,7 @@ dependencies = [
"rand_core 0.6.4",
"secp256k1",
"serai-client",
"serai-db",
"serde",
"serde_json",
"sp-application-crypto",
@@ -8746,6 +8747,10 @@ dependencies = [
"tokio",
]
[[package]]
name = "serai-db"
version = "0.1.0"
[[package]]
name = "serai-node"
version = "0.1.0"