From e4dada67f33829dbb030958d45c08f0824f40c2e Mon Sep 17 00:00:00 2001 From: kamille Date: Tue, 27 Dec 2022 22:16:57 +0800 Subject: [PATCH] modfiy global Cargo.toml and Cargo.lock. --- Cargo.lock | 45 +++++++++++++++++++++++++++++++++++++++++++-- Cargo.toml | 7 +++++++ 2 files changed, 50 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 72f64dd034..e84f5aa89e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -832,6 +832,7 @@ dependencies = [ "logger", "meta_client", "query_engine", + "router", "server", "signal-hook", "sort", @@ -1017,7 +1018,6 @@ checksum = "b8191fa7302e03607ff0e237d4246cc043ff5b3cb9409d995172ba3bea16b807" name = "cluster" version = "1.0.0-alpha01" dependencies = [ - "analytic_engine", "async-trait", "ceresdbproto 0.1.0 (git+https://github.com/CeresDB/ceresdbproto.git?rev=b9c45bcdbf7d55d5889d42b4c8017282819e6049)", "common_types 1.0.0-alpha01", @@ -1099,6 +1099,7 @@ name = "common_util" version = "1.0.0-alpha01" dependencies = [ "arrow", + "avro-rs", "backtrace", "chrono", "common_types 1.0.0-alpha01", @@ -1115,6 +1116,7 @@ dependencies = [ "proto 1.0.0-alpha01", "serde", "serde_derive", + "serde_json", "slog", "slog-global", "snafu 0.6.10", @@ -4813,6 +4815,24 @@ version = "0.6.27" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244" +[[package]] +name = "remote_engine_client" +version = "1.0.0-alpha01" +dependencies = [ + "async-trait", + "ceresdbproto 0.1.0 (git+https://github.com/CeresDB/ceresdbproto.git?rev=b9c45bcdbf7d55d5889d42b4c8017282819e6049)", + "clru", + "common_types 1.0.0-alpha01", + "common_util", + "futures 0.3.21", + "proto 1.0.0-alpha01", + "router", + "snafu 0.6.10", + "table_engine", + "tokio 1.22.0", + "tonic", +] + [[package]] name = "remove_dir_all" version = "0.5.3" @@ -4927,6 +4947,23 @@ dependencies = [ "librocksdb_sys", ] +[[package]] +name = "router" +version = "1.0.0-alpha01" +dependencies = [ + "async-trait", + "ceresdbproto 0.1.0 (git+https://github.com/CeresDB/ceresdbproto.git?rev=b9c45bcdbf7d55d5889d42b4c8017282819e6049)", + "cluster", + "common_types 1.0.0-alpha01", + "common_util", + "log", + "meta_client", + "serde", + "serde_derive", + "snafu 0.6.10", + "twox-hash", +] + [[package]] name = "rskafka" version = "0.3.0" @@ -5264,6 +5301,7 @@ dependencies = [ "prometheus-static-metric", "prost", "query_engine", + "router", "serde", "serde_derive", "serde_json", @@ -5274,7 +5312,6 @@ dependencies = [ "tokio 1.22.0", "tokio-stream", "tonic", - "twox-hash", "warp", ] @@ -5837,10 +5874,13 @@ version = "1.0.0-alpha01" dependencies = [ "arrow", "async-trait", + "avro-rs", + "clru", "common_types 1.0.0-alpha01", "common_util", "datafusion", "datafusion-expr", + "datafusion-proto", "futures 0.3.21", "log", "parquet", @@ -5852,6 +5892,7 @@ dependencies = [ "smallvec 1.9.0", "snafu 0.6.10", "tokio 1.22.0", + "tonic", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 9bddd8aa2e..4e76ad94d7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,6 +35,8 @@ members = [ "meta_client", "proto", "query_engine", + "remote_engine_client", + "router", "server", "sql", "system_catalog", @@ -103,6 +105,10 @@ tonic = "0.8.1" tokio = { version = "1.21", features = ["full"] } wal = { path = "wal" } message_queue = { path = "components/message_queue" } +clru = "0.6.1" +avro-rs = "0.13" +router = { path = "router" } +remote_engine_client = { path = "remote_engine_client" } [workspace.dependencies.ceresdbproto] git = "https://github.com/CeresDB/ceresdbproto.git" @@ -133,6 +139,7 @@ log = { workspace = true } logger = { workspace = true } meta_client = { workspace = true } query_engine = { workspace = true } +router = { workspace = true } server = { workspace = true } signal-hook = "0.3" sort = "0.8.5"