diff --git a/Cargo.lock b/Cargo.lock index 85909a5f3f..eeb75e0f07 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -219,7 +219,6 @@ dependencies = [ "paste", "prost 0.12.3", "snafu", - "tonic 0.10.2", "tonic-build 0.9.2", ] @@ -334,7 +333,7 @@ dependencies = [ "arrow-data", "arrow-schema", "chrono", - "chrono-tz 0.8.4", + "chrono-tz", "half 2.3.1", "hashbrown 0.14.3", "num", @@ -551,19 +550,6 @@ dependencies = [ "futures-core", ] -[[package]] -name = "async-compat" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f68a707c1feb095d8c07f8a65b9f506b117d30af431cab89374357de7c11461b" -dependencies = [ - "futures-core", - "futures-io", - "once_cell", - "pin-project-lite", - "tokio", -] - [[package]] name = "async-compression" version = "0.3.15" @@ -703,7 +689,6 @@ dependencies = [ "common-macro", "common-test-util", "digest", - "hex", "secrecy", "sha1", "snafu", @@ -895,7 +880,6 @@ dependencies = [ "client", "futures-util", "indicatif", - "itertools 0.10.5", "parquet", "tokio", ] @@ -913,12 +897,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "bimap" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "230c5f1ca6a325a32553f8640d31ac9b49f2411e901e427570154868b46da4f7" - [[package]] name = "bincode" version = "1.3.3" @@ -1256,8 +1234,6 @@ checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" name = "catalog" version = "0.7.1" dependencies = [ - "api", - "arc-swap", "arrow", "arrow-schema", "async-stream", @@ -1266,12 +1242,10 @@ dependencies = [ "chrono", "common-catalog", "common-error", - "common-grpc", "common-macro", "common-meta", "common-query", "common-recordbatch", - "common-runtime", "common-telemetry", "common-test-util", "common-time", @@ -1287,12 +1261,9 @@ dependencies = [ "meta-client", "moka", "object-store", - "parking_lot 0.12.1", "partition", "paste", "prometheus", - "regex", - "serde", "serde_json", "session", "snafu", @@ -1388,17 +1359,6 @@ dependencies = [ "windows-targets 0.52.0", ] -[[package]] -name = "chrono-tz" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29c39203181991a7dd4343b8005bd804e7a9a37afb8ac070e43771e8c820bbde" -dependencies = [ - "chrono", - "chrono-tz-build 0.0.3", - "phf", -] - [[package]] name = "chrono-tz" version = "0.8.4" @@ -1406,21 +1366,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e23185c0e21df6ed832a12e2bda87c7d1def6842881fb634a8511ced741b0d76" dependencies = [ "chrono", - "chrono-tz-build 0.2.1", + "chrono-tz-build", "phf", ] -[[package]] -name = "chrono-tz-build" -version = "0.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f509c3a87b33437b05e2458750a0700e5bdd6956176773e6c7d6dd15a283a0c" -dependencies = [ - "parse-zoneinfo", - "phf", - "phf_codegen", -] - [[package]] name = "chrono-tz-build" version = "0.2.1" @@ -1571,7 +1520,6 @@ dependencies = [ "arrow-flight", "async-stream", "async-trait", - "common-base", "common-catalog", "common-error", "common-grpc", @@ -1581,12 +1529,8 @@ dependencies = [ "common-query", "common-recordbatch", "common-telemetry", - "common-time", - "datafusion", "datanode", - "datatypes", "derive-new 0.5.9", - "derive_builder 0.12.0", "enum_dispatch", "futures-util", "lazy_static", @@ -1595,9 +1539,7 @@ dependencies = [ "prometheus", "prost 0.12.3", "rand", - "serde", "serde_json", - "session", "snafu", "substrait 0.17.1", "substrait 0.7.1", @@ -1632,7 +1574,6 @@ dependencies = [ name = "cmd" version = "0.7.1" dependencies = [ - "anymap", "async-trait", "auth", "catalog", @@ -1668,7 +1609,6 @@ dependencies = [ "meta-srv", "mito2", "nu-ansi-term", - "partition", "plugins", "prometheus", "prost 0.12.3", @@ -1755,7 +1695,6 @@ name = "common-config" version = "0.7.1" dependencies = [ "common-base", - "humantime-serde", "num_cpus", "serde", "sysinfo", @@ -1797,7 +1736,6 @@ dependencies = [ name = "common-decimal" version = "0.7.1" dependencies = [ - "arrow", "bigdecimal", "common-error", "common-macro", @@ -1822,7 +1760,6 @@ dependencies = [ "api", "arc-swap", "async-trait", - "chrono-tz 0.6.3", "common-base", "common-catalog", "common-error", @@ -1835,7 +1772,6 @@ dependencies = [ "common-version", "datafusion", "datatypes", - "libc", "num", "num-traits", "once_cell", @@ -1855,7 +1791,6 @@ name = "common-greptimedb-telemetry" version = "0.7.1" dependencies = [ "async-trait", - "common-error", "common-runtime", "common-telemetry", "common-test-util", @@ -1863,7 +1798,6 @@ dependencies = [ "hyper", "reqwest", "serde", - "serde_json", "tempfile", "tokio", "uuid", @@ -1875,8 +1809,6 @@ version = "0.7.1" dependencies = [ "api", "arrow-flight", - "async-trait", - "backtrace", "common-base", "common-error", "common-macro", @@ -1886,10 +1818,8 @@ dependencies = [ "common-time", "criterion", "dashmap", - "datafusion", "datatypes", "flatbuffers", - "futures", "lazy_static", "prost 0.12.3", "rand", @@ -1904,13 +1834,11 @@ name = "common-grpc-expr" version = "0.7.1" dependencies = [ "api", - "async-trait", "common-base", "common-catalog", "common-error", "common-macro", "common-query", - "common-telemetry", "common-time", "datatypes", "paste", @@ -1952,7 +1880,6 @@ version = "0.7.1" dependencies = [ "api", "async-recursion", - "async-stream", "async-trait", "base64 0.21.5", "bytes", @@ -1965,7 +1892,6 @@ dependencies = [ "common-procedure", "common-procedure-test", "common-recordbatch", - "common-runtime", "common-telemetry", "common-time", "common-wal", @@ -2061,14 +1987,12 @@ name = "common-recordbatch" version = "0.7.1" dependencies = [ "arc-swap", - "common-base", "common-error", "common-macro", "datafusion", "datafusion-common", "datatypes", "futures", - "paste", "pin-project", "serde", "serde_json", @@ -2118,7 +2042,6 @@ dependencies = [ "tokio", "tracing", "tracing-appender", - "tracing-futures", "tracing-log 0.1.4", "tracing-opentelemetry", "tracing-subscriber", @@ -2142,7 +2065,7 @@ version = "0.7.1" dependencies = [ "arrow", "chrono", - "chrono-tz 0.8.4", + "chrono-tz", "common-error", "common-macro", "once_cell", @@ -2813,21 +2736,15 @@ version = "0.7.1" dependencies = [ "api", "arrow-flight", - "async-compat", - "async-stream", "async-trait", "bytes", "catalog", "client", "common-base", - "common-catalog", - "common-config", - "common-datasource", "common-error", "common-function", "common-greptimedb-telemetry", "common-grpc", - "common-grpc-expr", "common-macro", "common-meta", "common-procedure", @@ -2847,36 +2764,27 @@ dependencies = [ "futures", "futures-util", "humantime-serde", - "hyper", "lazy_static", "log-store", "meta-client", "metric-engine", "mito2", "object-store", - "pin-project", "prometheus", "prost 0.12.3", "query", "reqwest", "secrecy", "serde", - "serde_json", "servers", "session", "snafu", - "sql", "store-api", "substrait 0.7.1", "table", "tokio", - "tokio-stream", "toml 0.8.8", "tonic 0.10.2", - "tower", - "tower-http", - "url", - "uuid", ] [[package]] @@ -2898,7 +2806,6 @@ dependencies = [ "num-traits", "ordered-float 3.9.2", "paste", - "rust_decimal", "serde", "serde_json", "snafu", @@ -3472,12 +3379,9 @@ name = "flow" version = "0.7.1" dependencies = [ "api", - "bimap", "common-decimal", "common-error", "common-macro", - "common-meta", - "common-query", "common-telemetry", "common-time", "datatypes", @@ -3488,7 +3392,6 @@ dependencies = [ "serde", "serde_json", "servers", - "session", "smallvec", "snafu", "tokio", @@ -3531,22 +3434,16 @@ version = "0.7.1" dependencies = [ "api", "arc-swap", - "arrow-flight", - "async-compat", - "async-stream", "async-trait", "auth", "catalog", - "chrono", "client", "common-base", "common-catalog", "common-config", "common-datasource", "common-error", - "common-function", "common-grpc", - "common-grpc-expr", "common-macro", "common-meta", "common-procedure", @@ -3555,24 +3452,13 @@ dependencies = [ "common-runtime", "common-telemetry", "common-test-util", - "common-time", - "datafusion", - "datafusion-common", - "datafusion-expr", "datanode", - "datatypes", - "file-engine", "futures", - "futures-util", "humantime-serde", - "itertools 0.10.5", "lazy_static", "log-store", "meta-client", "meta-srv", - "moka", - "object-store", - "openmetrics-parser", "opentelemetry-proto 0.3.0", "operator", "partition", @@ -3580,10 +3466,8 @@ dependencies = [ "prost 0.12.3", "query", "raft-engine", - "regex", "script", "serde", - "serde_json", "servers", "session", "snafu", @@ -3591,7 +3475,6 @@ dependencies = [ "sqlparser 0.38.0 (git+https://github.com/GreptimeTeam/sqlparser-rs.git?rev=6a93567ae38d42be5c8d08b13c8ff4dde26502ef)", "store-api", "strfmt", - "substrait 0.7.1", "table", "tokio", "toml 0.8.8", @@ -4943,11 +4826,8 @@ version = "0.7.1" dependencies = [ "async-stream", "async-trait", - "byteorder", - "bytes", "chrono", "common-base", - "common-config", "common-error", "common-macro", "common-meta", @@ -4956,7 +4836,6 @@ dependencies = [ "common-test-util", "common-time", "common-wal", - "dashmap", "futures", "futures-util", "itertools 0.10.5", @@ -4971,7 +4850,6 @@ dependencies = [ "snafu", "store-api", "tokio", - "tokio-util", "uuid", ] @@ -5232,22 +5110,18 @@ version = "0.7.1" dependencies = [ "api", "async-trait", - "chrono", "common-error", "common-grpc", "common-macro", "common-meta", "common-telemetry", "datatypes", - "etcd-client", "futures", "humantime-serde", "meta-srv", "rand", "serde", - "serde_json", "snafu", - "table", "tokio", "tokio-stream", "tonic 0.10.2", @@ -5260,11 +5134,8 @@ dependencies = [ name = "meta-srv" version = "0.7.1" dependencies = [ - "anymap", "api", - "async-stream", "async-trait", - "catalog", "chrono", "client", "common-base", @@ -5272,7 +5143,6 @@ dependencies = [ "common-error", "common-greptimedb-telemetry", "common-grpc", - "common-grpc-expr", "common-macro", "common-meta", "common-procedure", @@ -5304,7 +5174,6 @@ dependencies = [ "session", "snafu", "store-api", - "strum 0.25.0", "table", "tokio", "tokio-stream", @@ -5315,7 +5184,6 @@ dependencies = [ "tracing-subscriber", "typetag", "url", - "uuid", ] [[package]] @@ -5412,23 +5280,18 @@ dependencies = [ name = "mito2" version = "0.7.1" dependencies = [ - "anymap", "api", "aquamarine", - "arc-swap", "async-channel", "async-stream", "async-trait", "bytes", - "chrono", "common-base", - "common-catalog", "common-config", "common-datasource", "common-decimal", "common-error", "common-macro", - "common-procedure", "common-procedure-test", "common-query", "common-recordbatch", @@ -5438,7 +5301,6 @@ dependencies = [ "common-time", "common-wal", "criterion", - "dashmap", "datafusion", "datafusion-common", "datafusion-expr", @@ -6029,9 +5891,6 @@ dependencies = [ "anyhow", "async-trait", "bytes", - "common-error", - "common-macro", - "common-runtime", "common-telemetry", "common-test-util", "futures", @@ -6040,7 +5899,6 @@ dependencies = [ "moka", "opendal", "prometheus", - "snafu", "tokio", "uuid", ] @@ -6271,7 +6129,6 @@ version = "0.7.1" dependencies = [ "api", "async-trait", - "auth", "catalog", "chrono", "client", @@ -6298,7 +6155,6 @@ dependencies = [ "futures-util", "lazy_static", "meta-client", - "meter-core", "meter-macros", "object-store", "partition", @@ -6306,7 +6162,6 @@ dependencies = [ "prometheus", "query", "regex", - "serde", "serde_json", "servers", "session", @@ -6314,7 +6169,6 @@ dependencies = [ "sql", "sqlparser 0.38.0 (git+https://github.com/GreptimeTeam/sqlparser-rs.git?rev=6a93567ae38d42be5c8d08b13c8ff4dde26502ef)", "store-api", - "substrait 0.7.1", "table", "tokio", "tonic 0.10.2", @@ -6549,21 +6403,14 @@ version = "0.7.1" dependencies = [ "api", "async-trait", - "common-catalog", "common-error", "common-macro", "common-meta", "common-query", - "common-telemetry", - "datafusion", "datafusion-common", "datafusion-expr", "datatypes", "itertools 0.10.5", - "lazy_static", - "meta-client", - "moka", - "prometheus", "serde", "serde_json", "snafu", @@ -6774,7 +6621,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "90fcb95eef784c2ac79119d1dd819e162b5da872ce6f3c3abe1e8ca1c082f72b" dependencies = [ "siphasher", - "uncased", ] [[package]] @@ -7517,7 +7363,6 @@ dependencies = [ "async-trait", "catalog", "chrono", - "client", "common-base", "common-catalog", "common-datasource", @@ -7549,15 +7394,12 @@ dependencies = [ "num-traits", "object-store", "once_cell", - "partition", "paste", "prometheus", "promql", "promql-parser", "rand", "regex", - "serde", - "serde_json", "session", "snafu", "sql", @@ -8897,7 +8739,6 @@ dependencies = [ "datafusion-physical-expr", "datatypes", "futures", - "futures-util", "lazy_static", "log-store", "once_cell", @@ -8908,7 +8749,6 @@ dependencies = [ "query", "rayon", "ron", - "rustpython-ast", "rustpython-codegen", "rustpython-compiler", "rustpython-compiler-core", @@ -8921,7 +8761,6 @@ dependencies = [ "session", "snafu", "sql", - "store-api", "table", "tokio", "tokio-test", @@ -9177,7 +9016,6 @@ dependencies = [ "common-catalog", "common-error", "common-grpc", - "common-grpc-expr", "common-macro", "common-mem-prof", "common-meta", @@ -9192,14 +9030,11 @@ dependencies = [ "criterion", "datafusion", "datafusion-common", - "datafusion-expr", "datatypes", "derive_builder 0.12.0", - "digest", "futures", "hashbrown 0.14.3", "headers", - "hex", "hostname", "http-body", "humantime-serde", @@ -9238,7 +9073,6 @@ dependencies = [ "serde", "serde_json", "session", - "sha1", "snafu", "snap", "sql", @@ -9267,10 +9101,8 @@ dependencies = [ "arc-swap", "auth", "common-catalog", - "common-telemetry", "common-time", "derive_builder 0.12.0", - "snafu", "sql", ] @@ -9547,7 +9379,6 @@ dependencies = [ "hex", "itertools 0.10.5", "lazy_static", - "once_cell", "regex", "snafu", "sqlparser 0.38.0 (git+https://github.com/GreptimeTeam/sqlparser-rs.git?rev=6a93567ae38d42be5c8d08b13c8ff4dde26502ef)", @@ -9588,9 +9419,7 @@ dependencies = [ "async-trait", "clap 4.4.11", "client", - "common-base", "common-error", - "common-grpc", "common-query", "common-recordbatch", "common-time", @@ -9796,13 +9625,11 @@ dependencies = [ "aquamarine", "async-stream", "async-trait", - "bytes", "common-base", "common-error", "common-macro", "common-query", "common-recordbatch", - "common-time", "common-wal", "datatypes", "derive_builder 0.12.0", @@ -9932,26 +9759,20 @@ dependencies = [ name = "substrait" version = "0.7.1" dependencies = [ - "async-recursion", "async-trait", "bytes", "catalog", - "common-catalog", "common-error", "common-macro", - "common-telemetry", "datafusion", "datafusion-common", "datafusion-expr", "datafusion-substrait", "datatypes", - "futures", "promql", "prost 0.12.3", - "session", "snafu", "substrait 0.17.1", - "table", "tokio", ] @@ -10105,7 +9926,6 @@ dependencies = [ name = "table" version = "0.7.1" dependencies = [ - "anymap", "async-trait", "chrono", "common-base", @@ -10113,7 +9933,6 @@ dependencies = [ "common-datasource", "common-error", "common-macro", - "common-procedure", "common-query", "common-recordbatch", "common-telemetry", @@ -10281,23 +10100,19 @@ dependencies = [ "meta-srv", "mysql_async", "object-store", - "once_cell", "opentelemetry-proto 0.3.0", "operator", "partition", "paste", "prost 0.12.3", "query", - "rand", "rstest", "rstest_reuse", "script", "secrecy", - "serde", "serde_json", "servers", "session", - "snafu", "sql", "sqlx", "store-api", @@ -10945,18 +10760,6 @@ dependencies = [ "valuable", ] -[[package]] -name = "tracing-futures" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" -dependencies = [ - "futures", - "futures-task", - "pin-project", - "tracing", -] - [[package]] name = "tracing-log" version = "0.1.4" @@ -11253,15 +11056,6 @@ dependencies = [ "libc", ] -[[package]] -name = "uncased" -version = "0.9.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b9bc53168a4be7402ab86c3aad243a84dd7381d09be0eddc81280c1da95ca68" -dependencies = [ - "version_check", -] - [[package]] name = "unic-char-property" version = "0.9.0" diff --git a/benchmarks/Cargo.toml b/benchmarks/Cargo.toml index c2fddd474a..862579b26d 100644 --- a/benchmarks/Cargo.toml +++ b/benchmarks/Cargo.toml @@ -14,6 +14,5 @@ clap.workspace = true client.workspace = true futures-util.workspace = true indicatif = "0.17.1" -itertools.workspace = true parquet.workspace = true tokio.workspace = true diff --git a/src/api/Cargo.toml b/src/api/Cargo.toml index d3390e6c21..cd1837465b 100644 --- a/src/api/Cargo.toml +++ b/src/api/Cargo.toml @@ -18,7 +18,6 @@ greptime-proto.workspace = true paste = "1.0" prost.workspace = true snafu.workspace = true -tonic.workspace = true [build-dependencies] tonic-build = "0.9" diff --git a/src/auth/Cargo.toml b/src/auth/Cargo.toml index d50b63fcfc..a3e9f199a1 100644 --- a/src/auth/Cargo.toml +++ b/src/auth/Cargo.toml @@ -17,7 +17,6 @@ async-trait.workspace = true common-error.workspace = true common-macro.workspace = true digest = "0.10" -hex = { version = "0.4" } secrecy = { version = "0.8", features = ["serde", "alloc"] } sha1 = "0.10" snafu.workspace = true diff --git a/src/catalog/Cargo.toml b/src/catalog/Cargo.toml index e16eadfdf8..8d91421eba 100644 --- a/src/catalog/Cargo.toml +++ b/src/catalog/Cargo.toml @@ -11,20 +11,16 @@ testing = [] workspace = true [dependencies] -api.workspace = true -arc-swap = "1.0" arrow.workspace = true arrow-schema.workspace = true async-stream.workspace = true async-trait = "0.1" common-catalog.workspace = true common-error.workspace = true -common-grpc.workspace = true common-macro.workspace = true common-meta.workspace = true common-query.workspace = true common-recordbatch.workspace = true -common-runtime.workspace = true common-telemetry.workspace = true common-time.workspace = true common-version.workspace = true @@ -37,12 +33,9 @@ itertools.workspace = true lazy_static.workspace = true meta-client.workspace = true moka = { workspace = true, features = ["future", "sync"] } -parking_lot = "0.12" partition.workspace = true paste = "1.0" prometheus.workspace = true -regex.workspace = true -serde.workspace = true serde_json.workspace = true session.workspace = true snafu.workspace = true diff --git a/src/client/Cargo.toml b/src/client/Cargo.toml index 914c808c66..3c5f2a68fb 100644 --- a/src/client/Cargo.toml +++ b/src/client/Cargo.toml @@ -16,7 +16,6 @@ arc-swap = "1.6" arrow-flight.workspace = true async-stream.workspace = true async-trait.workspace = true -common-base.workspace = true common-catalog.workspace = true common-error.workspace = true common-grpc.workspace = true @@ -25,10 +24,6 @@ common-meta.workspace = true common-query.workspace = true common-recordbatch.workspace = true common-telemetry.workspace = true -common-time.workspace = true -datafusion.workspace = true -datatypes.workspace = true -derive_builder.workspace = true enum_dispatch = "0.3" futures-util.workspace = true lazy_static.workspace = true @@ -37,9 +32,7 @@ parking_lot = "0.12" prometheus.workspace = true prost.workspace = true rand.workspace = true -serde.workspace = true serde_json.workspace = true -session.workspace = true snafu.workspace = true tokio.workspace = true tokio-stream = { workspace = true, features = ["net"] } diff --git a/src/cmd/Cargo.toml b/src/cmd/Cargo.toml index d6e11b68a3..3cd340e61c 100644 --- a/src/cmd/Cargo.toml +++ b/src/cmd/Cargo.toml @@ -16,7 +16,6 @@ tokio-console = ["common-telemetry/tokio-console"] workspace = true [dependencies] -anymap = "1.0.0-beta.2" async-trait.workspace = true auth.workspace = true catalog.workspace = true @@ -52,7 +51,6 @@ meta-client.workspace = true meta-srv.workspace = true mito2.workspace = true nu-ansi-term = "0.46" -partition.workspace = true plugins.workspace = true prometheus.workspace = true prost.workspace = true diff --git a/src/common/config/Cargo.toml b/src/common/config/Cargo.toml index dccd1f2df4..e85f220c65 100644 --- a/src/common/config/Cargo.toml +++ b/src/common/config/Cargo.toml @@ -9,7 +9,6 @@ workspace = true [dependencies] common-base.workspace = true -humantime-serde.workspace = true num_cpus.workspace = true serde.workspace = true sysinfo.workspace = true diff --git a/src/common/decimal/Cargo.toml b/src/common/decimal/Cargo.toml index 671364d49f..5812e6a43d 100644 --- a/src/common/decimal/Cargo.toml +++ b/src/common/decimal/Cargo.toml @@ -8,7 +8,6 @@ license.workspace = true workspace = true [dependencies] -arrow.workspace = true bigdecimal.workspace = true common-error.workspace = true common-macro.workspace = true diff --git a/src/common/function/Cargo.toml b/src/common/function/Cargo.toml index d6570782d4..ae71af6d8f 100644 --- a/src/common/function/Cargo.toml +++ b/src/common/function/Cargo.toml @@ -11,7 +11,6 @@ workspace = true api.workspace = true arc-swap = "1.0" async-trait.workspace = true -chrono-tz = "0.6" common-base.workspace = true common-catalog.workspace = true common-error.workspace = true @@ -24,7 +23,6 @@ common-time.workspace = true common-version.workspace = true datafusion.workspace = true datatypes.workspace = true -libc = "0.2" num = "0.4" num-traits = "0.2" once_cell.workspace = true diff --git a/src/common/greptimedb-telemetry/Cargo.toml b/src/common/greptimedb-telemetry/Cargo.toml index 6bff7a719e..b46f1e5aa9 100644 --- a/src/common/greptimedb-telemetry/Cargo.toml +++ b/src/common/greptimedb-telemetry/Cargo.toml @@ -9,12 +9,10 @@ workspace = true [dependencies] async-trait.workspace = true -common-error.workspace = true common-runtime.workspace = true common-telemetry.workspace = true reqwest.workspace = true serde.workspace = true -serde_json.workspace = true tokio.workspace = true uuid.workspace = true diff --git a/src/common/grpc-expr/Cargo.toml b/src/common/grpc-expr/Cargo.toml index 3415b54200..ce98a6396d 100644 --- a/src/common/grpc-expr/Cargo.toml +++ b/src/common/grpc-expr/Cargo.toml @@ -9,13 +9,11 @@ workspace = true [dependencies] api.workspace = true -async-trait.workspace = true common-base.workspace = true common-catalog.workspace = true common-error.workspace = true common-macro.workspace = true common-query.workspace = true -common-telemetry.workspace = true common-time.workspace = true datatypes.workspace = true snafu.workspace = true diff --git a/src/common/grpc/Cargo.toml b/src/common/grpc/Cargo.toml index 0f11d68731..abf5797818 100644 --- a/src/common/grpc/Cargo.toml +++ b/src/common/grpc/Cargo.toml @@ -10,8 +10,6 @@ workspace = true [dependencies] api.workspace = true arrow-flight.workspace = true -async-trait = "0.1" -backtrace = "0.3" common-base.workspace = true common-error.workspace = true common-macro.workspace = true @@ -20,10 +18,8 @@ common-runtime.workspace = true common-telemetry.workspace = true common-time.workspace = true dashmap.workspace = true -datafusion.workspace = true datatypes.workspace = true flatbuffers = "23.1" -futures = "0.3" lazy_static.workspace = true prost.workspace = true snafu.workspace = true diff --git a/src/common/meta/Cargo.toml b/src/common/meta/Cargo.toml index 8892d602ea..9132f6de55 100644 --- a/src/common/meta/Cargo.toml +++ b/src/common/meta/Cargo.toml @@ -13,7 +13,6 @@ workspace = true [dependencies] api.workspace = true async-recursion = "1.0" -async-stream.workspace = true async-trait.workspace = true base64.workspace = true bytes.workspace = true @@ -26,7 +25,6 @@ common-macro.workspace = true common-procedure.workspace = true common-procedure-test.workspace = true common-recordbatch.workspace = true -common-runtime.workspace = true common-telemetry.workspace = true common-time.workspace = true common-wal.workspace = true diff --git a/src/common/recordbatch/Cargo.toml b/src/common/recordbatch/Cargo.toml index 01d051067b..12494cdcf5 100644 --- a/src/common/recordbatch/Cargo.toml +++ b/src/common/recordbatch/Cargo.toml @@ -9,14 +9,12 @@ workspace = true [dependencies] arc-swap = "1.6" -common-base.workspace = true common-error.workspace = true common-macro.workspace = true datafusion.workspace = true datafusion-common.workspace = true datatypes.workspace = true futures.workspace = true -paste = "1.0" pin-project.workspace = true serde.workspace = true serde_json.workspace = true diff --git a/src/common/substrait/Cargo.toml b/src/common/substrait/Cargo.toml index 1c4f404797..9ac4fc150f 100644 --- a/src/common/substrait/Cargo.toml +++ b/src/common/substrait/Cargo.toml @@ -8,25 +8,19 @@ license.workspace = true workspace = true [dependencies] -async-recursion = "1.0" async-trait.workspace = true bytes.workspace = true catalog.workspace = true -common-catalog.workspace = true common-error.workspace = true common-macro.workspace = true -common-telemetry.workspace = true datafusion.workspace = true datafusion-common.workspace = true datafusion-expr.workspace = true datafusion-substrait.workspace = true datatypes.workspace = true -futures = "0.3" promql.workspace = true prost.workspace = true -session.workspace = true snafu.workspace = true -table.workspace = true [dependencies.substrait_proto] package = "substrait" @@ -34,5 +28,4 @@ version = "0.17" [dev-dependencies] datatypes.workspace = true -table.workspace = true tokio.workspace = true diff --git a/src/common/telemetry/Cargo.toml b/src/common/telemetry/Cargo.toml index 6a8dc96b46..3cf2a36a40 100644 --- a/src/common/telemetry/Cargo.toml +++ b/src/common/telemetry/Cargo.toml @@ -32,7 +32,6 @@ serde_json.workspace = true tokio.workspace = true tracing = "0.1" tracing-appender = "0.2" -tracing-futures = { version = "0.2", features = ["futures-03"] } tracing-log = "0.1" tracing-opentelemetry = "0.22.0" tracing-subscriber = { version = "0.3", features = ["env-filter"] } diff --git a/src/datanode/Cargo.toml b/src/datanode/Cargo.toml index f03625eb66..8e7c565d7d 100644 --- a/src/datanode/Cargo.toml +++ b/src/datanode/Cargo.toml @@ -13,21 +13,15 @@ workspace = true [dependencies] api.workspace = true arrow-flight.workspace = true -async-compat = "0.2" -async-stream.workspace = true async-trait.workspace = true bytes.workspace = true catalog.workspace = true client.workspace = true common-base.workspace = true -common-catalog.workspace = true -common-config.workspace = true -common-datasource.workspace = true common-error.workspace = true common-function.workspace = true common-greptimedb-telemetry.workspace = true common-grpc.workspace = true -common-grpc-expr.workspace = true common-macro.workspace = true common-meta.workspace = true common-procedure.workspace = true @@ -46,36 +40,27 @@ file-engine.workspace = true futures = "0.3" futures-util.workspace = true humantime-serde.workspace = true -hyper = { version = "0.14", features = ["full"] } lazy_static.workspace = true log-store.workspace = true meta-client.workspace = true metric-engine.workspace = true mito2.workspace = true object-store.workspace = true -pin-project = "1.0" prometheus.workspace = true prost.workspace = true query.workspace = true reqwest.workspace = true secrecy = { version = "0.8", features = ["serde", "alloc"] } serde.workspace = true -serde_json.workspace = true servers.workspace = true session.workspace = true snafu.workspace = true -sql.workspace = true store-api.workspace = true substrait.workspace = true table.workspace = true tokio.workspace = true -tokio-stream = { workspace = true, features = ["net"] } toml.workspace = true tonic.workspace = true -tower = { version = "0.4", features = ["full"] } -tower-http = { version = "0.4", features = ["full"] } -url = "2.3.1" -uuid.workspace = true [dev-dependencies] client.workspace = true diff --git a/src/datatypes/Cargo.toml b/src/datatypes/Cargo.toml index ee82546272..281057ce80 100644 --- a/src/datatypes/Cargo.toml +++ b/src/datatypes/Cargo.toml @@ -27,7 +27,6 @@ num = "0.4" num-traits = "0.2" ordered-float = { version = "3.0", features = ["serde"] } paste = "1.0" -rust_decimal = "1.32.0" serde.workspace = true serde_json.workspace = true snafu.workspace = true diff --git a/src/flow/Cargo.toml b/src/flow/Cargo.toml index 815602a779..ab8a090d71 100644 --- a/src/flow/Cargo.toml +++ b/src/flow/Cargo.toml @@ -9,12 +9,9 @@ workspace = true [dependencies] api.workspace = true -bimap = "0.6.3" common-decimal.workspace = true common-error.workspace = true common-macro.workspace = true -common-meta.workspace = true -common-query.workspace = true common-telemetry.workspace = true common-time.workspace = true datatypes.workspace = true @@ -24,7 +21,6 @@ itertools.workspace = true num-traits = "0.2" serde.workspace = true servers.workspace = true -session.workspace = true smallvec.workspace = true snafu.workspace = true tokio.workspace = true diff --git a/src/frontend/Cargo.toml b/src/frontend/Cargo.toml index 9d5578eb50..114ed48336 100644 --- a/src/frontend/Cargo.toml +++ b/src/frontend/Cargo.toml @@ -15,22 +15,16 @@ workspace = true [dependencies] api.workspace = true arc-swap = "1.0" -arrow-flight.workspace = true -async-compat = "0.2" -async-stream.workspace = true async-trait = "0.1" auth.workspace = true catalog.workspace = true -chrono.workspace = true client.workspace = true common-base.workspace = true common-catalog.workspace = true common-config.workspace = true common-datasource.workspace = true common-error.workspace = true -common-function.workspace = true common-grpc.workspace = true -common-grpc-expr.workspace = true common-macro.workspace = true common-meta.workspace = true common-procedure.workspace = true @@ -38,23 +32,11 @@ common-query.workspace = true common-recordbatch.workspace = true common-runtime.workspace = true common-telemetry.workspace = true -common-time.workspace = true -datafusion.workspace = true -datafusion-common.workspace = true -datafusion-expr.workspace = true datanode.workspace = true -datatypes.workspace = true -file-engine.workspace = true -futures = "0.3" -futures-util.workspace = true humantime-serde.workspace = true -itertools.workspace = true lazy_static.workspace = true log-store.workspace = true meta-client.workspace = true -moka = { workspace = true, features = ["future"] } -object-store.workspace = true -openmetrics-parser = "0.4" opentelemetry-proto.workspace = true operator.workspace = true partition.workspace = true @@ -62,17 +44,14 @@ prometheus.workspace = true prost.workspace = true query.workspace = true raft-engine.workspace = true -regex.workspace = true script = { workspace = true, features = ["python"], optional = true } serde.workspace = true -serde_json.workspace = true servers.workspace = true session.workspace = true snafu.workspace = true sql.workspace = true sqlparser.workspace = true store-api.workspace = true -substrait.workspace = true table.workspace = true tokio.workspace = true toml.workspace = true diff --git a/src/log-store/Cargo.toml b/src/log-store/Cargo.toml index e134399e45..fa98d65dae 100644 --- a/src/log-store/Cargo.toml +++ b/src/log-store/Cargo.toml @@ -15,11 +15,8 @@ workspace = true [dependencies] async-stream.workspace = true async-trait.workspace = true -byteorder = "1.4" -bytes.workspace = true chrono.workspace = true common-base.workspace = true -common-config.workspace = true common-error.workspace = true common-macro.workspace = true common-meta.workspace = true @@ -27,7 +24,6 @@ common-runtime.workspace = true common-telemetry.workspace = true common-time.workspace = true common-wal.workspace = true -dashmap.workspace = true futures.workspace = true futures-util.workspace = true protobuf = { version = "2", features = ["bytes"] } @@ -38,7 +34,6 @@ serde_json.workspace = true snafu.workspace = true store-api.workspace = true tokio.workspace = true -tokio-util.workspace = true [dev-dependencies] common-meta = { workspace = true, features = ["testing"] } diff --git a/src/meta-client/Cargo.toml b/src/meta-client/Cargo.toml index 2ba3b784b7..6ea3bdb730 100644 --- a/src/meta-client/Cargo.toml +++ b/src/meta-client/Cargo.toml @@ -10,19 +10,15 @@ workspace = true [dependencies] api.workspace = true async-trait = "0.1" -chrono.workspace = true common-error.workspace = true common-grpc.workspace = true common-macro.workspace = true common-meta.workspace = true common-telemetry.workspace = true -etcd-client.workspace = true humantime-serde.workspace = true rand.workspace = true serde.workspace = true -serde_json.workspace = true snafu.workspace = true -table.workspace = true tokio.workspace = true tokio-stream = { workspace = true, features = ["net"] } tonic.workspace = true diff --git a/src/meta-srv/Cargo.toml b/src/meta-srv/Cargo.toml index 176c4a1f4f..13e27b4efd 100644 --- a/src/meta-srv/Cargo.toml +++ b/src/meta-srv/Cargo.toml @@ -11,18 +11,14 @@ mock = [] workspace = true [dependencies] -anymap = "1.0.0-beta.2" api.workspace = true -async-stream.workspace = true async-trait = "0.1" -catalog.workspace = true client.workspace = true common-base.workspace = true common-catalog.workspace = true common-error.workspace = true common-greptimedb-telemetry.workspace = true common-grpc.workspace = true -common-grpc-expr.workspace = true common-macro.workspace = true common-meta.workspace = true common-procedure.workspace = true @@ -52,7 +48,6 @@ serde_json.workspace = true servers.workspace = true snafu.workspace = true store-api.workspace = true -strum.workspace = true table.workspace = true tokio.workspace = true tokio-stream = { workspace = true, features = ["net"] } @@ -61,7 +56,6 @@ tonic.workspace = true tower = "0.4" typetag = "0.2" url = "2.3" -uuid.workspace = true [dev-dependencies] chrono.workspace = true diff --git a/src/mito2/Cargo.toml b/src/mito2/Cargo.toml index 917d7d0b41..ffe8c57035 100644 --- a/src/mito2/Cargo.toml +++ b/src/mito2/Cargo.toml @@ -12,23 +12,18 @@ test = ["common-test-util", "log-store"] workspace = true [dependencies] -anymap = "1.0.0-beta.2" api.workspace = true aquamarine.workspace = true -arc-swap = "1.6" async-channel = "1.9" async-stream.workspace = true async-trait = "0.1" bytes.workspace = true -chrono.workspace = true common-base.workspace = true -common-catalog.workspace = true common-config.workspace = true common-datasource.workspace = true common-decimal.workspace = true common-error.workspace = true common-macro.workspace = true -common-procedure.workspace = true common-query.workspace = true common-recordbatch.workspace = true common-runtime.workspace = true @@ -36,7 +31,6 @@ common-telemetry.workspace = true common-test-util = { workspace = true, optional = true } common-time.workspace = true common-wal.workspace = true -dashmap.workspace = true datafusion.workspace = true datafusion-common.workspace = true datafusion-expr.workspace = true diff --git a/src/object-store/Cargo.toml b/src/object-store/Cargo.toml index 941955a347..1f26bbe5ef 100644 --- a/src/object-store/Cargo.toml +++ b/src/object-store/Cargo.toml @@ -10,9 +10,6 @@ workspace = true [dependencies] async-trait = "0.1" bytes.workspace = true -common-error.workspace = true -common-macro.workspace = true -common-runtime.workspace = true common-telemetry.workspace = true futures.workspace = true lazy_static.workspace = true @@ -29,7 +26,6 @@ opendal = { version = "0.45", features = [ "services-s3", ], default-features = false } prometheus.workspace = true -snafu.workspace = true uuid.workspace = true [dev-dependencies] diff --git a/src/operator/Cargo.toml b/src/operator/Cargo.toml index a09c505fd4..50d2103f9d 100644 --- a/src/operator/Cargo.toml +++ b/src/operator/Cargo.toml @@ -13,7 +13,6 @@ workspace = true [dependencies] api.workspace = true async-trait = "0.1" -auth.workspace = true catalog.workspace = true chrono.workspace = true client.workspace = true @@ -39,14 +38,12 @@ futures = "0.3" futures-util.workspace = true lazy_static.workspace = true meta-client.workspace = true -meter-core.workspace = true meter-macros.workspace = true object-store.workspace = true partition.workspace = true prometheus.workspace = true query.workspace = true regex.workspace = true -serde.workspace = true serde_json.workspace = true servers.workspace = true session.workspace = true @@ -54,7 +51,6 @@ snafu.workspace = true sql.workspace = true sqlparser.workspace = true store-api.workspace = true -substrait.workspace = true table.workspace = true tokio.workspace = true tonic.workspace = true diff --git a/src/partition/Cargo.toml b/src/partition/Cargo.toml index dd735f591b..601f3143c7 100644 --- a/src/partition/Cargo.toml +++ b/src/partition/Cargo.toml @@ -10,21 +10,14 @@ workspace = true [dependencies] api.workspace = true async-trait = "0.1" -common-catalog.workspace = true common-error.workspace = true common-macro.workspace = true common-meta.workspace = true common-query.workspace = true -common-telemetry.workspace = true -datafusion.workspace = true datafusion-common.workspace = true datafusion-expr.workspace = true datatypes.workspace = true itertools.workspace = true -lazy_static.workspace = true -meta-client.workspace = true -moka = { workspace = true, features = ["future"] } -prometheus.workspace = true serde.workspace = true serde_json.workspace = true snafu.workspace = true diff --git a/src/query/Cargo.toml b/src/query/Cargo.toml index 7b252d6910..eb680b1a9b 100644 --- a/src/query/Cargo.toml +++ b/src/query/Cargo.toml @@ -18,7 +18,6 @@ async-stream.workspace = true async-trait = "0.1" catalog.workspace = true chrono.workspace = true -client.workspace = true common-base.workspace = true common-catalog.workspace = true common-datasource.workspace = true @@ -47,13 +46,10 @@ meter-core.workspace = true meter-macros.workspace = true object-store.workspace = true once_cell.workspace = true -partition.workspace = true prometheus.workspace = true promql.workspace = true promql-parser = "0.1.1" regex.workspace = true -serde.workspace = true -serde_json.workspace = true session.workspace = true snafu.workspace = true sql.workspace = true diff --git a/src/script/Cargo.toml b/src/script/Cargo.toml index 81e2237486..50dca7ccbb 100644 --- a/src/script/Cargo.toml +++ b/src/script/Cargo.toml @@ -17,7 +17,6 @@ python = [ "dep:rustpython-compiler", "dep:rustpython-compiler-core", "dep:rustpython-codegen", - "dep:rustpython-ast", "dep:rustpython-pylib", "dep:rustpython-stdlib", "dep:paste", @@ -49,7 +48,6 @@ datafusion-expr = { workspace = true, optional = true } datafusion-physical-expr = { workspace = true, optional = true } datatypes.workspace = true futures.workspace = true -futures-util.workspace = true lazy_static.workspace = true once_cell.workspace = true paste = { workspace = true, optional = true } @@ -57,7 +55,6 @@ prometheus.workspace = true query.workspace = true # TODO(discord9): This is a forked and tweaked version of RustPython, please update it to newest original RustPython After RustPython support GC pyo3 = { version = "0.19", optional = true, features = ["abi3", "abi3-py37"] } -rustpython-ast = { git = "https://github.com/discord9/RustPython", optional = true, rev = "9ed5137412" } rustpython-codegen = { git = "https://github.com/discord9/RustPython", optional = true, rev = "9ed5137412" } rustpython-compiler = { git = "https://github.com/discord9/RustPython", optional = true, rev = "9ed5137412" } rustpython-compiler-core = { git = "https://github.com/discord9/RustPython", optional = true, rev = "9ed5137412" } @@ -74,7 +71,6 @@ servers.workspace = true session.workspace = true snafu.workspace = true sql.workspace = true -store-api.workspace = true table.workspace = true tokio.workspace = true diff --git a/src/servers/Cargo.toml b/src/servers/Cargo.toml index 221ac3aa82..4a54a49b27 100644 --- a/src/servers/Cargo.toml +++ b/src/servers/Cargo.toml @@ -32,7 +32,6 @@ common-base.workspace = true common-catalog.workspace = true common-error.workspace = true common-grpc.workspace = true -common-grpc-expr.workspace = true common-macro.workspace = true common-mem-prof = { workspace = true, optional = true } common-meta.workspace = true @@ -44,14 +43,11 @@ common-telemetry.workspace = true common-time.workspace = true datafusion.workspace = true datafusion-common.workspace = true -datafusion-expr.workspace = true datatypes.workspace = true derive_builder.workspace = true -digest = "0.10" futures = "0.3" hashbrown = "0.14" headers = "0.3" -hex = { version = "0.4" } hostname = "0.3.1" http-body = "0.4" humantime-serde.workspace = true @@ -91,7 +87,6 @@ secrecy = { version = "0.8", features = ["serde", "alloc"] } serde.workspace = true serde_json.workspace = true session.workspace = true -sha1 = "0.10" snafu.workspace = true snap = "1" sql.workspace = true diff --git a/src/session/Cargo.toml b/src/session/Cargo.toml index 0f393962c7..85697d4ca7 100644 --- a/src/session/Cargo.toml +++ b/src/session/Cargo.toml @@ -15,8 +15,6 @@ api.workspace = true arc-swap = "1.5" auth.workspace = true common-catalog.workspace = true -common-telemetry.workspace = true common-time.workspace = true derive_builder.workspace = true -snafu.workspace = true sql.workspace = true diff --git a/src/sql/Cargo.toml b/src/sql/Cargo.toml index dcce4b6987..1c360bfbd2 100644 --- a/src/sql/Cargo.toml +++ b/src/sql/Cargo.toml @@ -21,7 +21,6 @@ datatypes.workspace = true hex = "0.4" itertools.workspace = true lazy_static.workspace = true -once_cell.workspace = true regex.workspace = true snafu.workspace = true sqlparser.workspace = true diff --git a/src/store-api/Cargo.toml b/src/store-api/Cargo.toml index fc5f2b1690..2c9a42a9d8 100644 --- a/src/store-api/Cargo.toml +++ b/src/store-api/Cargo.toml @@ -11,13 +11,11 @@ workspace = true api.workspace = true aquamarine.workspace = true async-trait.workspace = true -bytes.workspace = true common-base.workspace = true common-error.workspace = true common-macro.workspace = true common-query.workspace = true common-recordbatch.workspace = true -common-time.workspace = true common-wal.workspace = true datatypes.workspace = true derive_builder.workspace = true diff --git a/src/table/Cargo.toml b/src/table/Cargo.toml index 17e8d6532b..f3b8530441 100644 --- a/src/table/Cargo.toml +++ b/src/table/Cargo.toml @@ -11,7 +11,6 @@ testing = [] workspace = true [dependencies] -anymap = "1.0.0-beta.2" async-trait = "0.1" chrono.workspace = true common-base.workspace = true @@ -19,7 +18,6 @@ common-catalog.workspace = true common-datasource.workspace = true common-error.workspace = true common-macro.workspace = true -common-procedure.workspace = true common-query.workspace = true common-recordbatch.workspace = true common-telemetry.workspace = true diff --git a/tests-integration/Cargo.toml b/tests-integration/Cargo.toml index 1914fe720b..1c95982f61 100644 --- a/tests-integration/Cargo.toml +++ b/tests-integration/Cargo.toml @@ -45,18 +45,14 @@ mysql_async = { version = "0.33", default-features = false, features = [ "default-rustls", ] } object-store.workspace = true -once_cell.workspace = true operator.workspace = true query.workspace = true -rand.workspace = true rstest = "0.17" rstest_reuse = "0.5" secrecy = "0.8" -serde.workspace = true serde_json.workspace = true servers = { workspace = true, features = ["testing"] } session.workspace = true -snafu.workspace = true sql.workspace = true sqlx = { version = "0.6", features = [ "runtime-tokio-rustls", diff --git a/tests/runner/Cargo.toml b/tests/runner/Cargo.toml index 10fdbfeda7..adf4df8093 100644 --- a/tests/runner/Cargo.toml +++ b/tests/runner/Cargo.toml @@ -11,9 +11,7 @@ workspace = true async-trait = "0.1" clap.workspace = true client.workspace = true -common-base.workspace = true common-error.workspace = true -common-grpc.workspace = true common-query.workspace = true common-recordbatch.workspace = true common-time.workspace = true