mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-09 06:42:57 +00:00
chore: Setup code skeleton of datanode
This commit is contained in:
@@ -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
src/table/src/engine.rs
Normal file
3
src/table/src/engine.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
/// Table engine abstraction.
|
||||
#[async_trait::async_trait]
|
||||
pub trait Engine {}
|
||||
@@ -1 +1,5 @@
|
||||
mod engine;
|
||||
|
||||
/// Table abstraction.
|
||||
#[async_trait::async_trait]
|
||||
pub trait Table: Send + Sync {}
|
||||
|
||||
Reference in New Issue
Block a user