chore: Setup code skeleton of datanode

This commit is contained in:
evenyag
2022-04-21 11:40:46 +08:00
parent ced9a7c97f
commit 1fa0b4e3f9
25 changed files with 215 additions and 1 deletions
+1
View File
@@ -6,3 +6,4 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
async-trait = "0.1"
+3
View File
@@ -0,0 +1,3 @@
/// Table engine abstraction.
#[async_trait::async_trait]
pub trait Engine {}
+4
View File
@@ -1 +1,5 @@
mod engine;
/// Table abstraction.
#[async_trait::async_trait]
pub trait Table: Send + Sync {}