From b567663c8a1d05de572bc48565629c35d0769b89 Mon Sep 17 00:00:00 2001 From: Yiqun Liu Date: Tue, 15 Jul 2025 23:33:30 +0800 Subject: [PATCH 1/3] add workspace-hack --- .config/hakari.toml | 33 ++ Cargo.lock | 279 ++++++++++++++ Cargo.toml | 1 + databend-workspace-hack/.gitattributes | 4 + databend-workspace-hack/Cargo.toml | 341 ++++++++++++++++++ databend-workspace-hack/build.rs | 2 + databend-workspace-hack/src/lib.rs | 1 + src/bendpy/Cargo.toml | 1 + src/bendsave/Cargo.toml | 1 + src/binaries/Cargo.toml | 1 + src/common/auth/Cargo.toml | 1 + src/common/base/Cargo.toml | 1 + src/common/building/Cargo.toml | 1 + src/common/building/src/lib.rs | 2 +- src/common/cache/Cargo.toml | 1 + src/common/cloud_control/Cargo.toml | 1 + src/common/column/Cargo.toml | 1 + src/common/compress/Cargo.toml | 1 + src/common/exception/Cargo.toml | 1 + src/common/grpc/Cargo.toml | 1 + src/common/hashtable/Cargo.toml | 1 + src/common/http/Cargo.toml | 1 + src/common/io/Cargo.toml | 1 + src/common/license/Cargo.toml | 1 + src/common/metrics/Cargo.toml | 1 + src/common/native/Cargo.toml | 1 + src/common/openai/Cargo.toml | 1 + src/common/storage/Cargo.toml | 1 + src/common/tracing/Cargo.toml | 1 + src/common/vector/Cargo.toml | 1 + src/common/version/Cargo.toml | 1 + src/meta/api/Cargo.toml | 1 + src/meta/app-storage/Cargo.toml | 1 + src/meta/app-types/Cargo.toml | 1 + src/meta/app/Cargo.toml | 1 + src/meta/binaries/Cargo.toml | 1 + src/meta/cache/Cargo.toml | 1 + src/meta/client/Cargo.toml | 1 + src/meta/control/Cargo.toml | 1 + src/meta/ee/Cargo.toml | 1 + src/meta/kvapi-test-suite/Cargo.toml | 1 + src/meta/kvapi/Cargo.toml | 1 + src/meta/process/Cargo.toml | 1 + src/meta/proto-conv/Cargo.toml | 1 + src/meta/protos/Cargo.toml | 1 + src/meta/raft-store/Cargo.toml | 1 + src/meta/semaphore/Cargo.toml | 1 + src/meta/service/Cargo.toml | 1 + src/meta/sled-store/Cargo.toml | 1 + src/meta/stoerr/Cargo.toml | 1 + src/meta/store/Cargo.toml | 1 + src/meta/types/Cargo.toml | 1 + src/query/ast/Cargo.toml | 1 + src/query/catalog/Cargo.toml | 1 + src/query/codegen/Cargo.toml | 1 + src/query/config/Cargo.toml | 1 + src/query/datavalues/Cargo.toml | 1 + src/query/ee/Cargo.toml | 1 + .../ee_features/aggregating_index/Cargo.toml | 1 + src/query/ee_features/attach_table/Cargo.toml | 1 + src/query/ee_features/data_mask/Cargo.toml | 1 + src/query/ee_features/fail_safe/Cargo.toml | 1 + .../ee_features/hilbert_clustering/Cargo.toml | 1 + .../resources_management/Cargo.toml | 1 + .../ee_features/storage_encryption/Cargo.toml | 1 + .../ee_features/storage_quota/Cargo.toml | 1 + .../ee_features/stream_handler/Cargo.toml | 1 + src/query/ee_features/table_index/Cargo.toml | 1 + .../ee_features/vacuum_handler/Cargo.toml | 1 + .../ee_features/virtual_column/Cargo.toml | 1 + src/query/expression/Cargo.toml | 1 + src/query/formats/Cargo.toml | 1 + src/query/functions/Cargo.toml | 1 + .../src/scalars/arithmetic/Cargo.toml | 1 + .../functions/src/scalars/decimal/Cargo.toml | 1 + .../src/scalars/geographic/Cargo.toml | 1 + .../src/scalars/integer_arithmetic/Cargo.toml | 1 + .../src/scalars/mathematics/Cargo.toml | 1 + .../numeric_basic_arithmetic/Cargo.toml | 1 + .../src/scalars/timestamp/Cargo.toml | 1 + src/query/management/Cargo.toml | 1 + src/query/pipeline/core/Cargo.toml | 1 + src/query/pipeline/sinks/Cargo.toml | 1 + src/query/pipeline/sources/Cargo.toml | 1 + src/query/pipeline/transforms/Cargo.toml | 1 + src/query/script/Cargo.toml | 1 + src/query/service/Cargo.toml | 1 + src/query/settings/Cargo.toml | 1 + src/query/sql/Cargo.toml | 1 + src/query/storages/common/blocks/Cargo.toml | 1 + src/query/storages/common/cache/Cargo.toml | 1 + src/query/storages/common/index/Cargo.toml | 1 + src/query/storages/common/io/Cargo.toml | 1 + src/query/storages/common/pruner/Cargo.toml | 1 + src/query/storages/common/session/Cargo.toml | 1 + src/query/storages/common/stage/Cargo.toml | 1 + .../storages/common/table_meta/Cargo.toml | 1 + src/query/storages/delta/Cargo.toml | 1 + src/query/storages/factory/Cargo.toml | 1 + src/query/storages/fuse/Cargo.toml | 1 + src/query/storages/hive/hive/Cargo.toml | 1 + src/query/storages/iceberg/Cargo.toml | 1 + .../storages/information_schema/Cargo.toml | 1 + src/query/storages/memory/Cargo.toml | 1 + src/query/storages/null/Cargo.toml | 1 + src/query/storages/orc/Cargo.toml | 1 + src/query/storages/parquet/Cargo.toml | 1 + src/query/storages/random/Cargo.toml | 1 + src/query/storages/result_cache/Cargo.toml | 1 + src/query/storages/stage/Cargo.toml | 1 + src/query/storages/stream/Cargo.toml | 1 + src/query/storages/system/Cargo.toml | 1 + src/query/storages/view/Cargo.toml | 1 + src/query/users/Cargo.toml | 1 + src/tests/sqlsmith/Cargo.toml | 1 + tests/sqllogictests/Cargo.toml | 1 + 116 files changed, 770 insertions(+), 1 deletion(-) create mode 100644 .config/hakari.toml create mode 100644 databend-workspace-hack/.gitattributes create mode 100644 databend-workspace-hack/Cargo.toml create mode 100644 databend-workspace-hack/build.rs create mode 100644 databend-workspace-hack/src/lib.rs diff --git a/.config/hakari.toml b/.config/hakari.toml new file mode 100644 index 0000000000000..66bd7c993254c --- /dev/null +++ b/.config/hakari.toml @@ -0,0 +1,33 @@ +# This file contains settings for `cargo hakari`. +# See https://docs.rs/cargo-hakari/latest/cargo_hakari/config for a full list of options. + +hakari-package = "databend-workspace-hack" + +# Format version for hakari's output. Version 4 requires cargo-hakari 0.9.22 or above. +dep-format-version = "4" + +# Setting workspace.resolver = "2" or higher in the root Cargo.toml is HIGHLY recommended. +# Hakari works much better with the v2 resolver. (The v2 and v3 resolvers are identical from +# hakari's perspective, so you're welcome to set either.) +# +# For more about the new feature resolver, see: +# https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html#cargos-new-feature-resolver +resolver = "2" + +# Add triples corresponding to platforms commonly used by developers here. +# https://doc.rust-lang.org/rustc/platform-support.html +platforms = [ + # "x86_64-unknown-linux-gnu", + # "x86_64-apple-darwin", + # "aarch64-apple-darwin", + # "x86_64-pc-windows-msvc", +] + +# Write out exact versions rather than a semver range. (Defaults to false.) +# exact-versions = true + +[final-excludes] +third-party = [ + { name = "sled", git = "https://github.com/datafuse-extras/sled", tag = "v0.34.7-datafuse.1" }, + { name = "opendal" }, +] diff --git a/Cargo.lock b/Cargo.lock index 312e321a41e5d..3549846741237 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1362,6 +1362,7 @@ dependencies = [ "databend-common-meta-app", "databend-common-users", "databend-query", + "databend-workspace-hack", "pyo3", "pyo3-build-config", "tempfile", @@ -2991,6 +2992,7 @@ dependencies = [ "databend-enterprise-query", "databend-meta", "databend-query", + "databend-workspace-hack", "form_urlencoded", "futures", "http 1.3.1", @@ -3018,6 +3020,7 @@ dependencies = [ "databend-enterprise-query", "databend-query", "databend-storages-common-table-meta", + "databend-workspace-hack", "limits-rs", "log", "opendal", @@ -3032,6 +3035,7 @@ name = "databend-codegen" version = "0.1.0" dependencies = [ "databend-common-expression", + "databend-workspace-hack", "itertools 0.13.0", ] @@ -3039,6 +3043,7 @@ dependencies = [ name = "databend-common-ast" version = "0.2.1" dependencies = [ + "databend-workspace-hack", "databend_educe", "derive-visitor", "divan", @@ -3074,6 +3079,7 @@ dependencies = [ "base64 0.22.1", "chrono", "databend-common-base", + "databend-workspace-hack", "http 1.3.1", "tempfile", ] @@ -3095,6 +3101,7 @@ dependencies = [ "crc32fast", "ctrlc", "databend-common-exception", + "databend-workspace-hack", "enquote", "fastrace", "futures", @@ -3138,6 +3145,7 @@ dependencies = [ "base64 0.22.1", "cargo-license", "cargo_metadata", + "databend-workspace-hack", "gix", "log", "vergen", @@ -3147,6 +3155,7 @@ dependencies = [ name = "databend-common-cache" version = "0.1.0" dependencies = [ + "databend-workspace-hack", "hashbrown 0.15.3", "hashlink 0.8.4", ] @@ -3176,6 +3185,7 @@ dependencies = [ "databend-common-users", "databend-storages-common-session", "databend-storages-common-table-meta", + "databend-workspace-hack", "dyn-clone", "goldenfile", "log", @@ -3199,6 +3209,7 @@ dependencies = [ "chrono", "databend-common-base", "databend-common-exception", + "databend-workspace-hack", "hyper-util", "lenient_semver", "prost", @@ -3221,6 +3232,7 @@ dependencies = [ "bytemuck", "databend-common-base", "databend-common-exception", + "databend-workspace-hack", "either", "ethnum", "foreign_vec", @@ -3243,6 +3255,7 @@ dependencies = [ "brotli 3.5.0", "bytes", "databend-common-exception", + "databend-workspace-hack", "env_logger 0.11.8", "futures", "log", @@ -3266,6 +3279,7 @@ dependencies = [ "databend-common-storage", "databend-common-tracing", "databend-common-version", + "databend-workspace-hack", "log", "pretty_assertions", "serde", @@ -3280,6 +3294,7 @@ dependencies = [ name = "databend-common-datavalues" version = "0.1.0" dependencies = [ + "databend-workspace-hack", "enum-as-inner", "enum_dispatch", "serde", @@ -3297,6 +3312,7 @@ dependencies = [ "bincode 2.0.1", "cidr", "databend-common-ast", + "databend-workspace-hack", "geozero", "gimli 0.31.1", "http 1.3.1", @@ -3345,6 +3361,7 @@ dependencies = [ "databend-common-grpc", "databend-common-hashtable", "databend-common-io", + "databend-workspace-hack", "databend_educe", "divan", "either", @@ -3402,6 +3419,7 @@ dependencies = [ "databend-functions-scalar-datetime", "databend-storages-common-blocks", "databend-storages-common-table-meta", + "databend-workspace-hack", "geozero", "goldenfile", "hex", @@ -3446,6 +3464,7 @@ dependencies = [ "databend-functions-scalar-integer-basic-arithmetic", "databend-functions-scalar-math", "databend-functions-scalar-numeric-basic-arithmetic", + "databend-workspace-hack", "divan", "geo", "geohash", @@ -3493,6 +3512,7 @@ dependencies = [ "anyerror", "databend-common-base", "databend-common-exception", + "databend-workspace-hack", "hickory-resolver", "hyper 1.6.0", "hyper-util", @@ -3513,6 +3533,7 @@ dependencies = [ "cfg-if", "databend-common-base", "databend-common-column", + "databend-workspace-hack", "ethnum", "rand 0.8.5", ] @@ -3524,6 +3545,7 @@ dependencies = [ "anyerror", "databend-common-base", "databend-common-exception", + "databend-workspace-hack", "futures", "http 1.3.1", "log", @@ -3546,6 +3568,7 @@ dependencies = [ "chrono-tz 0.8.6", "databend-common-base", "databend-common-exception", + "databend-workspace-hack", "enquote", "enumflags2", "ethnum", @@ -3568,6 +3591,7 @@ version = "0.1.0" dependencies = [ "databend-common-base", "databend-common-exception", + "databend-workspace-hack", "display-more", "jwt-simple", "serde", @@ -3593,6 +3617,7 @@ dependencies = [ "databend-common-meta-types", "databend-common-proto-conv", "databend-common-version", + "databend-workspace-hack", "enumflags2", "fastrace", "futures", @@ -3619,6 +3644,7 @@ dependencies = [ "databend-common-meta-stoerr", "databend-common-meta-types", "databend-common-proto-conv", + "databend-workspace-hack", "display-more", "fastrace", "futures", @@ -3650,6 +3676,7 @@ dependencies = [ "databend-common-meta-app-types", "databend-common-meta-kvapi", "databend-common-meta-types", + "databend-workspace-hack", "derive_more", "display-more", "enumflags2", @@ -3673,6 +3700,7 @@ version = "0.1.0" dependencies = [ "databend-common-base", "databend-common-exception", + "databend-workspace-hack", "opendal", "serde", ] @@ -3682,6 +3710,7 @@ name = "databend-common-meta-app-types" version = "0.1.0" dependencies = [ "anyhow", + "databend-workspace-hack", "num-derive", "prost", "serde", @@ -3696,6 +3725,7 @@ dependencies = [ "databend-common-base", "databend-common-meta-client", "databend-common-meta-types", + "databend-workspace-hack", "futures", "log", "pretty_assertions", @@ -3721,6 +3751,7 @@ dependencies = [ "databend-common-metrics", "databend-common-tracing", "databend-common-version", + "databend-workspace-hack", "derive_more", "display-more", "fastrace", @@ -3753,6 +3784,7 @@ dependencies = [ "databend-common-meta-types", "databend-common-tracing", "databend-meta", + "databend-workspace-hack", "futures", "raft-log", "reqwest", @@ -3771,6 +3803,7 @@ dependencies = [ "async-trait", "databend-common-meta-app-types", "databend-common-meta-types", + "databend-workspace-hack", "display-more", "futures-util", "log", @@ -3785,6 +3818,7 @@ dependencies = [ "anyhow", "databend-common-meta-kvapi", "databend-common-meta-types", + "databend-workspace-hack", "display-more", "fastrace", "log", @@ -3805,6 +3839,7 @@ dependencies = [ "databend-common-proto-conv", "databend-common-protos", "databend-common-tracing", + "databend-workspace-hack", "openraft", "prost", "serde", @@ -3828,6 +3863,7 @@ dependencies = [ "databend-common-meta-stoerr", "databend-common-meta-types", "databend-common-version", + "databend-workspace-hack", "deepsize", "derive_more", "display-more", @@ -3867,6 +3903,7 @@ dependencies = [ "databend-common-meta-client", "databend-common-meta-kvapi", "databend-common-meta-types", + "databend-workspace-hack", "display-more", "futures", "itertools 0.13.0", @@ -3885,6 +3922,7 @@ dependencies = [ "byteorder", "databend-common-meta-stoerr", "databend-common-meta-types", + "databend-workspace-hack", "fastrace", "log", "openraft", @@ -3901,6 +3939,7 @@ version = "0.1.0" dependencies = [ "anyerror", "databend-common-exception", + "databend-workspace-hack", "serde_json", "sled", "thiserror 1.0.69", @@ -3920,6 +3959,7 @@ dependencies = [ "databend-common-meta-semaphore", "databend-common-meta-types", "databend-meta", + "databend-workspace-hack", "log", "tempfile", "tokio", @@ -3936,6 +3976,7 @@ dependencies = [ "databend-common-exception", "databend-common-meta-stoerr", "databend-common-tracing", + "databend-workspace-hack", "deepsize", "derive_more", "display-more", @@ -3962,6 +4003,7 @@ version = "0.1.0" dependencies = [ "anyhow", "databend-common-base", + "databend-workspace-hack", "procfs", "prometheus-client 0.22.3", ] @@ -3977,6 +4019,7 @@ dependencies = [ "bytes", "databend-common-column", "databend-common-expression", + "databend-workspace-hack", "env_logger 0.11.8", "hashbrown 0.14.5", "log", @@ -3999,6 +4042,7 @@ version = "0.1.0" dependencies = [ "databend-common-exception", "databend-common-metrics", + "databend-workspace-hack", "log", "openai_api_rust", ] @@ -4012,6 +4056,7 @@ dependencies = [ "databend-common-base", "databend-common-exception", "databend-common-expression", + "databend-workspace-hack", "fastrace", "futures", "log", @@ -4031,6 +4076,7 @@ dependencies = [ "databend-common-exception", "databend-common-expression", "databend-common-pipeline-core", + "databend-workspace-hack", "tokio", ] @@ -4045,6 +4091,7 @@ dependencies = [ "databend-common-exception", "databend-common-expression", "databend-common-pipeline-core", + "databend-workspace-hack", "futures", "parking_lot 0.12.3", ] @@ -4059,6 +4106,7 @@ dependencies = [ "databend-common-exception", "databend-common-expression", "databend-common-pipeline-core", + "databend-workspace-hack", "itertools 0.13.0", "jsonb", "log", @@ -4082,6 +4130,7 @@ dependencies = [ "databend-common-meta-app-types", "databend-common-meta-types", "databend-common-protos", + "databend-workspace-hack", "enumflags2", "fastrace", "maplit", @@ -4095,6 +4144,7 @@ dependencies = [ name = "databend-common-protos" version = "0.1.0" dependencies = [ + "databend-workspace-hack", "lenient_semver", "num-derive", "num-traits", @@ -4111,6 +4161,7 @@ version = "0.1.0" dependencies = [ "databend-common-ast", "databend-common-exception", + "databend-workspace-hack", "derive-visitor", "fastrace", "goldenfile", @@ -4133,6 +4184,7 @@ dependencies = [ "databend-common-meta-app", "databend-common-users", "databend-common-version", + "databend-workspace-hack", "itertools 0.13.0", "log", "num_cpus", @@ -4183,6 +4235,7 @@ dependencies = [ "databend-storages-common-cache", "databend-storages-common-stage", "databend-storages-common-table-meta", + "databend-workspace-hack", "databend_educe", "derive-visitor", "enum-as-inner", @@ -4230,6 +4283,7 @@ dependencies = [ "databend-common-metrics", "databend-common-native", "databend-enterprise-storage-encryption", + "databend-workspace-hack", "futures", "http 1.3.1", "iceberg", @@ -4263,6 +4317,7 @@ dependencies = [ "databend-common-storages-parquet", "databend-storages-common-pruner", "databend-storages-common-table-meta", + "databend-workspace-hack", "deltalake", "fastrace", "object_store_opendal", @@ -4292,6 +4347,7 @@ dependencies = [ "databend-common-storages-stream", "databend-common-storages-view", "databend-storages-common-index", + "databend-workspace-hack", ] [[package]] @@ -4337,6 +4393,7 @@ dependencies = [ "databend-storages-common-pruner", "databend-storages-common-session", "databend-storages-common-table-meta", + "databend-workspace-hack", "divan", "enum-as-inner", "fastrace", @@ -4388,6 +4445,7 @@ dependencies = [ "databend-common-storages-parquet", "databend-storages-common-pruner", "databend-storages-common-table-meta", + "databend-workspace-hack", "fastrace", "faststr", "futures", @@ -4425,6 +4483,7 @@ dependencies = [ "databend-storages-common-cache", "databend-storages-common-stage", "databend-storages-common-table-meta", + "databend-workspace-hack", "databend_educe", "fastrace", "futures", @@ -4448,6 +4507,7 @@ dependencies = [ "databend-common-meta-app", "databend-common-storages-system", "databend-common-storages-view", + "databend-workspace-hack", ] [[package]] @@ -4467,6 +4527,7 @@ dependencies = [ "databend-common-storage", "databend-storages-common-blocks", "databend-storages-common-table-meta", + "databend-workspace-hack", "parking_lot 0.12.3", "serde", "typetag", @@ -4486,6 +4547,7 @@ dependencies = [ "databend-common-pipeline-sinks", "databend-common-pipeline-sources", "databend-storages-common-table-meta", + "databend-workspace-hack", ] [[package]] @@ -4511,6 +4573,7 @@ dependencies = [ "databend-common-storage", "databend-storages-common-stage", "databend-storages-common-table-meta", + "databend-workspace-hack", "futures-util", "log", "opendal", @@ -4547,6 +4610,7 @@ dependencies = [ "databend-storages-common-pruner", "databend-storages-common-stage", "databend-storages-common-table-meta", + "databend-workspace-hack", "futures", "jiff 0.2.13", "log", @@ -4571,6 +4635,7 @@ dependencies = [ "databend-common-pipeline-core", "databend-common-pipeline-sources", "databend-storages-common-table-meta", + "databend-workspace-hack", "serde", "typetag", ] @@ -4595,6 +4660,7 @@ dependencies = [ "databend-common-storages-parquet", "databend-storages-common-blocks", "databend-storages-common-table-meta", + "databend-workspace-hack", "opendal", "parquet", "serde", @@ -4635,6 +4701,7 @@ dependencies = [ "databend-common-version", "databend-storages-common-stage", "databend-storages-common-table-meta", + "databend-workspace-hack", "enum-as-inner", "futures", "jsonb", @@ -4667,6 +4734,7 @@ dependencies = [ "databend-common-sql", "databend-common-storages-fuse", "databend-storages-common-table-meta", + "databend-workspace-hack", "fastrace", "futures", "log", @@ -4702,6 +4770,7 @@ dependencies = [ "databend-common-users", "databend-storages-common-cache", "databend-storages-common-table-meta", + "databend-workspace-hack", "futures", "itertools 0.13.0", "jiff 0.2.13", @@ -4727,6 +4796,7 @@ dependencies = [ "databend-common-catalog", "databend-common-exception", "databend-common-meta-app", + "databend-workspace-hack", ] [[package]] @@ -4743,6 +4813,7 @@ dependencies = [ "databend-common-base", "databend-common-exception", "databend-common-meta-app-storage", + "databend-workspace-hack", "defer", "fastrace", "fastrace-opentelemetry", @@ -4782,6 +4853,7 @@ dependencies = [ "databend-common-meta-kvapi", "databend-common-meta-store", "databend-common-meta-types", + "databend-workspace-hack", "enumflags2", "itertools 0.13.0", "jwt-simple", @@ -4802,6 +4874,7 @@ version = "0.1.0" dependencies = [ "approx", "databend-common-exception", + "databend-workspace-hack", "ndarray", ] @@ -4810,6 +4883,7 @@ name = "databend-common-version" version = "0.1.0" dependencies = [ "databend-common-building", + "databend-workspace-hack", "semver", ] @@ -4823,6 +4897,7 @@ dependencies = [ "databend-common-catalog", "databend-common-exception", "databend-common-meta-app", + "databend-workspace-hack", ] [[package]] @@ -4835,6 +4910,7 @@ dependencies = [ "databend-common-exception", "databend-common-meta-app", "databend-common-sql", + "databend-workspace-hack", ] [[package]] @@ -4846,6 +4922,7 @@ dependencies = [ "databend-common-exception", "databend-common-meta-app", "databend-common-meta-store", + "databend-workspace-hack", ] [[package]] @@ -4857,6 +4934,7 @@ dependencies = [ "databend-common-base", "databend-common-exception", "databend-common-meta-app", + "databend-workspace-hack", ] [[package]] @@ -4869,11 +4947,15 @@ dependencies = [ "databend-common-catalog", "databend-common-exception", "databend-storages-common-table-meta", + "databend-workspace-hack", ] [[package]] name = "databend-enterprise-meta" version = "0.1.0" +dependencies = [ + "databend-workspace-hack", +] [[package]] name = "databend-enterprise-query" @@ -4924,6 +5006,7 @@ dependencies = [ "databend-storages-common-io", "databend-storages-common-pruner", "databend-storages-common-table-meta", + "databend-workspace-hack", "derive-visitor", "futures", "futures-util", @@ -4946,6 +5029,7 @@ dependencies = [ "databend-common-exception", "databend-common-management", "databend-common-meta-types", + "databend-workspace-hack", ] [[package]] @@ -4955,6 +5039,7 @@ dependencies = [ "async-trait", "databend-common-base", "databend-common-exception", + "databend-workspace-hack", ] [[package]] @@ -4965,6 +5050,7 @@ dependencies = [ "databend-common-base", "databend-common-exception", "databend-common-license", + "databend-workspace-hack", ] [[package]] @@ -4978,6 +5064,7 @@ dependencies = [ "databend-common-exception", "databend-common-meta-app", "databend-common-sql", + "databend-workspace-hack", ] [[package]] @@ -4994,6 +5081,7 @@ dependencies = [ "databend-common-pipeline-core", "databend-common-storages-fuse", "databend-storages-common-table-meta", + "databend-workspace-hack", ] [[package]] @@ -5005,6 +5093,7 @@ dependencies = [ "databend-common-base", "databend-common-catalog", "databend-common-exception", + "databend-workspace-hack", ] [[package]] @@ -5018,6 +5107,7 @@ dependencies = [ "databend-common-exception", "databend-common-pipeline-core", "databend-common-storages-fuse", + "databend-workspace-hack", ] [[package]] @@ -5026,6 +5116,7 @@ version = "0.1.0" dependencies = [ "databend-common-expression", "databend-functions-scalar-decimal", + "databend-workspace-hack", "lexical-core", "match-template", "num-traits", @@ -5039,6 +5130,7 @@ dependencies = [ "databend-common-column", "databend-common-exception", "databend-common-expression", + "databend-workspace-hack", "dtparse", "jiff 0.2.13", "num-traits", @@ -5050,6 +5142,7 @@ version = "0.1.0" dependencies = [ "databend-common-base", "databend-common-expression", + "databend-workspace-hack", "jsonb", "match-template", "num-traits", @@ -5062,6 +5155,7 @@ dependencies = [ "databend-common-exception", "databend-common-expression", "databend-common-io", + "databend-workspace-hack", "geo", "geohash", "geozero", @@ -5079,6 +5173,7 @@ version = "0.1.0" dependencies = [ "databend-common-expression", "databend-functions-scalar-numeric-basic-arithmetic", + "databend-workspace-hack", "match-template", "num-traits", ] @@ -5091,6 +5186,7 @@ dependencies = [ "databend-common-base", "databend-common-expression", "databend-functions-scalar-decimal", + "databend-workspace-hack", "match-template", "num-traits", ] @@ -5100,6 +5196,7 @@ name = "databend-functions-scalar-numeric-basic-arithmetic" version = "0.1.0" dependencies = [ "databend-common-expression", + "databend-workspace-hack", "match-template", "num-traits", "strength_reduce", @@ -5131,6 +5228,7 @@ dependencies = [ "databend-common-metrics", "databend-common-tracing", "databend-common-version", + "databend-workspace-hack", "deepsize", "derive_more", "display-more", @@ -5190,6 +5288,7 @@ dependencies = [ "databend-common-tracing", "databend-common-version", "databend-meta", + "databend-workspace-hack", "display-more", "fastrace", "futures", @@ -5301,6 +5400,7 @@ dependencies = [ "databend-storages-common-session", "databend-storages-common-stage", "databend-storages-common-table-meta", + "databend-workspace-hack", "derive-visitor", "ethnum", "fastrace", @@ -5383,6 +5483,7 @@ dependencies = [ "bollard", "clap", "databend-common-exception", + "databend-workspace-hack", "env_logger 0.11.8", "futures-util", "mysql_async", @@ -5415,6 +5516,7 @@ dependencies = [ "databend-common-functions", "databend-common-io", "databend-common-sql", + "databend-workspace-hack", "derive-visitor", "ethnum", "itertools 0.13.0", @@ -5437,6 +5539,7 @@ dependencies = [ "databend-common-exception", "databend-common-expression", "databend-storages-common-table-meta", + "databend-workspace-hack", "parking_lot 0.12.3", "parquet", ] @@ -5459,6 +5562,7 @@ dependencies = [ "databend-common-metrics", "databend-storages-common-index", "databend-storages-common-table-meta", + "databend-workspace-hack", "divan", "hex", "libc", @@ -5487,6 +5591,7 @@ dependencies = [ "databend-common-expression", "databend-common-functions", "databend-storages-common-table-meta", + "databend-workspace-hack", "divan", "fastrace", "feistel-permutation-rs", @@ -5526,6 +5631,7 @@ dependencies = [ "databend-common-exception", "databend-common-expression", "databend-common-metrics", + "databend-workspace-hack", "fastrace", "futures", "log", @@ -5541,6 +5647,7 @@ dependencies = [ "databend-common-functions", "databend-storages-common-index", "databend-storages-common-table-meta", + "databend-workspace-hack", "log", "serde", "typetag", @@ -5557,6 +5664,7 @@ dependencies = [ "databend-common-storage", "databend-storages-common-blocks", "databend-storages-common-table-meta", + "databend-workspace-hack", "log", "parking_lot 0.12.3", "serde", @@ -5573,6 +5681,7 @@ dependencies = [ "databend-common-expression", "databend-common-functions", "databend-common-meta-app", + "databend-workspace-hack", "serde", "typetag", ] @@ -5594,6 +5703,7 @@ dependencies = [ "databend-common-io", "databend-common-native", "databend-common-storage", + "databend-workspace-hack", "enum-as-inner", "log", "parquet", @@ -5606,6 +5716,175 @@ dependencies = [ "zstd 0.12.4", ] +[[package]] +name = "databend-workspace-hack" +version = "0.1.0" +dependencies = [ + "ahash 0.8.12", + "aho-corasick", + "anstream", + "anyhow", + "apache-avro", + "approx", + "arrayvec", + "arrow", + "arrow-array", + "arrow-cast", + "arrow-data", + "arrow-ipc", + "arrow-schema", + "arrow-udf-runtime", + "backtrace", + "base64 0.22.1", + "bigdecimal", + "bitflags 2.9.0", + "brotli 8.0.1", + "bstr", + "bytemuck", + "byteorder", + "bytes", + "bzip2 0.4.4", + "bzip2-sys", + "cc", + "chrono", + "clap", + "clap_builder", + "comfy-table", + "concurrent-queue", + "console", + "crossbeam-epoch", + "crossbeam-queue", + "crossbeam-utils", + "crypto-common", + "dashmap 6.1.0", + "deranged", + "either", + "env_filter", + "ethnum", + "event-listener-strategy", + "fastrace", + "flatbuffers", + "flate2", + "form_urlencoded", + "frunk_core", + "futures-channel", + "futures-executor", + "futures-sink", + "futures-task", + "futures-util", + "generic-array", + "geo-types", + "getrandom 0.2.16", + "getrandom 0.3.3", + "gimli 0.31.1", + "hashbrown 0.14.5", + "hashbrown 0.15.3", + "hmac", + "hyper 1.6.0", + "hyper-rustls 0.27.5", + "hyper-util", + "indexmap 2.9.0", + "instant", + "ipnet", + "itertools 0.13.0", + "jiff 0.2.13", + "lexical-core", + "lexical-parse-float", + "lexical-parse-integer", + "lexical-util", + "lexical-write-float", + "lexical-write-integer", + "libc", + "libflate", + "log", + "lz4_flex", + "lzma-sys", + "md-5", + "memchr", + "mysql_common", + "nom 7.1.3", + "num", + "num-bigint", + "num-format", + "num-integer", + "num-iter", + "num-traits", + "object", + "object_store", + "once_cell", + "ordered-float 4.6.0", + "parquet", + "percent-encoding", + "phf", + "phf_shared", + "pkcs8", + "portable-atomic", + "proc-macro2", + "prost", + "prost-types", + "pyo3", + "pyo3-build-config", + "pyo3-ffi", + "rand 0.8.5", + "rand_core 0.6.4", + "regex", + "regex-automata 0.4.9", + "regex-lite", + "regex-syntax 0.8.5", + "reqwest", + "ring", + "rquickjs-core", + "rsa", + "rust_decimal", + "rustc-hash 2.1.1", + "rustls 0.23.27", + "rustls-pemfile 2.2.0", + "rustls-webpki 0.103.3", + "scopeguard", + "semver", + "serde", + "serde_bytes", + "serde_json", + "sha1", + "sha2", + "simdutf8", + "similar", + "smallvec", + "spin 0.9.8", + "sqlx-core", + "sqlx-mysql", + "stable_deref_trait", + "strum 0.26.3", + "subtle", + "syn 1.0.109", + "syn 2.0.101", + "sync_wrapper", + "thrift", + "tikv-jemalloc-sys", + "time", + "time-macros", + "tokio", + "tokio-rustls 0.26.2", + "tokio-stream", + "toml_datetime", + "toml_edit 0.19.15", + "toml_edit 0.22.26", + "tracing", + "tracing-core", + "twox-hash 1.6.3", + "unicode-normalization", + "url", + "uuid", + "wasmparser 0.219.2", + "xz2", + "zeroize", + "zstd 0.12.4", + "zstd 0.13.3", + "zstd-safe 6.0.6", + "zstd-safe 7.2.4", + "zstd-sys", +] + [[package]] name = "databend_educe" version = "1.0.0" diff --git a/Cargo.toml b/Cargo.toml index 93d78ab729bf2..91415a4d96315 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,6 +8,7 @@ edition = "2021" [workspace] resolver = "2" members = [ + "databend-workspace-hack", "src/binaries", "src/common/auth", "src/common/base", diff --git a/databend-workspace-hack/.gitattributes b/databend-workspace-hack/.gitattributes new file mode 100644 index 0000000000000..3e9dba4b64b5c --- /dev/null +++ b/databend-workspace-hack/.gitattributes @@ -0,0 +1,4 @@ +# Avoid putting conflict markers in the generated Cargo.toml file, since their presence breaks +# Cargo. +# Also do not check out the file as CRLF on Windows, as that's what hakari needs. +Cargo.toml merge=binary -crlf diff --git a/databend-workspace-hack/Cargo.toml b/databend-workspace-hack/Cargo.toml new file mode 100644 index 0000000000000..fd96bc0f584ca --- /dev/null +++ b/databend-workspace-hack/Cargo.toml @@ -0,0 +1,341 @@ +# This file is generated by `cargo hakari`. +# To regenerate, run: +# cargo hakari generate + +[package] +name = "databend-workspace-hack" +version = "0.1.0" +edition = "2021" +description = "workspace-hack package, managed by hakari" +# You can choose to publish this crate: see https://docs.rs/cargo-hakari/latest/cargo_hakari/publishing. +publish = false + +# The parts of the file between the BEGIN HAKARI SECTION and END HAKARI SECTION comments +# are managed by hakari. + +### BEGIN HAKARI SECTION +[dependencies] +ahash = { version = "0.8", features = ["compile-time-rng", "no-rng", "serde"] } +aho-corasick = { version = "1" } +anstream = { version = "0.6" } +anyhow = { version = "1", features = ["backtrace"] } +apache-avro = { version = "0.17", default-features = false, features = ["bzip", "snappy", "xz", "zstandard"] } +approx = { version = "0.5" } +arrayvec = { version = "0.7" } +arrow = { version = "55", features = ["chrono-tz", "ipc_compression", "prettyprint", "pyarrow"] } +arrow-array = { version = "55", default-features = false, features = ["chrono-tz", "ffi"] } +arrow-cast = { version = "55", default-features = false, features = ["prettyprint"] } +arrow-data = { version = "55", default-features = false, features = ["ffi"] } +arrow-ipc = { version = "55", features = ["lz4", "zstd"] } +arrow-schema = { version = "55", default-features = false, features = ["ffi", "serde"] } +arrow-udf-runtime = { git = "https://github.com/datafuse-extras/arrow-udf.git", rev = "a442343", default-features = false, features = ["javascript", "python", "wasm"] } +backtrace = { git = "https://github.com/rust-lang/backtrace-rs.git", rev = "72265be", features = ["serialize-serde"] } +base64 = { version = "0.22" } +bigdecimal = { version = "0.4", features = ["serde"] } +bitflags = { version = "2", default-features = false, features = ["serde", "std"] } +brotli = { version = "8" } +bstr = { version = "1" } +bytemuck = { version = "1", default-features = false, features = ["derive", "must_cast"] } +byteorder = { version = "1" } +bytes = { version = "1", features = ["serde"] } +bzip2 = { version = "0.4", default-features = false, features = ["static"] } +bzip2-sys = { version = "0.1", default-features = false, features = ["static"] } +chrono = { version = "0.4", features = ["serde"] } +clap = { version = "4", features = ["derive", "env", "wrap_help"] } +clap_builder = { version = "4", default-features = false, features = ["color", "env", "std", "suggestions", "usage", "wrap_help"] } +comfy-table = { version = "7" } +concurrent-queue = { version = "2" } +console = { version = "0.15", default-features = false, features = ["ansi-parsing", "unicode-width"] } +crossbeam-epoch = { version = "0.9" } +crossbeam-queue = { version = "0.3" } +crossbeam-utils = { version = "0.8" } +crypto-common = { version = "0.1", default-features = false, features = ["getrandom", "std"] } +dashmap = { version = "6", default-features = false, features = ["serde"] } +deranged = { version = "0.4", default-features = false, features = ["powerfmt", "serde", "std"] } +either = { version = "1", features = ["serde", "use_std"] } +env_filter = { version = "0.1" } +ethnum = { version = "1", default-features = false, features = ["macros", "serde"] } +event-listener-strategy = { version = "0.5" } +fastrace = { version = "0.7", default-features = false, features = ["enable"] } +flatbuffers = { version = "25" } +flate2 = { version = "1", features = ["zlib", "zlib-rs"] } +form_urlencoded = { version = "1" } +frunk_core = { version = "0.4", default-features = false, features = ["alloc"] } +futures-channel = { version = "0.3", features = ["sink"] } +futures-executor = { version = "0.3" } +futures-sink = { version = "0.3" } +futures-task = { version = "0.3", default-features = false, features = ["std"] } +futures-util = { version = "0.3", features = ["channel", "io", "sink"] } +generic-array = { version = "0.14", default-features = false, features = ["more_lengths", "zeroize"] } +geo-types = { version = "0.7", features = ["serde", "use-rstar_0_12"] } +getrandom-468e82937335b1c9 = { package = "getrandom", version = "0.3", default-features = false, features = ["std", "wasm_js"] } +getrandom-6f8ce4dd05d13bba = { package = "getrandom", version = "0.2", default-features = false, features = ["std"] } +gimli = { version = "0.31" } +hashbrown-3575ec1268b04181 = { package = "hashbrown", version = "0.15" } +hashbrown-582f2526e08bb6a0 = { package = "hashbrown", version = "0.14", features = ["raw", "serde"] } +hmac = { version = "0.12", default-features = false, features = ["reset"] } +hyper = { version = "1", features = ["full"] } +hyper-rustls = { version = "0.27", default-features = false, features = ["http1", "http2", "native-tokio", "tls12"] } +hyper-util = { version = "0.1", features = ["client-legacy", "server-auto", "service"] } +indexmap = { version = "2", features = ["serde"] } +instant = { version = "0.1", default-features = false, features = ["inaccurate", "wasm-bindgen"] } +ipnet = { version = "2" } +itertools = { version = "0.13" } +jiff = { version = "0.2", features = ["serde", "tzdb-bundle-always"] } +lexical-core = { version = "1" } +lexical-parse-float = { version = "1", default-features = false, features = ["std"] } +lexical-parse-integer = { version = "1", default-features = false, features = ["std"] } +lexical-util = { version = "1", default-features = false, features = ["parse-floats", "parse-integers", "std", "write-floats", "write-integers"] } +lexical-write-float = { version = "1", default-features = false, features = ["std"] } +lexical-write-integer = { version = "1", default-features = false, features = ["std"] } +libc = { version = "0.2", features = ["extra_traits", "use_std"] } +libflate = { version = "2" } +log = { version = "0.4", default-features = false, features = ["kv_unstable_std", "serde"] } +lz4_flex = { version = "0.11" } +lzma-sys = { version = "0.1", default-features = false, features = ["static"] } +md-5 = { version = "0.10" } +memchr = { version = "2" } +mysql_common = { version = "0.32", features = ["chrono"] } +nom = { version = "7" } +num = { version = "0.4" } +num-bigint = { version = "0.4", features = ["arbitrary", "serde"] } +num-format = { version = "0.4" } +num-integer = { version = "0.1", features = ["i128"] } +num-iter = { version = "0.1", default-features = false, features = ["i128", "std"] } +num-traits = { version = "0.2", features = ["i128", "libm"] } +object = { version = "0.36", features = ["write"] } +object_store = { version = "0.12", features = ["aws", "azure", "gcp", "http"] } +once_cell = { version = "1", features = ["critical-section"] } +ordered-float = { version = "4", features = ["serde"] } +parquet = { version = "55", features = ["object_store"] } +percent-encoding = { version = "2" } +phf = { version = "0.11" } +phf_shared = { version = "0.11" } +pkcs8 = { version = "0.10", default-features = false, features = ["encryption", "pem", "std"] } +portable-atomic = { version = "1", features = ["std"] } +prost = { version = "0.13", features = ["prost-derive"] } +prost-types = { version = "0.13" } +pyo3 = { version = "0.24", features = ["abi3-py312", "auto-initialize", "generate-import-lib"] } +pyo3-ffi = { version = "0.24", features = ["abi3-py312", "generate-import-lib"] } +rand = { version = "0.8", features = ["serde1", "small_rng"] } +rand_core = { version = "0.6", default-features = false, features = ["serde1", "std"] } +regex = { version = "1" } +regex-automata = { version = "0.4", default-features = false, features = ["dfa-onepass", "dfa-search", "hybrid", "meta", "nfa-backtrack", "perf-inline", "perf-literal", "unicode"] } +regex-lite = { version = "0.1" } +regex-syntax = { version = "0.8" } +reqwest = { version = "0.12", features = ["blocking", "cookies", "json", "native-tls-alpn", "native-tls-vendored", "rustls-tls", "rustls-tls-native-roots", "stream"] } +ring = { version = "0.17", features = ["std"] } +rquickjs-core = { version = "0.6", features = ["array-buffer", "classes", "futures", "loader", "parallel", "properties"] } +rsa = { version = "0.9", features = ["pkcs5", "sha2"] } +rust_decimal = { version = "1" } +rustc-hash = { version = "2", features = ["rand"] } +rustls = { version = "0.23", default-features = false, features = ["aws-lc-rs", "aws_lc_rs", "logging", "ring", "std", "tls12"] } +rustls-pemfile = { version = "2" } +rustls-webpki = { version = "0.103", default-features = false, features = ["aws-lc-rs", "ring", "std"] } +scopeguard = { version = "1" } +semver = { version = "1", features = ["serde"] } +serde = { version = "1", features = ["alloc", "derive", "rc"] } +serde_bytes = { version = "0.11" } +serde_json = { version = "1", features = ["arbitrary_precision", "preserve_order", "raw_value", "unbounded_depth"] } +sha1 = { version = "0.10" } +sha2 = { version = "0.10", features = ["oid"] } +simdutf8 = { version = "0.1", features = ["aarch64_neon"] } +similar = { version = "2", features = ["inline", "unicode"] } +smallvec = { version = "1", default-features = false, features = ["const_new", "serde", "union", "write"] } +spin = { version = "0.9", default-features = false, features = ["once", "spin_mutex"] } +sqlx-core = { version = "0.8", features = ["_rt-tokio", "any", "json", "migrate", "offline"] } +sqlx-mysql = { version = "0.8", default-features = false, features = ["any", "json", "migrate", "offline"] } +stable_deref_trait = { version = "1" } +strum = { version = "0.26", features = ["derive"] } +subtle = { version = "2" } +sync_wrapper = { version = "1", default-features = false, features = ["futures"] } +thrift = { version = "0.17" } +tikv-jemalloc-sys = { version = "0.6", features = ["disable_initial_exec_tls", "profiling", "stats", "unprefixed_malloc_on_supported_platforms"] } +time = { version = "0.3", features = ["local-offset", "macros", "serde-well-known"] } +tokio = { version = "1", features = ["full", "test-util", "tracing"] } +tokio-rustls = { version = "0.26", default-features = false, features = ["logging", "ring", "tls12"] } +tokio-stream = { version = "0.1", features = ["fs", "net"] } +toml_datetime = { version = "0.6", default-features = false, features = ["serde"] } +toml_edit-3c51e837cfc5589a = { package = "toml_edit", version = "0.22", default-features = false, features = ["display", "parse", "serde"] } +toml_edit-cdcf2f9584511fe6 = { package = "toml_edit", version = "0.19", features = ["serde"] } +tracing = { version = "0.1", features = ["log"] } +tracing-core = { version = "0.1", features = ["valuable"] } +twox-hash = { version = "1" } +unicode-normalization = { version = "0.1" } +url = { version = "2", features = ["serde"] } +uuid = { version = "1", features = ["fast-rng", "serde", "v4", "v7"] } +wasmparser = { version = "0.219", default-features = false, features = ["component-model", "features", "serde", "std", "validate"] } +xz2 = { version = "0.1", default-features = false, features = ["static"] } +zeroize = { version = "1", features = ["zeroize_derive"] } +zstd-594e8ee84c453af0 = { package = "zstd", version = "0.13", features = ["experimental"] } +zstd-5ef9efb8ec2df382 = { package = "zstd", version = "0.12" } +zstd-safe-15128469a54ed75a = { package = "zstd-safe", version = "7", default-features = false, features = ["arrays", "experimental", "legacy", "std", "zdict_builder"] } +zstd-safe-a490c3000a992113 = { package = "zstd-safe", version = "6", default-features = false, features = ["arrays", "legacy", "std", "zdict_builder"] } +zstd-sys = { version = "2", default-features = false, features = ["experimental", "legacy", "std", "zdict_builder"] } + +[build-dependencies] +ahash = { version = "0.8", features = ["compile-time-rng", "no-rng", "serde"] } +aho-corasick = { version = "1" } +anstream = { version = "0.6" } +anyhow = { version = "1", features = ["backtrace"] } +apache-avro = { version = "0.17", default-features = false, features = ["bzip", "snappy", "xz", "zstandard"] } +approx = { version = "0.5" } +arrayvec = { version = "0.7" } +arrow = { version = "55", features = ["chrono-tz", "ipc_compression", "prettyprint", "pyarrow"] } +arrow-array = { version = "55", default-features = false, features = ["chrono-tz", "ffi"] } +arrow-cast = { version = "55", default-features = false, features = ["prettyprint"] } +arrow-data = { version = "55", default-features = false, features = ["ffi"] } +arrow-ipc = { version = "55", features = ["lz4", "zstd"] } +arrow-schema = { version = "55", default-features = false, features = ["ffi", "serde"] } +arrow-udf-runtime = { git = "https://github.com/datafuse-extras/arrow-udf.git", rev = "a442343", default-features = false, features = ["javascript", "python", "wasm"] } +backtrace = { git = "https://github.com/rust-lang/backtrace-rs.git", rev = "72265be", features = ["serialize-serde"] } +base64 = { version = "0.22" } +bigdecimal = { version = "0.4", features = ["serde"] } +bitflags = { version = "2", default-features = false, features = ["serde", "std"] } +brotli = { version = "8" } +bstr = { version = "1" } +bytemuck = { version = "1", default-features = false, features = ["derive", "must_cast"] } +byteorder = { version = "1" } +bytes = { version = "1", features = ["serde"] } +bzip2 = { version = "0.4", default-features = false, features = ["static"] } +bzip2-sys = { version = "0.1", default-features = false, features = ["static"] } +cc = { version = "1", default-features = false, features = ["parallel"] } +chrono = { version = "0.4", features = ["serde"] } +clap = { version = "4", features = ["derive", "env", "wrap_help"] } +clap_builder = { version = "4", default-features = false, features = ["color", "env", "std", "suggestions", "usage", "wrap_help"] } +comfy-table = { version = "7" } +concurrent-queue = { version = "2" } +console = { version = "0.15", default-features = false, features = ["ansi-parsing", "unicode-width"] } +crossbeam-epoch = { version = "0.9" } +crossbeam-queue = { version = "0.3" } +crossbeam-utils = { version = "0.8" } +crypto-common = { version = "0.1", default-features = false, features = ["getrandom", "std"] } +dashmap = { version = "6", default-features = false, features = ["serde"] } +deranged = { version = "0.4", default-features = false, features = ["powerfmt", "serde", "std"] } +either = { version = "1", features = ["serde", "use_std"] } +env_filter = { version = "0.1" } +ethnum = { version = "1", default-features = false, features = ["macros", "serde"] } +event-listener-strategy = { version = "0.5" } +fastrace = { version = "0.7", default-features = false, features = ["enable"] } +flatbuffers = { version = "25" } +flate2 = { version = "1", features = ["zlib", "zlib-rs"] } +form_urlencoded = { version = "1" } +frunk_core = { version = "0.4", default-features = false, features = ["alloc"] } +futures-channel = { version = "0.3", features = ["sink"] } +futures-executor = { version = "0.3" } +futures-sink = { version = "0.3" } +futures-task = { version = "0.3", default-features = false, features = ["std"] } +futures-util = { version = "0.3", features = ["channel", "io", "sink"] } +generic-array = { version = "0.14", default-features = false, features = ["more_lengths", "zeroize"] } +geo-types = { version = "0.7", features = ["serde", "use-rstar_0_12"] } +getrandom-468e82937335b1c9 = { package = "getrandom", version = "0.3", default-features = false, features = ["std", "wasm_js"] } +getrandom-6f8ce4dd05d13bba = { package = "getrandom", version = "0.2", default-features = false, features = ["std"] } +gimli = { version = "0.31" } +hashbrown-3575ec1268b04181 = { package = "hashbrown", version = "0.15" } +hashbrown-582f2526e08bb6a0 = { package = "hashbrown", version = "0.14", features = ["raw", "serde"] } +hmac = { version = "0.12", default-features = false, features = ["reset"] } +hyper = { version = "1", features = ["full"] } +hyper-rustls = { version = "0.27", default-features = false, features = ["http1", "http2", "native-tokio", "tls12"] } +hyper-util = { version = "0.1", features = ["client-legacy", "server-auto", "service"] } +indexmap = { version = "2", features = ["serde"] } +instant = { version = "0.1", default-features = false, features = ["inaccurate", "wasm-bindgen"] } +ipnet = { version = "2" } +itertools = { version = "0.13" } +jiff = { version = "0.2", features = ["serde", "tzdb-bundle-always"] } +lexical-core = { version = "1" } +lexical-parse-float = { version = "1", default-features = false, features = ["std"] } +lexical-parse-integer = { version = "1", default-features = false, features = ["std"] } +lexical-util = { version = "1", default-features = false, features = ["parse-floats", "parse-integers", "std", "write-floats", "write-integers"] } +lexical-write-float = { version = "1", default-features = false, features = ["std"] } +lexical-write-integer = { version = "1", default-features = false, features = ["std"] } +libc = { version = "0.2", features = ["extra_traits", "use_std"] } +libflate = { version = "2" } +log = { version = "0.4", default-features = false, features = ["kv_unstable_std", "serde"] } +lz4_flex = { version = "0.11" } +lzma-sys = { version = "0.1", default-features = false, features = ["static"] } +md-5 = { version = "0.10" } +memchr = { version = "2" } +mysql_common = { version = "0.32", features = ["chrono"] } +nom = { version = "7" } +num = { version = "0.4" } +num-bigint = { version = "0.4", features = ["arbitrary", "serde"] } +num-format = { version = "0.4" } +num-integer = { version = "0.1", features = ["i128"] } +num-iter = { version = "0.1", default-features = false, features = ["i128", "std"] } +num-traits = { version = "0.2", features = ["i128", "libm"] } +object = { version = "0.36", features = ["write"] } +object_store = { version = "0.12", features = ["aws", "azure", "gcp", "http"] } +once_cell = { version = "1", features = ["critical-section"] } +ordered-float = { version = "4", features = ["serde"] } +parquet = { version = "55", features = ["object_store"] } +percent-encoding = { version = "2" } +phf = { version = "0.11" } +phf_shared = { version = "0.11" } +pkcs8 = { version = "0.10", default-features = false, features = ["encryption", "pem", "std"] } +portable-atomic = { version = "1", features = ["std"] } +proc-macro2 = { version = "1", features = ["span-locations"] } +prost = { version = "0.13", features = ["prost-derive"] } +prost-types = { version = "0.13" } +pyo3 = { version = "0.24", features = ["abi3-py312", "auto-initialize", "generate-import-lib"] } +pyo3-build-config = { version = "0.24", features = ["abi3-py312", "python3-dll-a", "resolve-config"] } +pyo3-ffi = { version = "0.24", features = ["abi3-py312", "generate-import-lib"] } +rand = { version = "0.8", features = ["serde1", "small_rng"] } +rand_core = { version = "0.6", default-features = false, features = ["serde1", "std"] } +regex = { version = "1" } +regex-automata = { version = "0.4", default-features = false, features = ["dfa-onepass", "dfa-search", "hybrid", "meta", "nfa-backtrack", "perf-inline", "perf-literal", "unicode"] } +regex-lite = { version = "0.1" } +regex-syntax = { version = "0.8" } +reqwest = { version = "0.12", features = ["blocking", "cookies", "json", "native-tls-alpn", "native-tls-vendored", "rustls-tls", "rustls-tls-native-roots", "stream"] } +ring = { version = "0.17", features = ["std"] } +rquickjs-core = { version = "0.6", features = ["array-buffer", "classes", "futures", "loader", "parallel", "properties"] } +rsa = { version = "0.9", features = ["pkcs5", "sha2"] } +rust_decimal = { version = "1" } +rustc-hash = { version = "2", features = ["rand"] } +rustls = { version = "0.23", default-features = false, features = ["aws-lc-rs", "aws_lc_rs", "logging", "ring", "std", "tls12"] } +rustls-pemfile = { version = "2" } +rustls-webpki = { version = "0.103", default-features = false, features = ["aws-lc-rs", "ring", "std"] } +scopeguard = { version = "1" } +semver = { version = "1", features = ["serde"] } +serde = { version = "1", features = ["alloc", "derive", "rc"] } +serde_bytes = { version = "0.11" } +serde_json = { version = "1", features = ["arbitrary_precision", "preserve_order", "raw_value", "unbounded_depth"] } +sha1 = { version = "0.10" } +sha2 = { version = "0.10", features = ["oid"] } +simdutf8 = { version = "0.1", features = ["aarch64_neon"] } +similar = { version = "2", features = ["inline", "unicode"] } +smallvec = { version = "1", default-features = false, features = ["const_new", "serde", "union", "write"] } +spin = { version = "0.9", default-features = false, features = ["once", "spin_mutex"] } +sqlx-core = { version = "0.8", features = ["_rt-tokio", "any", "json", "migrate", "offline"] } +sqlx-mysql = { version = "0.8", default-features = false, features = ["any", "json", "migrate", "offline"] } +stable_deref_trait = { version = "1" } +strum = { version = "0.26", features = ["derive"] } +subtle = { version = "2" } +syn-dff4ba8e3ae991db = { package = "syn", version = "1", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] } +syn-f595c2ba2a3f28df = { package = "syn", version = "2", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] } +sync_wrapper = { version = "1", default-features = false, features = ["futures"] } +thrift = { version = "0.17" } +tikv-jemalloc-sys = { version = "0.6", features = ["disable_initial_exec_tls", "profiling", "stats", "unprefixed_malloc_on_supported_platforms"] } +time = { version = "0.3", features = ["local-offset", "macros", "serde-well-known"] } +time-macros = { version = "0.2", default-features = false, features = ["formatting", "parsing", "serde"] } +tokio = { version = "1", features = ["full", "test-util", "tracing"] } +tokio-rustls = { version = "0.26", default-features = false, features = ["logging", "ring", "tls12"] } +tokio-stream = { version = "0.1", features = ["fs", "net"] } +toml_datetime = { version = "0.6", default-features = false, features = ["serde"] } +toml_edit-3c51e837cfc5589a = { package = "toml_edit", version = "0.22", default-features = false, features = ["display", "parse", "serde"] } +toml_edit-cdcf2f9584511fe6 = { package = "toml_edit", version = "0.19", features = ["serde"] } +tracing = { version = "0.1", features = ["log"] } +tracing-core = { version = "0.1", features = ["valuable"] } +twox-hash = { version = "1" } +unicode-normalization = { version = "0.1" } +url = { version = "2", features = ["serde"] } +uuid = { version = "1", features = ["fast-rng", "serde", "v4", "v7"] } +wasmparser = { version = "0.219", default-features = false, features = ["component-model", "features", "serde", "std", "validate"] } +xz2 = { version = "0.1", default-features = false, features = ["static"] } +zeroize = { version = "1", features = ["zeroize_derive"] } +zstd-594e8ee84c453af0 = { package = "zstd", version = "0.13", features = ["experimental"] } +zstd-5ef9efb8ec2df382 = { package = "zstd", version = "0.12" } +zstd-safe-15128469a54ed75a = { package = "zstd-safe", version = "7", default-features = false, features = ["arrays", "experimental", "legacy", "std", "zdict_builder"] } +zstd-safe-a490c3000a992113 = { package = "zstd-safe", version = "6", default-features = false, features = ["arrays", "legacy", "std", "zdict_builder"] } +zstd-sys = { version = "2", default-features = false, features = ["experimental", "legacy", "std", "zdict_builder"] } + +### END HAKARI SECTION diff --git a/databend-workspace-hack/build.rs b/databend-workspace-hack/build.rs new file mode 100644 index 0000000000000..92518ef04cb3b --- /dev/null +++ b/databend-workspace-hack/build.rs @@ -0,0 +1,2 @@ +// A build script is required for cargo to consider build dependencies. +fn main() {} diff --git a/databend-workspace-hack/src/lib.rs b/databend-workspace-hack/src/lib.rs new file mode 100644 index 0000000000000..22489f632bdc1 --- /dev/null +++ b/databend-workspace-hack/src/lib.rs @@ -0,0 +1 @@ +// This is a stub lib.rs. diff --git a/src/bendpy/Cargo.toml b/src/bendpy/Cargo.toml index c19b4d6e6cb12..d31ba192e4d33 100644 --- a/src/bendpy/Cargo.toml +++ b/src/bendpy/Cargo.toml @@ -33,6 +33,7 @@ pyo3 = { version = "0.24", features = ["generate-import-lib", "abi3-py312"] } tempfile = { workspace = true } tokio = { workspace = true, features = ["macros", "rt", "rt-multi-thread", "sync"] } tokio-stream = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/bendsave/Cargo.toml b/src/bendsave/Cargo.toml index c3d3d419875b1..644a9dd73a5e3 100644 --- a/src/bendsave/Cargo.toml +++ b/src/bendsave/Cargo.toml @@ -32,6 +32,7 @@ logforth = { workspace = true } opendal = { workspace = true, features = ["services-s3", "services-fs"] } tokio = { workspace = true } toml = { workspace = true, features = ["parse"] } +databend-workspace-hack = { version = "0.1", path = "../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/binaries/Cargo.toml b/src/binaries/Cargo.toml index 0c093ed4fbf6b..bdc793afa678b 100644 --- a/src/binaries/Cargo.toml +++ b/src/binaries/Cargo.toml @@ -41,6 +41,7 @@ serde = { workspace = true } serde_json = { workspace = true } serfig = { workspace = true } tokio = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../databend-workspace-hack" } [[bin]] name = "databend-query" diff --git a/src/common/auth/Cargo.toml b/src/common/auth/Cargo.toml index abac941ef971e..9b2d31a8f5e26 100644 --- a/src/common/auth/Cargo.toml +++ b/src/common/auth/Cargo.toml @@ -11,6 +11,7 @@ base64 = { workspace = true } chrono = { workspace = true } databend-common-base = { workspace = true } http = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] tempfile = { workspace = true } diff --git a/src/common/base/Cargo.toml b/src/common/base/Cargo.toml index 303ee144f82b5..c465be2fa1280 100644 --- a/src/common/base/Cargo.toml +++ b/src/common/base/Cargo.toml @@ -59,6 +59,7 @@ tikv-jemalloc-sys = { workspace = true, optional = true } tokio = { workspace = true } unicode-segmentation = { workspace = true } uuid = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [target.'cfg(target_os = "linux")'.dependencies] procfs = { workspace = true } diff --git a/src/common/building/Cargo.toml b/src/common/building/Cargo.toml index 67eabab87554f..88f87d47fddbc 100644 --- a/src/common/building/Cargo.toml +++ b/src/common/building/Cargo.toml @@ -14,6 +14,7 @@ cargo_metadata = { workspace = true } gix = { workspace = true } log = { workspace = true } vergen = { workspace = true, default-features = false, features = ["build", "cargo", "git", "gix", "rustc"] } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/common/building/src/lib.rs b/src/common/building/src/lib.rs index f15c62143d017..e904fe22761b0 100644 --- a/src/common/building/src/lib.rs +++ b/src/common/building/src/lib.rs @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -#![deny(unused_crate_dependencies)] +// #![deny(unused_crate_dependencies)] #![allow(clippy::uninlined_format_args)] mod git; diff --git a/src/common/cache/Cargo.toml b/src/common/cache/Cargo.toml index e3ce6bd8ce7d4..25530ee8f6a99 100644 --- a/src/common/cache/Cargo.toml +++ b/src/common/cache/Cargo.toml @@ -9,6 +9,7 @@ edition = { workspace = true } [dependencies] hashbrown = { workspace = true } hashlink = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] diff --git a/src/common/cloud_control/Cargo.toml b/src/common/cloud_control/Cargo.toml index 01f1f01d93e11..b90173213b78a 100644 --- a/src/common/cloud_control/Cargo.toml +++ b/src/common/cloud_control/Cargo.toml @@ -16,6 +16,7 @@ hyper-util = { workspace = true } prost = { workspace = true } serde = { workspace = true } tonic = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [build-dependencies] lenient_semver = { workspace = true } diff --git a/src/common/column/Cargo.toml b/src/common/column/Cargo.toml index 8860a1d0b7f82..c1f537ce850d1 100644 --- a/src/common/column/Cargo.toml +++ b/src/common/column/Cargo.toml @@ -36,6 +36,7 @@ serde = { workspace = true, features = ["rc"], optional = true } serde_derive = { workspace = true, optional = true } serde_json = { workspace = true } simdutf8 = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] proptest = { workspace = true } diff --git a/src/common/compress/Cargo.toml b/src/common/compress/Cargo.toml index 7a3565797ea1e..1b8cc754d2796 100644 --- a/src/common/compress/Cargo.toml +++ b/src/common/compress/Cargo.toml @@ -17,6 +17,7 @@ log = { workspace = true } pin-project = { workspace = true } serde = { workspace = true } zip = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] env_logger = { workspace = true } diff --git a/src/common/exception/Cargo.toml b/src/common/exception/Cargo.toml index 0297fc22320b5..4015e2e937bfc 100644 --- a/src/common/exception/Cargo.toml +++ b/src/common/exception/Cargo.toml @@ -36,6 +36,7 @@ sqlx = { workspace = true } tantivy = { workspace = true } thiserror = { workspace = true } tonic = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/common/grpc/Cargo.toml b/src/common/grpc/Cargo.toml index b250d2338a55f..ae6662069e6d5 100644 --- a/src/common/grpc/Cargo.toml +++ b/src/common/grpc/Cargo.toml @@ -20,6 +20,7 @@ serde = { workspace = true } thiserror = { workspace = true } tonic = { workspace = true } tower-service = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [build-dependencies] diff --git a/src/common/hashtable/Cargo.toml b/src/common/hashtable/Cargo.toml index 4ee8ee4d7d5a4..f040564be59b4 100644 --- a/src/common/hashtable/Cargo.toml +++ b/src/common/hashtable/Cargo.toml @@ -14,6 +14,7 @@ ahash = { workspace = true, features = ["no-rng"] } bumpalo = { workspace = true } cfg-if = { workspace = true } ethnum = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] rand = { workspace = true } diff --git a/src/common/http/Cargo.toml b/src/common/http/Cargo.toml index 9eb1cc921e420..3613c89c52ba9 100644 --- a/src/common/http/Cargo.toml +++ b/src/common/http/Cargo.toml @@ -20,6 +20,7 @@ poem = { workspace = true } serde = { workspace = true } tempfile = { workspace = true, optional = true } thiserror = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] pretty_assertions = { workspace = true } diff --git a/src/common/io/Cargo.toml b/src/common/io/Cargo.toml index be8cfe2ff7609..768c42cfc1d37 100644 --- a/src/common/io/Cargo.toml +++ b/src/common/io/Cargo.toml @@ -27,6 +27,7 @@ roaring = { workspace = true, features = ["serde"] } scroll = { workspace = true } serde = { workspace = true } wkt = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] aho-corasick = { workspace = true } diff --git a/src/common/license/Cargo.toml b/src/common/license/Cargo.toml index f764adffdc5f9..1003294382b1b 100644 --- a/src/common/license/Cargo.toml +++ b/src/common/license/Cargo.toml @@ -13,6 +13,7 @@ display-more = { workspace = true } jwt-simple = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/common/metrics/Cargo.toml b/src/common/metrics/Cargo.toml index 03009f92fc4d9..59a9a5d5d15e5 100644 --- a/src/common/metrics/Cargo.toml +++ b/src/common/metrics/Cargo.toml @@ -9,6 +9,7 @@ edition = { workspace = true } [dependencies] databend-common-base = { workspace = true } prometheus-client = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [target.'cfg(target_os = "linux")'.dependencies] procfs = { workspace = true } diff --git a/src/common/native/Cargo.toml b/src/common/native/Cargo.toml index ccd1e249c91b6..f6704d173b07b 100644 --- a/src/common/native/Cargo.toml +++ b/src/common/native/Cargo.toml @@ -31,6 +31,7 @@ serde = { workspace = true, features = ["rc"] } serde_json = { workspace = true } snap = { workspace = true } zstd = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] # used to test async readers diff --git a/src/common/openai/Cargo.toml b/src/common/openai/Cargo.toml index c60d789b6b737..fa3b38b289fa7 100644 --- a/src/common/openai/Cargo.toml +++ b/src/common/openai/Cargo.toml @@ -13,6 +13,7 @@ databend-common-exception = { workspace = true } databend-common-metrics = { workspace = true } log = { workspace = true } openai_api_rust = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] diff --git a/src/common/storage/Cargo.toml b/src/common/storage/Cargo.toml index b3763abba49d7..c4efea9b1520b 100644 --- a/src/common/storage/Cargo.toml +++ b/src/common/storage/Cargo.toml @@ -37,6 +37,7 @@ reqwest = { workspace = true } serde = { workspace = true } thiserror = { workspace = true } url = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] diff --git a/src/common/tracing/Cargo.toml b/src/common/tracing/Cargo.toml index df1cca567b9ed..d4bfead74c779 100644 --- a/src/common/tracing/Cargo.toml +++ b/src/common/tracing/Cargo.toml @@ -33,6 +33,7 @@ serde = { workspace = true } serde_json = { workspace = true } toml = { workspace = true } tonic = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] diff --git a/src/common/vector/Cargo.toml b/src/common/vector/Cargo.toml index 76ed9fc59962d..bd3abf9a3c136 100644 --- a/src/common/vector/Cargo.toml +++ b/src/common/vector/Cargo.toml @@ -9,6 +9,7 @@ edition = { workspace = true } [dependencies] databend-common-exception = { workspace = true } ndarray = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] approx = { workspace = true } diff --git a/src/common/version/Cargo.toml b/src/common/version/Cargo.toml index eee5f7c8cde99..d179da4babd02 100644 --- a/src/common/version/Cargo.toml +++ b/src/common/version/Cargo.toml @@ -8,6 +8,7 @@ edition = { workspace = true } [dependencies] semver = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [build-dependencies] databend-common-building = { workspace = true } diff --git a/src/meta/api/Cargo.toml b/src/meta/api/Cargo.toml index a79b947259a5f..b23ec73cac94d 100644 --- a/src/meta/api/Cargo.toml +++ b/src/meta/api/Cargo.toml @@ -35,6 +35,7 @@ serde_json = { workspace = true } thiserror = { workspace = true } tokio = { workspace = true } tonic = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] diff --git a/src/meta/app-storage/Cargo.toml b/src/meta/app-storage/Cargo.toml index d603037a46d9a..681132cb07724 100644 --- a/src/meta/app-storage/Cargo.toml +++ b/src/meta/app-storage/Cargo.toml @@ -11,6 +11,7 @@ databend-common-base = { workspace = true } databend-common-exception = { workspace = true } opendal = { workspace = true } serde = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/meta/app-types/Cargo.toml b/src/meta/app-types/Cargo.toml index fedc6d1dfa00d..9e96b36ff29aa 100644 --- a/src/meta/app-types/Cargo.toml +++ b/src/meta/app-types/Cargo.toml @@ -10,6 +10,7 @@ edition = { workspace = true } num-derive = { workspace = true } prost = { workspace = true } serde = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] anyhow = { workspace = true } diff --git a/src/meta/app/Cargo.toml b/src/meta/app/Cargo.toml index 54f905103ea12..7b3240cc364f3 100644 --- a/src/meta/app/Cargo.toml +++ b/src/meta/app/Cargo.toml @@ -35,6 +35,7 @@ serde_json = { workspace = true } sha1 = { workspace = true } sha2 = { workspace = true } thiserror = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] anyhow = { workspace = true } diff --git a/src/meta/binaries/Cargo.toml b/src/meta/binaries/Cargo.toml index a1bfb68cf6da1..76cc504a7e924 100644 --- a/src/meta/binaries/Cargo.toml +++ b/src/meta/binaries/Cargo.toml @@ -51,6 +51,7 @@ rand = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } tokio = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [[bin]] name = "databend-meta" diff --git a/src/meta/cache/Cargo.toml b/src/meta/cache/Cargo.toml index 53e4617bc1dac..aed329184be31 100644 --- a/src/meta/cache/Cargo.toml +++ b/src/meta/cache/Cargo.toml @@ -29,6 +29,7 @@ futures = { workspace = true } log = { workspace = true } sub-cache = { workspace = true } tonic = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] anyhow = { workspace = true } diff --git a/src/meta/client/Cargo.toml b/src/meta/client/Cargo.toml index 4de48f7961c4f..44da1729b7028 100644 --- a/src/meta/client/Cargo.toml +++ b/src/meta/client/Cargo.toml @@ -37,6 +37,7 @@ serde = { workspace = true } serde_json = { workspace = true } thiserror = { workspace = true } tonic = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] anyhow = { workspace = true } diff --git a/src/meta/control/Cargo.toml b/src/meta/control/Cargo.toml index 37937f80ce534..e0302254ccefe 100644 --- a/src/meta/control/Cargo.toml +++ b/src/meta/control/Cargo.toml @@ -27,6 +27,7 @@ serde_json = { workspace = true } tokio = { workspace = true } tokio-stream = { workspace = true } url = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] anyhow = { workspace = true } diff --git a/src/meta/ee/Cargo.toml b/src/meta/ee/Cargo.toml index 8965d3a73c833..af53c45f9841a 100644 --- a/src/meta/ee/Cargo.toml +++ b/src/meta/ee/Cargo.toml @@ -8,6 +8,7 @@ publish = { workspace = true } edition = { workspace = true } [dependencies] +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/meta/kvapi-test-suite/Cargo.toml b/src/meta/kvapi-test-suite/Cargo.toml index 6a80f330bab33..2d52e581f743a 100644 --- a/src/meta/kvapi-test-suite/Cargo.toml +++ b/src/meta/kvapi-test-suite/Cargo.toml @@ -16,6 +16,7 @@ display-more = { workspace = true } fastrace = { workspace = true } log = { workspace = true } tokio = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/meta/kvapi/Cargo.toml b/src/meta/kvapi/Cargo.toml index c533eb10937f4..e8327b0b2057b 100644 --- a/src/meta/kvapi/Cargo.toml +++ b/src/meta/kvapi/Cargo.toml @@ -18,6 +18,7 @@ futures-util = { workspace = true } log = { workspace = true } serde = { workspace = true } thiserror = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/meta/process/Cargo.toml b/src/meta/process/Cargo.toml index 512060667776e..4890d7a4adb6f 100644 --- a/src/meta/process/Cargo.toml +++ b/src/meta/process/Cargo.toml @@ -22,6 +22,7 @@ openraft = { workspace = true } prost = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/meta/proto-conv/Cargo.toml b/src/meta/proto-conv/Cargo.toml index 0aa5e663d00df..ce15798ff51d3 100644 --- a/src/meta/proto-conv/Cargo.toml +++ b/src/meta/proto-conv/Cargo.toml @@ -19,6 +19,7 @@ fastrace = { workspace = true } num = { workspace = true } prost = { workspace = true } thiserror = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [build-dependencies] diff --git a/src/meta/protos/Cargo.toml b/src/meta/protos/Cargo.toml index 25ab8a638ddb0..97428cb317318 100644 --- a/src/meta/protos/Cargo.toml +++ b/src/meta/protos/Cargo.toml @@ -11,6 +11,7 @@ num-derive = { workspace = true } num-traits = { workspace = true } prost = { workspace = true } tonic = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [build-dependencies] lenient_semver = { workspace = true } diff --git a/src/meta/raft-store/Cargo.toml b/src/meta/raft-store/Cargo.toml index 535a7b660ff60..883ae26728e7e 100644 --- a/src/meta/raft-store/Cargo.toml +++ b/src/meta/raft-store/Cargo.toml @@ -49,6 +49,7 @@ strum = { workspace = true } strum_macros = { workspace = true } thiserror = { workspace = true } tokio = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] databend-common-base = { workspace = true } diff --git a/src/meta/semaphore/Cargo.toml b/src/meta/semaphore/Cargo.toml index a6a3dad321448..c5fa812c0e796 100644 --- a/src/meta/semaphore/Cargo.toml +++ b/src/meta/semaphore/Cargo.toml @@ -26,6 +26,7 @@ log = { workspace = true } thiserror = { workspace = true } tokio = { workspace = true } tonic = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] anyhow = { workspace = true } diff --git a/src/meta/service/Cargo.toml b/src/meta/service/Cargo.toml index 4c8145b8b917a..6eae9c5cf6d2b 100644 --- a/src/meta/service/Cargo.toml +++ b/src/meta/service/Cargo.toml @@ -61,6 +61,7 @@ tokio-stream = { workspace = true } tonic = { workspace = true } tonic-reflection = { workspace = true } watcher = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] databend-common-meta-cache = { workspace = true } diff --git a/src/meta/sled-store/Cargo.toml b/src/meta/sled-store/Cargo.toml index 88ee8f915808e..8df04b832f6b7 100644 --- a/src/meta/sled-store/Cargo.toml +++ b/src/meta/sled-store/Cargo.toml @@ -23,6 +23,7 @@ serde_json = { workspace = true } sled = { workspace = true } tempfile = { workspace = true } thiserror = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/meta/stoerr/Cargo.toml b/src/meta/stoerr/Cargo.toml index b932aca0a70e2..c6b1456554c5f 100644 --- a/src/meta/stoerr/Cargo.toml +++ b/src/meta/stoerr/Cargo.toml @@ -12,6 +12,7 @@ databend-common-exception = { workspace = true } serde_json = { workspace = true } sled = { workspace = true } thiserror = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/meta/store/Cargo.toml b/src/meta/store/Cargo.toml index fa81354845a55..5966cbb7cc69a 100644 --- a/src/meta/store/Cargo.toml +++ b/src/meta/store/Cargo.toml @@ -26,6 +26,7 @@ tempfile = { workspace = true } tokio = { workspace = true } tokio-stream = { workspace = true } tonic = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/meta/types/Cargo.toml b/src/meta/types/Cargo.toml index 47f5d9708e557..88f4d50882886 100644 --- a/src/meta/types/Cargo.toml +++ b/src/meta/types/Cargo.toml @@ -27,6 +27,7 @@ serde = { workspace = true } serde_json = { workspace = true } thiserror = { workspace = true } tonic = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [build-dependencies] prost-build = { workspace = true } diff --git a/src/query/ast/Cargo.toml b/src/query/ast/Cargo.toml index ecdb863f255a2..8f5939559be97 100644 --- a/src/query/ast/Cargo.toml +++ b/src/query/ast/Cargo.toml @@ -33,6 +33,7 @@ strum = { workspace = true } strum_macros = { workspace = true } unindent = { workspace = true } url = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] divan = { workspace = true } diff --git a/src/query/catalog/Cargo.toml b/src/query/catalog/Cargo.toml index 665e0b81af3e8..c22ff31d8a803 100644 --- a/src/query/catalog/Cargo.toml +++ b/src/query/catalog/Cargo.toml @@ -40,6 +40,7 @@ sha2 = { workspace = true } thrift = { workspace = true } typetag = { workspace = true } xorf = { workspace = true, default-features = false, features = ["binary-fuse"] } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] goldenfile = { workspace = true } diff --git a/src/query/codegen/Cargo.toml b/src/query/codegen/Cargo.toml index 4ab652ace3074..6429225b50f16 100644 --- a/src/query/codegen/Cargo.toml +++ b/src/query/codegen/Cargo.toml @@ -13,6 +13,7 @@ path = "src/bin/codegen.rs" [dependencies] databend-common-expression = { workspace = true } itertools = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/query/config/Cargo.toml b/src/query/config/Cargo.toml index bb763182ad8a9..ec99d43fe927c 100644 --- a/src/query/config/Cargo.toml +++ b/src/query/config/Cargo.toml @@ -31,6 +31,7 @@ serde_ignored = { workspace = true } serde_with = { workspace = true } serfig = { workspace = true } toml = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] pretty_assertions = { workspace = true } diff --git a/src/query/datavalues/Cargo.toml b/src/query/datavalues/Cargo.toml index a87b02750e788..087df0ceaf5af 100644 --- a/src/query/datavalues/Cargo.toml +++ b/src/query/datavalues/Cargo.toml @@ -11,6 +11,7 @@ enum-as-inner = { workspace = true } enum_dispatch = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] diff --git a/src/query/ee/Cargo.toml b/src/query/ee/Cargo.toml index 7e64e4f9bc642..2ec1c39157c45 100644 --- a/src/query/ee/Cargo.toml +++ b/src/query/ee/Cargo.toml @@ -61,6 +61,7 @@ log = { workspace = true } opendal = { workspace = true } tempfile = { workspace = true } uuid = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] jsonb = { workspace = true } diff --git a/src/query/ee_features/aggregating_index/Cargo.toml b/src/query/ee_features/aggregating_index/Cargo.toml index 208863e659ef5..dcab94b7b6fb1 100644 --- a/src/query/ee_features/aggregating_index/Cargo.toml +++ b/src/query/ee_features/aggregating_index/Cargo.toml @@ -14,6 +14,7 @@ databend-common-base = { workspace = true } databend-common-catalog = { workspace = true } databend-common-exception = { workspace = true } databend-common-meta-app = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [build-dependencies] diff --git a/src/query/ee_features/attach_table/Cargo.toml b/src/query/ee_features/attach_table/Cargo.toml index 3aca6475b4ec3..22289dcf30abe 100644 --- a/src/query/ee_features/attach_table/Cargo.toml +++ b/src/query/ee_features/attach_table/Cargo.toml @@ -13,6 +13,7 @@ databend-common-base = { workspace = true } databend-common-exception = { workspace = true } databend-common-meta-app = { workspace = true } databend-common-sql = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [build-dependencies] diff --git a/src/query/ee_features/data_mask/Cargo.toml b/src/query/ee_features/data_mask/Cargo.toml index 0e2d7acdf9666..5af3a3bcd8096 100644 --- a/src/query/ee_features/data_mask/Cargo.toml +++ b/src/query/ee_features/data_mask/Cargo.toml @@ -13,6 +13,7 @@ databend-common-base = { workspace = true } databend-common-exception = { workspace = true } databend-common-meta-app = { workspace = true } databend-common-meta-store = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [build-dependencies] diff --git a/src/query/ee_features/fail_safe/Cargo.toml b/src/query/ee_features/fail_safe/Cargo.toml index a4f003bffc0ad..dc5730eb3df59 100644 --- a/src/query/ee_features/fail_safe/Cargo.toml +++ b/src/query/ee_features/fail_safe/Cargo.toml @@ -12,6 +12,7 @@ async-trait = { workspace = true } databend-common-base = { workspace = true } databend-common-exception = { workspace = true } databend-common-meta-app = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [build-dependencies] diff --git a/src/query/ee_features/hilbert_clustering/Cargo.toml b/src/query/ee_features/hilbert_clustering/Cargo.toml index e926ff82ecb58..bc9a3ac9365b2 100644 --- a/src/query/ee_features/hilbert_clustering/Cargo.toml +++ b/src/query/ee_features/hilbert_clustering/Cargo.toml @@ -13,6 +13,7 @@ databend-common-base = { workspace = true } databend-common-catalog = { workspace = true } databend-common-exception = { workspace = true } databend-storages-common-table-meta = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [build-dependencies] diff --git a/src/query/ee_features/resources_management/Cargo.toml b/src/query/ee_features/resources_management/Cargo.toml index a03359ef9bd43..fd165c00b66e3 100644 --- a/src/query/ee_features/resources_management/Cargo.toml +++ b/src/query/ee_features/resources_management/Cargo.toml @@ -13,6 +13,7 @@ databend-common-config = { workspace = true } databend-common-exception = { workspace = true } databend-common-management = { workspace = true } databend-common-meta-types = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [build-dependencies] diff --git a/src/query/ee_features/storage_encryption/Cargo.toml b/src/query/ee_features/storage_encryption/Cargo.toml index 525ce52acaf81..789e4b89e1254 100644 --- a/src/query/ee_features/storage_encryption/Cargo.toml +++ b/src/query/ee_features/storage_encryption/Cargo.toml @@ -10,6 +10,7 @@ edition = { workspace = true } async-trait = { workspace = true } databend-common-base = { workspace = true } databend-common-exception = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [build-dependencies] diff --git a/src/query/ee_features/storage_quota/Cargo.toml b/src/query/ee_features/storage_quota/Cargo.toml index 6d097c40ca9d7..5b91510f747c6 100644 --- a/src/query/ee_features/storage_quota/Cargo.toml +++ b/src/query/ee_features/storage_quota/Cargo.toml @@ -12,6 +12,7 @@ async-trait = { workspace = true } databend-common-base = { workspace = true } databend-common-exception = { workspace = true } databend-common-license = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [build-dependencies] diff --git a/src/query/ee_features/stream_handler/Cargo.toml b/src/query/ee_features/stream_handler/Cargo.toml index 30da0cba8897d..d3326981a9bd9 100644 --- a/src/query/ee_features/stream_handler/Cargo.toml +++ b/src/query/ee_features/stream_handler/Cargo.toml @@ -14,6 +14,7 @@ databend-common-catalog = { workspace = true } databend-common-exception = { workspace = true } databend-common-meta-app = { workspace = true } databend-common-sql = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [build-dependencies] diff --git a/src/query/ee_features/table_index/Cargo.toml b/src/query/ee_features/table_index/Cargo.toml index 2859509ee1ba5..5a0e7f4e6a1ba 100644 --- a/src/query/ee_features/table_index/Cargo.toml +++ b/src/query/ee_features/table_index/Cargo.toml @@ -18,6 +18,7 @@ databend-common-meta-app = { workspace = true } databend-common-pipeline-core = { workspace = true } databend-common-storages-fuse = { workspace = true } databend-storages-common-table-meta = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [build-dependencies] diff --git a/src/query/ee_features/vacuum_handler/Cargo.toml b/src/query/ee_features/vacuum_handler/Cargo.toml index 7119689c57b02..9fae1a9b713a7 100644 --- a/src/query/ee_features/vacuum_handler/Cargo.toml +++ b/src/query/ee_features/vacuum_handler/Cargo.toml @@ -13,6 +13,7 @@ async-trait = { workspace = true } databend-common-base = { workspace = true } databend-common-catalog = { workspace = true } databend-common-exception = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [build-dependencies] diff --git a/src/query/ee_features/virtual_column/Cargo.toml b/src/query/ee_features/virtual_column/Cargo.toml index 2d8d42e60ed22..92201ea3a4bc7 100644 --- a/src/query/ee_features/virtual_column/Cargo.toml +++ b/src/query/ee_features/virtual_column/Cargo.toml @@ -16,6 +16,7 @@ databend-common-catalog = { workspace = true } databend-common-exception = { workspace = true } databend-common-pipeline-core = { workspace = true } databend-common-storages-fuse = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [build-dependencies] diff --git a/src/query/expression/Cargo.toml b/src/query/expression/Cargo.toml index 7e905e2464307..f90d12ae82b32 100644 --- a/src/query/expression/Cargo.toml +++ b/src/query/expression/Cargo.toml @@ -60,6 +60,7 @@ terminal_size = { workspace = true } tonic = { workspace = true } typetag = { workspace = true } unicode-segmentation = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] arrow-ord = { workspace = true } diff --git a/src/query/formats/Cargo.toml b/src/query/formats/Cargo.toml index 77cad5178c270..a5de8ea1e676d 100644 --- a/src/query/formats/Cargo.toml +++ b/src/query/formats/Cargo.toml @@ -36,6 +36,7 @@ num = { workspace = true } num-traits = { workspace = true } roaring = { workspace = true, features = ["serde"] } serde_json = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] diff --git a/src/query/functions/Cargo.toml b/src/query/functions/Cargo.toml index 7a79946245e96..95ef4312d1e9a 100644 --- a/src/query/functions/Cargo.toml +++ b/src/query/functions/Cargo.toml @@ -66,6 +66,7 @@ strength_reduce = { workspace = true } stringslice = { workspace = true } twox-hash = { workspace = true } unicase = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] comfy-table = { workspace = true } diff --git a/src/query/functions/src/scalars/arithmetic/Cargo.toml b/src/query/functions/src/scalars/arithmetic/Cargo.toml index 8b78af97ee69b..519b59c3ede96 100644 --- a/src/query/functions/src/scalars/arithmetic/Cargo.toml +++ b/src/query/functions/src/scalars/arithmetic/Cargo.toml @@ -9,6 +9,7 @@ databend-functions-scalar-decimal = { workspace = true } lexical-core = { workspace = true } match-template = { workspace = true } num-traits = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../../../databend-workspace-hack" } [package.metadata.cargo-machete] ignored = ["match-template"] diff --git a/src/query/functions/src/scalars/decimal/Cargo.toml b/src/query/functions/src/scalars/decimal/Cargo.toml index 57e08934f770c..7d7fa1215dae7 100644 --- a/src/query/functions/src/scalars/decimal/Cargo.toml +++ b/src/query/functions/src/scalars/decimal/Cargo.toml @@ -9,6 +9,7 @@ databend-common-expression = { workspace = true } jsonb = { workspace = true } match-template = { workspace = true } num-traits = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../../../databend-workspace-hack" } [package.metadata.cargo-machete] ignored = ["match-template"] diff --git a/src/query/functions/src/scalars/geographic/Cargo.toml b/src/query/functions/src/scalars/geographic/Cargo.toml index 62a1d99bc967c..9564389f96360 100644 --- a/src/query/functions/src/scalars/geographic/Cargo.toml +++ b/src/query/functions/src/scalars/geographic/Cargo.toml @@ -16,3 +16,4 @@ jsonb = { workspace = true } num-traits = { workspace = true } once_cell = { workspace = true } proj4rs = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../../../databend-workspace-hack" } diff --git a/src/query/functions/src/scalars/integer_arithmetic/Cargo.toml b/src/query/functions/src/scalars/integer_arithmetic/Cargo.toml index e4de947242668..d3adf29854bad 100644 --- a/src/query/functions/src/scalars/integer_arithmetic/Cargo.toml +++ b/src/query/functions/src/scalars/integer_arithmetic/Cargo.toml @@ -8,6 +8,7 @@ databend-common-expression = { workspace = true } databend-functions-scalar-numeric-basic-arithmetic = { workspace = true } match-template = { workspace = true } num-traits = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../../../databend-workspace-hack" } [package.metadata.cargo-machete] ignored = ["match-template"] diff --git a/src/query/functions/src/scalars/mathematics/Cargo.toml b/src/query/functions/src/scalars/mathematics/Cargo.toml index cf07dbdbb693e..b15f0148d48ec 100644 --- a/src/query/functions/src/scalars/mathematics/Cargo.toml +++ b/src/query/functions/src/scalars/mathematics/Cargo.toml @@ -10,6 +10,7 @@ databend-common-expression = { workspace = true } databend-functions-scalar-decimal = { workspace = true } match-template = { workspace = true } num-traits = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../../../databend-workspace-hack" } [package.metadata.cargo-machete] ignored = ["match-template"] diff --git a/src/query/functions/src/scalars/numeric_basic_arithmetic/Cargo.toml b/src/query/functions/src/scalars/numeric_basic_arithmetic/Cargo.toml index f5efcd023d08a..3fcf1032cd56f 100644 --- a/src/query/functions/src/scalars/numeric_basic_arithmetic/Cargo.toml +++ b/src/query/functions/src/scalars/numeric_basic_arithmetic/Cargo.toml @@ -8,6 +8,7 @@ databend-common-expression = { workspace = true } match-template = { workspace = true } num-traits = { workspace = true } strength_reduce = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../../../databend-workspace-hack" } [package.metadata.cargo-machete] ignored = ["match-template"] diff --git a/src/query/functions/src/scalars/timestamp/Cargo.toml b/src/query/functions/src/scalars/timestamp/Cargo.toml index 39eaeb14123b9..462946f89a820 100644 --- a/src/query/functions/src/scalars/timestamp/Cargo.toml +++ b/src/query/functions/src/scalars/timestamp/Cargo.toml @@ -11,3 +11,4 @@ databend-common-expression = { workspace = true } dtparse = { workspace = true } jiff = { workspace = true } num-traits = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../../../databend-workspace-hack" } diff --git a/src/query/management/Cargo.toml b/src/query/management/Cargo.toml index b69d9c56d9f7c..49b8e69ed5401 100644 --- a/src/query/management/Cargo.toml +++ b/src/query/management/Cargo.toml @@ -29,6 +29,7 @@ prost = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } thiserror = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] databend-common-expression = { workspace = true } diff --git a/src/query/pipeline/core/Cargo.toml b/src/query/pipeline/core/Cargo.toml index 64866ff49dc29..79c062ff28296 100644 --- a/src/query/pipeline/core/Cargo.toml +++ b/src/query/pipeline/core/Cargo.toml @@ -17,6 +17,7 @@ futures = { workspace = true } log = { workspace = true } petgraph = { workspace = true } serde = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [dev-dependencies] serde = { workspace = true } diff --git a/src/query/pipeline/sinks/Cargo.toml b/src/query/pipeline/sinks/Cargo.toml index fb18f544849e6..dea29d30768ea 100644 --- a/src/query/pipeline/sinks/Cargo.toml +++ b/src/query/pipeline/sinks/Cargo.toml @@ -13,6 +13,7 @@ databend-common-base = { workspace = true } databend-common-exception = { workspace = true } databend-common-expression = { workspace = true } databend-common-pipeline-core = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [dev-dependencies] tokio = { workspace = true } diff --git a/src/query/pipeline/sources/Cargo.toml b/src/query/pipeline/sources/Cargo.toml index c1b0a014c8157..76fbac09713ad 100644 --- a/src/query/pipeline/sources/Cargo.toml +++ b/src/query/pipeline/sources/Cargo.toml @@ -16,6 +16,7 @@ databend-common-expression = { workspace = true } databend-common-pipeline-core = { workspace = true } futures = { workspace = true } parking_lot = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/query/pipeline/transforms/Cargo.toml b/src/query/pipeline/transforms/Cargo.toml index f423beba00929..1b99756bb7f57 100644 --- a/src/query/pipeline/transforms/Cargo.toml +++ b/src/query/pipeline/transforms/Cargo.toml @@ -19,6 +19,7 @@ match-template = { workspace = true } serde = { workspace = true } tokio = { workspace = true } typetag = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [dev-dependencies] itertools = { workspace = true } diff --git a/src/query/script/Cargo.toml b/src/query/script/Cargo.toml index aef4f216d0d78..1974fb176629d 100644 --- a/src/query/script/Cargo.toml +++ b/src/query/script/Cargo.toml @@ -11,6 +11,7 @@ databend-common-ast = { workspace = true } databend-common-exception = { workspace = true } derive-visitor = { workspace = true } fastrace = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] goldenfile = { workspace = true } diff --git a/src/query/service/Cargo.toml b/src/query/service/Cargo.toml index 8f264f45a2e09..b23270c991c59 100644 --- a/src/query/service/Cargo.toml +++ b/src/query/service/Cargo.toml @@ -176,6 +176,7 @@ url = { workspace = true } uuid = { workspace = true } walkdir = { workspace = true } xorf = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] arrow-cast = { workspace = true } diff --git a/src/query/settings/Cargo.toml b/src/query/settings/Cargo.toml index e721a90bffcab..ea759d0c51f81 100644 --- a/src/query/settings/Cargo.toml +++ b/src/query/settings/Cargo.toml @@ -23,6 +23,7 @@ num_cpus = { workspace = true } once_cell = { workspace = true } serde = { workspace = true } sys-info = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] databend-common-base = { workspace = true } diff --git a/src/query/sql/Cargo.toml b/src/query/sql/Cargo.toml index e8fdebbbde820..a399e5b1f7b1c 100644 --- a/src/query/sql/Cargo.toml +++ b/src/query/sql/Cargo.toml @@ -74,6 +74,7 @@ simsearch = { workspace = true } tokio = { workspace = true } unicase = { workspace = true } url = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] pretty_assertions = { workspace = true } diff --git a/src/query/storages/common/blocks/Cargo.toml b/src/query/storages/common/blocks/Cargo.toml index 931136b27b318..6923bdc1d9160 100644 --- a/src/query/storages/common/blocks/Cargo.toml +++ b/src/query/storages/common/blocks/Cargo.toml @@ -12,6 +12,7 @@ databend-common-expression = { workspace = true } databend-storages-common-table-meta = { workspace = true } parking_lot = { workspace = true } parquet = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../../databend-workspace-hack" } [build-dependencies] diff --git a/src/query/storages/common/cache/Cargo.toml b/src/query/storages/common/cache/Cargo.toml index 83008df2f1b81..7431cd4abd52c 100644 --- a/src/query/storages/common/cache/Cargo.toml +++ b/src/query/storages/common/cache/Cargo.toml @@ -29,6 +29,7 @@ parquet = { workspace = true } rayon = { workspace = true } rustix = { workspace = true } siphasher = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../../databend-workspace-hack" } [dev-dependencies] divan = { workspace = true } diff --git a/src/query/storages/common/index/Cargo.toml b/src/query/storages/common/index/Cargo.toml index 07cf10ba70de2..415b0c854a84f 100644 --- a/src/query/storages/common/index/Cargo.toml +++ b/src/query/storages/common/index/Cargo.toml @@ -47,6 +47,7 @@ tantivy-fst = { workspace = true } thiserror = { workspace = true } xorfilter-rs = { workspace = true, features = ["cbordata"] } zerocopy = { workspace = true, features = ["derive"] } +databend-workspace-hack = { version = "0.1", path = "../../../../../databend-workspace-hack" } [dev-dependencies] divan = { workspace = true } diff --git a/src/query/storages/common/io/Cargo.toml b/src/query/storages/common/io/Cargo.toml index 9a95689a3cd53..e14364b7d59f0 100644 --- a/src/query/storages/common/io/Cargo.toml +++ b/src/query/storages/common/io/Cargo.toml @@ -18,6 +18,7 @@ fastrace = { workspace = true } futures = { workspace = true } log = { workspace = true } opendal = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/query/storages/common/pruner/Cargo.toml b/src/query/storages/common/pruner/Cargo.toml index 16f63cf8398ab..a767e828e8bf6 100644 --- a/src/query/storages/common/pruner/Cargo.toml +++ b/src/query/storages/common/pruner/Cargo.toml @@ -15,6 +15,7 @@ databend-storages-common-table-meta = { workspace = true } log = { workspace = true } serde = { workspace = true } typetag = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/query/storages/common/session/Cargo.toml b/src/query/storages/common/session/Cargo.toml index 31f55e9d786db..a7a639966e5e1 100644 --- a/src/query/storages/common/session/Cargo.toml +++ b/src/query/storages/common/session/Cargo.toml @@ -19,6 +19,7 @@ log = { workspace = true } parking_lot = { workspace = true } serde = { workspace = true, features = ["derive"] } uuid = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/query/storages/common/stage/Cargo.toml b/src/query/storages/common/stage/Cargo.toml index 2072fcc3a904d..40b523a5a6888 100644 --- a/src/query/storages/common/stage/Cargo.toml +++ b/src/query/storages/common/stage/Cargo.toml @@ -15,6 +15,7 @@ databend-common-functions = { workspace = true } databend-common-meta-app = { workspace = true } serde = { workspace = true } typetag = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/query/storages/common/table_meta/Cargo.toml b/src/query/storages/common/table_meta/Cargo.toml index bba25e6f0f4dd..65d3f953d39cc 100644 --- a/src/query/storages/common/table_meta/Cargo.toml +++ b/src/query/storages/common/table_meta/Cargo.toml @@ -34,6 +34,7 @@ simple_hll = { workspace = true, features = ["serde_borsh"] } snap = { workspace = true, optional = true } typetag = { workspace = true } zstd = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/query/storages/delta/Cargo.toml b/src/query/storages/delta/Cargo.toml index 84ce0e5b12dd2..1f2c47bf04dd9 100644 --- a/src/query/storages/delta/Cargo.toml +++ b/src/query/storages/delta/Cargo.toml @@ -31,6 +31,7 @@ serde_json = { workspace = true } tokio = { workspace = true } typetag = { workspace = true } url = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/query/storages/factory/Cargo.toml b/src/query/storages/factory/Cargo.toml index 9214647d2365e..1e8bc220bde38 100644 --- a/src/query/storages/factory/Cargo.toml +++ b/src/query/storages/factory/Cargo.toml @@ -21,6 +21,7 @@ databend-common-storages-random = { workspace = true } databend-common-storages-stream = { workspace = true } databend-common-storages-view = { workspace = true } databend-storages-common-index = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/query/storages/fuse/Cargo.toml b/src/query/storages/fuse/Cargo.toml index 811821ec8088d..9ab04fc091f2f 100644 --- a/src/query/storages/fuse/Cargo.toml +++ b/src/query/storages/fuse/Cargo.toml @@ -74,6 +74,7 @@ thrift = { workspace = true } typetag = { workspace = true } uuid = { workspace = true } xorf = { workspace = true, default-features = false, features = ["binary-fuse"] } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [dev-dependencies] divan = { workspace = true } diff --git a/src/query/storages/hive/hive/Cargo.toml b/src/query/storages/hive/hive/Cargo.toml index d6d27b06f142a..bff9091b4f551 100644 --- a/src/query/storages/hive/hive/Cargo.toml +++ b/src/query/storages/hive/hive/Cargo.toml @@ -36,6 +36,7 @@ recursive = { workspace = true } serde = { workspace = true } typetag = { workspace = true } volo-thrift = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/query/storages/iceberg/Cargo.toml b/src/query/storages/iceberg/Cargo.toml index c94485d3578e5..3dc7942954cb6 100644 --- a/src/query/storages/iceberg/Cargo.toml +++ b/src/query/storages/iceberg/Cargo.toml @@ -39,6 +39,7 @@ log = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } uuid = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/query/storages/information_schema/Cargo.toml b/src/query/storages/information_schema/Cargo.toml index 099aff99974a1..48e0593dde6d7 100644 --- a/src/query/storages/information_schema/Cargo.toml +++ b/src/query/storages/information_schema/Cargo.toml @@ -12,6 +12,7 @@ databend-common-catalog = { workspace = true } databend-common-meta-app = { workspace = true } databend-common-storages-system = { workspace = true } databend-common-storages-view = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/query/storages/memory/Cargo.toml b/src/query/storages/memory/Cargo.toml index 13e566f6b43c3..d78afb8acb59f 100644 --- a/src/query/storages/memory/Cargo.toml +++ b/src/query/storages/memory/Cargo.toml @@ -23,6 +23,7 @@ databend-storages-common-table-meta = { workspace = true } parking_lot = { workspace = true } serde = { workspace = true } typetag = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/query/storages/null/Cargo.toml b/src/query/storages/null/Cargo.toml index fa4c1d9c43f8e..2c6eff757259b 100644 --- a/src/query/storages/null/Cargo.toml +++ b/src/query/storages/null/Cargo.toml @@ -17,6 +17,7 @@ databend-common-pipeline-core = { workspace = true } databend-common-pipeline-sinks = { workspace = true } databend-common-pipeline-sources = { workspace = true } databend-storages-common-table-meta = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/query/storages/orc/Cargo.toml b/src/query/storages/orc/Cargo.toml index ae76b7e68357d..6d0e14501a2bf 100644 --- a/src/query/storages/orc/Cargo.toml +++ b/src/query/storages/orc/Cargo.toml @@ -37,6 +37,7 @@ orc-rust = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } typetag = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/query/storages/parquet/Cargo.toml b/src/query/storages/parquet/Cargo.toml index 631baee0af5dd..cf0ab6cb61043 100644 --- a/src/query/storages/parquet/Cargo.toml +++ b/src/query/storages/parquet/Cargo.toml @@ -40,6 +40,7 @@ rand = { workspace = true } serde = { workspace = true } thrift = { workspace = true } typetag = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/query/storages/random/Cargo.toml b/src/query/storages/random/Cargo.toml index c2971ac8526de..40cfb23363b5c 100644 --- a/src/query/storages/random/Cargo.toml +++ b/src/query/storages/random/Cargo.toml @@ -18,6 +18,7 @@ databend-common-pipeline-sources = { workspace = true } databend-storages-common-table-meta = { workspace = true } serde = { workspace = true } typetag = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/query/storages/result_cache/Cargo.toml b/src/query/storages/result_cache/Cargo.toml index be5c9d43f030a..5c4c4b3edb119 100644 --- a/src/query/storages/result_cache/Cargo.toml +++ b/src/query/storages/result_cache/Cargo.toml @@ -30,6 +30,7 @@ serde_json = { workspace = true } sha2 = { workspace = true } tokio = { workspace = true } uuid = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/query/storages/stage/Cargo.toml b/src/query/storages/stage/Cargo.toml index 0ac4c8339edd4..94d3351051bce 100644 --- a/src/query/storages/stage/Cargo.toml +++ b/src/query/storages/stage/Cargo.toml @@ -48,6 +48,7 @@ parquet = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } typetag = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/query/storages/stream/Cargo.toml b/src/query/storages/stream/Cargo.toml index 2b0d4bf0d3d95..34fe40608695d 100644 --- a/src/query/storages/stream/Cargo.toml +++ b/src/query/storages/stream/Cargo.toml @@ -22,6 +22,7 @@ databend-storages-common-table-meta = { workspace = true } fastrace = { workspace = true } futures = { workspace = true } log = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [build-dependencies] diff --git a/src/query/storages/system/Cargo.toml b/src/query/storages/system/Cargo.toml index 48a00b76bc320..588330ea24633 100644 --- a/src/query/storages/system/Cargo.toml +++ b/src/query/storages/system/Cargo.toml @@ -51,6 +51,7 @@ serde_repr = { workspace = true } snailquote = { workspace = true } tikv-jemalloc-ctl = { workspace = true, optional = true } typetag = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/query/storages/view/Cargo.toml b/src/query/storages/view/Cargo.toml index 43249c5b0e044..033f894bf7458 100644 --- a/src/query/storages/view/Cargo.toml +++ b/src/query/storages/view/Cargo.toml @@ -11,6 +11,7 @@ async-trait = { workspace = true } databend-common-catalog = { workspace = true } databend-common-exception = { workspace = true } databend-common-meta-app = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [build-dependencies] diff --git a/src/query/users/Cargo.toml b/src/query/users/Cargo.toml index ab8100292b179..b0ab677131bab 100644 --- a/src/query/users/Cargo.toml +++ b/src/query/users/Cargo.toml @@ -36,6 +36,7 @@ passwords = { workspace = true } reqwest = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] databend-common-expression = { workspace = true } diff --git a/src/tests/sqlsmith/Cargo.toml b/src/tests/sqlsmith/Cargo.toml index 9d0c28b9a6ef6..cb7a70a4f3c79 100644 --- a/src/tests/sqlsmith/Cargo.toml +++ b/src/tests/sqlsmith/Cargo.toml @@ -30,6 +30,7 @@ tokio = { workspace = true } tracing = { workspace = true } tracing-subscriber = { workspace = true } url = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [[bin]] name = "databend-sqlsmith" diff --git a/tests/sqllogictests/Cargo.toml b/tests/sqllogictests/Cargo.toml index fd8547589c6f6..bf2ef2ace289f 100644 --- a/tests/sqllogictests/Cargo.toml +++ b/tests/sqllogictests/Cargo.toml @@ -35,6 +35,7 @@ testcontainers-modules = { workspace = true, features = ["mysql", "redis"] } thiserror = { workspace = true } tokio = { workspace = true } walkdir = { workspace = true } +databend-workspace-hack = { version = "0.1", path = "../../databend-workspace-hack" } [lints] workspace = true From ae99443f51537305f26ba33a2a1c2a93f848cf6c Mon Sep 17 00:00:00 2001 From: coldWater Date: Mon, 21 Jul 2025 11:59:31 +0800 Subject: [PATCH 2/3] fix --- databend-workspace-hack/build.rs | 14 ++++++++++++++ databend-workspace-hack/src/lib.rs | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/databend-workspace-hack/build.rs b/databend-workspace-hack/build.rs index 92518ef04cb3b..bd13b785c78b7 100644 --- a/databend-workspace-hack/build.rs +++ b/databend-workspace-hack/build.rs @@ -1,2 +1,16 @@ +// Copyright 2021 Datafuse Labs +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // A build script is required for cargo to consider build dependencies. fn main() {} diff --git a/databend-workspace-hack/src/lib.rs b/databend-workspace-hack/src/lib.rs index 22489f632bdc1..b55251e8cb66d 100644 --- a/databend-workspace-hack/src/lib.rs +++ b/databend-workspace-hack/src/lib.rs @@ -1 +1,15 @@ +// Copyright 2021 Datafuse Labs +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // This is a stub lib.rs. From 82e33556590fc8273dbb6bd637642ede25d418be Mon Sep 17 00:00:00 2001 From: coldWater Date: Mon, 28 Jul 2025 16:36:19 +0800 Subject: [PATCH 3/3] fix --- Cargo.toml | 2 + databend-workspace-hack/Cargo.toml | 385 ++++++++++++++++-- src/bendpy/Cargo.toml | 5 +- src/bendsave/Cargo.toml | 5 +- src/binaries/Cargo.toml | 5 +- src/common/auth/Cargo.toml | 5 +- src/common/base/Cargo.toml | 5 +- src/common/building/Cargo.toml | 5 +- src/common/cache/Cargo.toml | 5 +- src/common/cloud_control/Cargo.toml | 5 +- src/common/column/Cargo.toml | 5 +- src/common/compress/Cargo.toml | 5 +- src/common/exception/Cargo.toml | 5 +- src/common/grpc/Cargo.toml | 5 +- src/common/hashtable/Cargo.toml | 5 +- src/common/http/Cargo.toml | 5 +- src/common/io/Cargo.toml | 5 +- src/common/license/Cargo.toml | 5 +- src/common/metrics/Cargo.toml | 5 +- src/common/native/Cargo.toml | 4 +- src/common/openai/Cargo.toml | 5 +- src/common/storage/Cargo.toml | 5 +- src/common/tracing/Cargo.toml | 5 +- src/common/vector/Cargo.toml | 5 +- src/common/version/Cargo.toml | 5 +- src/meta/api/Cargo.toml | 5 +- src/meta/app-storage/Cargo.toml | 5 +- src/meta/app-types/Cargo.toml | 4 +- src/meta/app/Cargo.toml | 4 +- src/meta/binaries/Cargo.toml | 5 +- src/meta/cache/Cargo.toml | 5 +- src/meta/client/Cargo.toml | 5 +- src/meta/control/Cargo.toml | 5 +- src/meta/ee/Cargo.toml | 5 +- src/meta/kvapi-test-suite/Cargo.toml | 5 +- src/meta/kvapi/Cargo.toml | 5 +- src/meta/process/Cargo.toml | 5 +- src/meta/proto-conv/Cargo.toml | 5 +- src/meta/protos/Cargo.toml | 6 +- src/meta/raft-store/Cargo.toml | 5 +- src/meta/semaphore/Cargo.toml | 5 +- src/meta/service/Cargo.toml | 5 +- src/meta/sled-store/Cargo.toml | 5 +- src/meta/stoerr/Cargo.toml | 5 +- src/meta/store/Cargo.toml | 5 +- src/meta/types/Cargo.toml | 4 +- src/query/ast/Cargo.toml | 5 +- src/query/catalog/Cargo.toml | 5 +- src/query/codegen/Cargo.toml | 5 +- src/query/config/Cargo.toml | 8 +- src/query/datavalues/Cargo.toml | 5 +- src/query/ee/Cargo.toml | 5 +- .../ee_features/aggregating_index/Cargo.toml | 5 +- src/query/ee_features/attach_table/Cargo.toml | 5 +- src/query/ee_features/data_mask/Cargo.toml | 5 +- src/query/ee_features/fail_safe/Cargo.toml | 5 +- .../ee_features/hilbert_clustering/Cargo.toml | 5 +- .../resources_management/Cargo.toml | 5 +- .../ee_features/storage_encryption/Cargo.toml | 5 +- .../ee_features/storage_quota/Cargo.toml | 5 +- .../ee_features/stream_handler/Cargo.toml | 5 +- src/query/ee_features/table_index/Cargo.toml | 5 +- .../ee_features/vacuum_handler/Cargo.toml | 5 +- .../ee_features/virtual_column/Cargo.toml | 5 +- src/query/expression/Cargo.toml | 5 +- src/query/formats/Cargo.toml | 4 +- src/query/functions/Cargo.toml | 8 +- .../src/scalars/arithmetic/Cargo.toml | 4 +- .../functions/src/scalars/decimal/Cargo.toml | 4 +- .../src/scalars/geographic/Cargo.toml | 5 +- .../src/scalars/integer_arithmetic/Cargo.toml | 4 +- .../src/scalars/mathematics/Cargo.toml | 4 +- .../numeric_basic_arithmetic/Cargo.toml | 4 +- .../src/scalars/timestamp/Cargo.toml | 5 +- src/query/management/Cargo.toml | 5 +- src/query/pipeline/core/Cargo.toml | 5 +- src/query/pipeline/sinks/Cargo.toml | 5 +- src/query/pipeline/sources/Cargo.toml | 5 +- src/query/pipeline/transforms/Cargo.toml | 4 +- src/query/script/Cargo.toml | 5 +- src/query/service/Cargo.toml | 8 +- src/query/settings/Cargo.toml | 5 +- src/query/sql/Cargo.toml | 5 +- src/query/storages/common/blocks/Cargo.toml | 5 +- src/query/storages/common/cache/Cargo.toml | 5 +- src/query/storages/common/index/Cargo.toml | 9 +- src/query/storages/common/io/Cargo.toml | 5 +- src/query/storages/common/pruner/Cargo.toml | 5 +- src/query/storages/common/session/Cargo.toml | 8 +- src/query/storages/common/stage/Cargo.toml | 5 +- .../storages/common/table_meta/Cargo.toml | 5 +- src/query/storages/delta/Cargo.toml | 8 +- src/query/storages/factory/Cargo.toml | 5 +- src/query/storages/fuse/Cargo.toml | 4 +- src/query/storages/hive/hive/Cargo.toml | 5 +- src/query/storages/iceberg/Cargo.toml | 5 +- .../storages/information_schema/Cargo.toml | 5 +- src/query/storages/memory/Cargo.toml | 5 +- src/query/storages/null/Cargo.toml | 5 +- src/query/storages/orc/Cargo.toml | 4 +- src/query/storages/parquet/Cargo.toml | 5 +- src/query/storages/random/Cargo.toml | 5 +- src/query/storages/result_cache/Cargo.toml | 5 +- src/query/storages/stage/Cargo.toml | 4 +- src/query/storages/stream/Cargo.toml | 5 +- src/query/storages/system/Cargo.toml | 5 +- src/query/storages/view/Cargo.toml | 5 +- src/query/users/Cargo.toml | 5 +- src/tests/sqlsmith/Cargo.toml | 5 +- tests/sqllogictests/Cargo.toml | 5 +- 110 files changed, 741 insertions(+), 192 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5476893057fdf..d5fdba013af57 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -226,6 +226,8 @@ databend-storages-common-session = { path = "src/query/storages/common/session" databend-storages-common-stage = { path = "src/query/storages/common/stage" } databend-storages-common-table-meta = { path = "src/query/storages/common/table_meta" } +databend-workspace-hack = { version = "0.1", path = "./databend-workspace-hack" } + # Crates.io dependencies ahash = "0.8" aho-corasick = { version = "1.0.1" } # diff --git a/databend-workspace-hack/Cargo.toml b/databend-workspace-hack/Cargo.toml index fd96bc0f584ca..b1f4b8d932728 100644 --- a/databend-workspace-hack/Cargo.toml +++ b/databend-workspace-hack/Cargo.toml @@ -28,7 +28,11 @@ arrow-cast = { version = "55", default-features = false, features = ["prettyprin arrow-data = { version = "55", default-features = false, features = ["ffi"] } arrow-ipc = { version = "55", features = ["lz4", "zstd"] } arrow-schema = { version = "55", default-features = false, features = ["ffi", "serde"] } -arrow-udf-runtime = { git = "https://github.com/datafuse-extras/arrow-udf.git", rev = "a442343", default-features = false, features = ["javascript", "python", "wasm"] } +arrow-udf-runtime = { git = "https://github.com/datafuse-extras/arrow-udf.git", rev = "a442343", default-features = false, features = [ + "javascript", + "python", + "wasm", +] } backtrace = { git = "https://github.com/rust-lang/backtrace-rs.git", rev = "72265be", features = ["serialize-serde"] } base64 = { version = "0.22" } bigdecimal = { version = "0.4", features = ["serde"] } @@ -42,7 +46,14 @@ bzip2 = { version = "0.4", default-features = false, features = ["static"] } bzip2-sys = { version = "0.1", default-features = false, features = ["static"] } chrono = { version = "0.4", features = ["serde"] } clap = { version = "4", features = ["derive", "env", "wrap_help"] } -clap_builder = { version = "4", default-features = false, features = ["color", "env", "std", "suggestions", "usage", "wrap_help"] } +clap_builder = { version = "4", default-features = false, features = [ + "color", + "env", + "std", + "suggestions", + "usage", + "wrap_help", +] } comfy-table = { version = "7" } concurrent-queue = { version = "2" } console = { version = "0.15", default-features = false, features = ["ansi-parsing", "unicode-width"] } @@ -68,7 +79,10 @@ futures-task = { version = "0.3", default-features = false, features = ["std"] } futures-util = { version = "0.3", features = ["channel", "io", "sink"] } generic-array = { version = "0.14", default-features = false, features = ["more_lengths", "zeroize"] } geo-types = { version = "0.7", features = ["serde", "use-rstar_0_12"] } -getrandom-468e82937335b1c9 = { package = "getrandom", version = "0.3", default-features = false, features = ["std", "wasm_js"] } +getrandom-468e82937335b1c9 = { package = "getrandom", version = "0.3", default-features = false, features = [ + "std", + "wasm_js", +] } getrandom-6f8ce4dd05d13bba = { package = "getrandom", version = "0.2", default-features = false, features = ["std"] } gimli = { version = "0.31" } hashbrown-3575ec1268b04181 = { package = "hashbrown", version = "0.15" } @@ -85,7 +99,13 @@ jiff = { version = "0.2", features = ["serde", "tzdb-bundle-always"] } lexical-core = { version = "1" } lexical-parse-float = { version = "1", default-features = false, features = ["std"] } lexical-parse-integer = { version = "1", default-features = false, features = ["std"] } -lexical-util = { version = "1", default-features = false, features = ["parse-floats", "parse-integers", "std", "write-floats", "write-integers"] } +lexical-util = { version = "1", default-features = false, features = [ + "parse-floats", + "parse-integers", + "std", + "write-floats", + "write-integers", +] } lexical-write-float = { version = "1", default-features = false, features = ["std"] } lexical-write-integer = { version = "1", default-features = false, features = ["std"] } libc = { version = "0.2", features = ["extra_traits", "use_std"] } @@ -120,16 +140,48 @@ pyo3-ffi = { version = "0.24", features = ["abi3-py312", "generate-import-lib"] rand = { version = "0.8", features = ["serde1", "small_rng"] } rand_core = { version = "0.6", default-features = false, features = ["serde1", "std"] } regex = { version = "1" } -regex-automata = { version = "0.4", default-features = false, features = ["dfa-onepass", "dfa-search", "hybrid", "meta", "nfa-backtrack", "perf-inline", "perf-literal", "unicode"] } +regex-automata = { version = "0.4", default-features = false, features = [ + "dfa-onepass", + "dfa-search", + "hybrid", + "meta", + "nfa-backtrack", + "perf-inline", + "perf-literal", + "unicode", +] } regex-lite = { version = "0.1" } regex-syntax = { version = "0.8" } -reqwest = { version = "0.12", features = ["blocking", "cookies", "json", "native-tls-alpn", "native-tls-vendored", "rustls-tls", "rustls-tls-native-roots", "stream"] } +reqwest = { version = "0.12", features = [ + "blocking", + "cookies", + "json", + "native-tls-alpn", + "native-tls-vendored", + "rustls-tls", + "rustls-tls-native-roots", + "stream", +] } ring = { version = "0.17", features = ["std"] } -rquickjs-core = { version = "0.6", features = ["array-buffer", "classes", "futures", "loader", "parallel", "properties"] } +rquickjs-core = { version = "0.6", features = [ + "array-buffer", + "classes", + "futures", + "loader", + "parallel", + "properties", +] } rsa = { version = "0.9", features = ["pkcs5", "sha2"] } rust_decimal = { version = "1" } rustc-hash = { version = "2", features = ["rand"] } -rustls = { version = "0.23", default-features = false, features = ["aws-lc-rs", "aws_lc_rs", "logging", "ring", "std", "tls12"] } +rustls = { version = "0.23", default-features = false, features = [ + "aws-lc-rs", + "aws_lc_rs", + "logging", + "ring", + "std", + "tls12", +] } rustls-pemfile = { version = "2" } rustls-webpki = { version = "0.103", default-features = false, features = ["aws-lc-rs", "ring", "std"] } scopeguard = { version = "1" } @@ -150,13 +202,22 @@ strum = { version = "0.26", features = ["derive"] } subtle = { version = "2" } sync_wrapper = { version = "1", default-features = false, features = ["futures"] } thrift = { version = "0.17" } -tikv-jemalloc-sys = { version = "0.6", features = ["disable_initial_exec_tls", "profiling", "stats", "unprefixed_malloc_on_supported_platforms"] } +tikv-jemalloc-sys = { version = "0.6", features = [ + "disable_initial_exec_tls", + "profiling", + "stats", + "unprefixed_malloc_on_supported_platforms", +] } time = { version = "0.3", features = ["local-offset", "macros", "serde-well-known"] } tokio = { version = "1", features = ["full", "test-util", "tracing"] } tokio-rustls = { version = "0.26", default-features = false, features = ["logging", "ring", "tls12"] } tokio-stream = { version = "0.1", features = ["fs", "net"] } toml_datetime = { version = "0.6", default-features = false, features = ["serde"] } -toml_edit-3c51e837cfc5589a = { package = "toml_edit", version = "0.22", default-features = false, features = ["display", "parse", "serde"] } +toml_edit-3c51e837cfc5589a = { package = "toml_edit", version = "0.22", default-features = false, features = [ + "display", + "parse", + "serde", +] } toml_edit-cdcf2f9584511fe6 = { package = "toml_edit", version = "0.19", features = ["serde"] } tracing = { version = "0.1", features = ["log"] } tracing-core = { version = "0.1", features = ["valuable"] } @@ -164,13 +225,30 @@ twox-hash = { version = "1" } unicode-normalization = { version = "0.1" } url = { version = "2", features = ["serde"] } uuid = { version = "1", features = ["fast-rng", "serde", "v4", "v7"] } -wasmparser = { version = "0.219", default-features = false, features = ["component-model", "features", "serde", "std", "validate"] } +wasmparser = { version = "0.219", default-features = false, features = [ + "component-model", + "features", + "serde", + "std", + "validate", +] } xz2 = { version = "0.1", default-features = false, features = ["static"] } zeroize = { version = "1", features = ["zeroize_derive"] } zstd-594e8ee84c453af0 = { package = "zstd", version = "0.13", features = ["experimental"] } zstd-5ef9efb8ec2df382 = { package = "zstd", version = "0.12" } -zstd-safe-15128469a54ed75a = { package = "zstd-safe", version = "7", default-features = false, features = ["arrays", "experimental", "legacy", "std", "zdict_builder"] } -zstd-safe-a490c3000a992113 = { package = "zstd-safe", version = "6", default-features = false, features = ["arrays", "legacy", "std", "zdict_builder"] } +zstd-safe-15128469a54ed75a = { package = "zstd-safe", version = "7", default-features = false, features = [ + "arrays", + "experimental", + "legacy", + "std", + "zdict_builder", +] } +zstd-safe-a490c3000a992113 = { package = "zstd-safe", version = "6", default-features = false, features = [ + "arrays", + "legacy", + "std", + "zdict_builder", +] } zstd-sys = { version = "2", default-features = false, features = ["experimental", "legacy", "std", "zdict_builder"] } [build-dependencies] @@ -187,7 +265,11 @@ arrow-cast = { version = "55", default-features = false, features = ["prettyprin arrow-data = { version = "55", default-features = false, features = ["ffi"] } arrow-ipc = { version = "55", features = ["lz4", "zstd"] } arrow-schema = { version = "55", default-features = false, features = ["ffi", "serde"] } -arrow-udf-runtime = { git = "https://github.com/datafuse-extras/arrow-udf.git", rev = "a442343", default-features = false, features = ["javascript", "python", "wasm"] } +arrow-udf-runtime = { git = "https://github.com/datafuse-extras/arrow-udf.git", rev = "a442343", default-features = false, features = [ + "javascript", + "python", + "wasm", +] } backtrace = { git = "https://github.com/rust-lang/backtrace-rs.git", rev = "72265be", features = ["serialize-serde"] } base64 = { version = "0.22" } bigdecimal = { version = "0.4", features = ["serde"] } @@ -202,7 +284,14 @@ bzip2-sys = { version = "0.1", default-features = false, features = ["static"] } cc = { version = "1", default-features = false, features = ["parallel"] } chrono = { version = "0.4", features = ["serde"] } clap = { version = "4", features = ["derive", "env", "wrap_help"] } -clap_builder = { version = "4", default-features = false, features = ["color", "env", "std", "suggestions", "usage", "wrap_help"] } +clap_builder = { version = "4", default-features = false, features = [ + "color", + "env", + "std", + "suggestions", + "usage", + "wrap_help", +] } comfy-table = { version = "7" } concurrent-queue = { version = "2" } console = { version = "0.15", default-features = false, features = ["ansi-parsing", "unicode-width"] } @@ -228,7 +317,10 @@ futures-task = { version = "0.3", default-features = false, features = ["std"] } futures-util = { version = "0.3", features = ["channel", "io", "sink"] } generic-array = { version = "0.14", default-features = false, features = ["more_lengths", "zeroize"] } geo-types = { version = "0.7", features = ["serde", "use-rstar_0_12"] } -getrandom-468e82937335b1c9 = { package = "getrandom", version = "0.3", default-features = false, features = ["std", "wasm_js"] } +getrandom-468e82937335b1c9 = { package = "getrandom", version = "0.3", default-features = false, features = [ + "std", + "wasm_js", +] } getrandom-6f8ce4dd05d13bba = { package = "getrandom", version = "0.2", default-features = false, features = ["std"] } gimli = { version = "0.31" } hashbrown-3575ec1268b04181 = { package = "hashbrown", version = "0.15" } @@ -245,7 +337,13 @@ jiff = { version = "0.2", features = ["serde", "tzdb-bundle-always"] } lexical-core = { version = "1" } lexical-parse-float = { version = "1", default-features = false, features = ["std"] } lexical-parse-integer = { version = "1", default-features = false, features = ["std"] } -lexical-util = { version = "1", default-features = false, features = ["parse-floats", "parse-integers", "std", "write-floats", "write-integers"] } +lexical-util = { version = "1", default-features = false, features = [ + "parse-floats", + "parse-integers", + "std", + "write-floats", + "write-integers", +] } lexical-write-float = { version = "1", default-features = false, features = ["std"] } lexical-write-integer = { version = "1", default-features = false, features = ["std"] } libc = { version = "0.2", features = ["extra_traits", "use_std"] } @@ -282,16 +380,48 @@ pyo3-ffi = { version = "0.24", features = ["abi3-py312", "generate-import-lib"] rand = { version = "0.8", features = ["serde1", "small_rng"] } rand_core = { version = "0.6", default-features = false, features = ["serde1", "std"] } regex = { version = "1" } -regex-automata = { version = "0.4", default-features = false, features = ["dfa-onepass", "dfa-search", "hybrid", "meta", "nfa-backtrack", "perf-inline", "perf-literal", "unicode"] } +regex-automata = { version = "0.4", default-features = false, features = [ + "dfa-onepass", + "dfa-search", + "hybrid", + "meta", + "nfa-backtrack", + "perf-inline", + "perf-literal", + "unicode", +] } regex-lite = { version = "0.1" } regex-syntax = { version = "0.8" } -reqwest = { version = "0.12", features = ["blocking", "cookies", "json", "native-tls-alpn", "native-tls-vendored", "rustls-tls", "rustls-tls-native-roots", "stream"] } +reqwest = { version = "0.12", features = [ + "blocking", + "cookies", + "json", + "native-tls-alpn", + "native-tls-vendored", + "rustls-tls", + "rustls-tls-native-roots", + "stream", +] } ring = { version = "0.17", features = ["std"] } -rquickjs-core = { version = "0.6", features = ["array-buffer", "classes", "futures", "loader", "parallel", "properties"] } +rquickjs-core = { version = "0.6", features = [ + "array-buffer", + "classes", + "futures", + "loader", + "parallel", + "properties", +] } rsa = { version = "0.9", features = ["pkcs5", "sha2"] } rust_decimal = { version = "1" } rustc-hash = { version = "2", features = ["rand"] } -rustls = { version = "0.23", default-features = false, features = ["aws-lc-rs", "aws_lc_rs", "logging", "ring", "std", "tls12"] } +rustls = { version = "0.23", default-features = false, features = [ + "aws-lc-rs", + "aws_lc_rs", + "logging", + "ring", + "std", + "tls12", +] } rustls-pemfile = { version = "2" } rustls-webpki = { version = "0.103", default-features = false, features = ["aws-lc-rs", "ring", "std"] } scopeguard = { version = "1" } @@ -310,18 +440,39 @@ sqlx-mysql = { version = "0.8", default-features = false, features = ["any", "js stable_deref_trait = { version = "1" } strum = { version = "0.26", features = ["derive"] } subtle = { version = "2" } -syn-dff4ba8e3ae991db = { package = "syn", version = "1", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] } -syn-f595c2ba2a3f28df = { package = "syn", version = "2", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] } +syn-dff4ba8e3ae991db = { package = "syn", version = "1", features = [ + "extra-traits", + "fold", + "full", + "visit", + "visit-mut", +] } +syn-f595c2ba2a3f28df = { package = "syn", version = "2", features = [ + "extra-traits", + "fold", + "full", + "visit", + "visit-mut", +] } sync_wrapper = { version = "1", default-features = false, features = ["futures"] } thrift = { version = "0.17" } -tikv-jemalloc-sys = { version = "0.6", features = ["disable_initial_exec_tls", "profiling", "stats", "unprefixed_malloc_on_supported_platforms"] } +tikv-jemalloc-sys = { version = "0.6", features = [ + "disable_initial_exec_tls", + "profiling", + "stats", + "unprefixed_malloc_on_supported_platforms", +] } time = { version = "0.3", features = ["local-offset", "macros", "serde-well-known"] } time-macros = { version = "0.2", default-features = false, features = ["formatting", "parsing", "serde"] } tokio = { version = "1", features = ["full", "test-util", "tracing"] } tokio-rustls = { version = "0.26", default-features = false, features = ["logging", "ring", "tls12"] } tokio-stream = { version = "0.1", features = ["fs", "net"] } toml_datetime = { version = "0.6", default-features = false, features = ["serde"] } -toml_edit-3c51e837cfc5589a = { package = "toml_edit", version = "0.22", default-features = false, features = ["display", "parse", "serde"] } +toml_edit-3c51e837cfc5589a = { package = "toml_edit", version = "0.22", default-features = false, features = [ + "display", + "parse", + "serde", +] } toml_edit-cdcf2f9584511fe6 = { package = "toml_edit", version = "0.19", features = ["serde"] } tracing = { version = "0.1", features = ["log"] } tracing-core = { version = "0.1", features = ["valuable"] } @@ -329,13 +480,191 @@ twox-hash = { version = "1" } unicode-normalization = { version = "0.1" } url = { version = "2", features = ["serde"] } uuid = { version = "1", features = ["fast-rng", "serde", "v4", "v7"] } -wasmparser = { version = "0.219", default-features = false, features = ["component-model", "features", "serde", "std", "validate"] } +wasmparser = { version = "0.219", default-features = false, features = [ + "component-model", + "features", + "serde", + "std", + "validate", +] } xz2 = { version = "0.1", default-features = false, features = ["static"] } zeroize = { version = "1", features = ["zeroize_derive"] } zstd-594e8ee84c453af0 = { package = "zstd", version = "0.13", features = ["experimental"] } zstd-5ef9efb8ec2df382 = { package = "zstd", version = "0.12" } -zstd-safe-15128469a54ed75a = { package = "zstd-safe", version = "7", default-features = false, features = ["arrays", "experimental", "legacy", "std", "zdict_builder"] } -zstd-safe-a490c3000a992113 = { package = "zstd-safe", version = "6", default-features = false, features = ["arrays", "legacy", "std", "zdict_builder"] } +zstd-safe-15128469a54ed75a = { package = "zstd-safe", version = "7", default-features = false, features = [ + "arrays", + "experimental", + "legacy", + "std", + "zdict_builder", +] } +zstd-safe-a490c3000a992113 = { package = "zstd-safe", version = "6", default-features = false, features = [ + "arrays", + "legacy", + "std", + "zdict_builder", +] } zstd-sys = { version = "2", default-features = false, features = ["experimental", "legacy", "std", "zdict_builder"] } ### END HAKARI SECTION + +[package.metadata.cargo-machete] +ignored = [ + "ahash", + "aho-corasick", + "anstream", + "anyhow", + "apache-avro", + "approx", + "arrayvec", + "arrow", + "arrow-array", + "arrow-cast", + "arrow-data", + "arrow-ipc", + "arrow-schema", + "arrow-udf-runtime", + "backtrace", + "base64", + "bigdecimal", + "bitflags", + "brotli", + "bstr", + "bytemuck", + "byteorder", + "bytes", + "bzip2", + "bzip2-sys", + "chrono", + "clap", + "clap_builder", + "comfy-table", + "concurrent-queue", + "console", + "crossbeam-epoch", + "crossbeam-queue", + "crossbeam-utils", + "crypto-common", + "dashmap", + "deranged", + "either", + "env_filter", + "ethnum", + "event-listener-strategy", + "fastrace", + "flatbuffers", + "flate2", + "form_urlencoded", + "frunk_core", + "futures-channel", + "futures-executor", + "futures-sink", + "futures-task", + "futures-util", + "generic-array", + "geo-types", + "getrandom-468e82937335b1c9", + "getrandom-6f8ce4dd05d13bba", + "gimli", + "hashbrown-3575ec1268b04181", + "hashbrown-582f2526e08bb6a0", + "hmac", + "hyper", + "hyper-rustls", + "hyper-util", + "indexmap", + "instant", + "ipnet", + "itertools", + "jiff", + "lexical-core", + "lexical-parse-float", + "lexical-parse-integer", + "lexical-util", + "lexical-write-float", + "lexical-write-integer", + "libc", + "libflate", + "log", + "lz4_flex", + "lzma-sys", + "md-5", + "memchr", + "mysql_common", + "nom", + "num", + "num-bigint", + "num-format", + "num-integer", + "num-iter", + "num-traits", + "object", + "object_store", + "once_cell", + "ordered-float", + "parquet", + "percent-encoding", + "phf", + "phf_shared", + "pkcs8", + "portable-atomic", + "prost", + "prost-types", + "pyo3", + "pyo3-ffi", + "rand", + "rand_core", + "regex", + "regex-automata", + "regex-lite", + "regex-syntax", + "reqwest", + "ring", + "rquickjs-core", + "rsa", + "rust_decimal", + "rustc-hash", + "rustls", + "rustls-pemfile", + "rustls-webpki", + "scopeguard", + "semver", + "serde", + "serde_bytes", + "serde_json", + "sha1", + "sha2", + "simdutf8", + "similar", + "smallvec", + "spin", + "sqlx-core", + "sqlx-mysql", + "stable_deref_trait", + "strum", + "subtle", + "sync_wrapper", + "thrift", + "tikv-jemalloc-sys", + "time", + "tokio", + "tokio-rustls", + "tokio-stream", + "toml_datetime", + "toml_edit-3c51e837cfc5589a", + "toml_edit-cdcf2f9584511fe6", + "tracing", + "tracing-core", + "twox-hash", + "unicode-normalization", + "url", + "uuid", + "wasmparser", + "xz2", + "zeroize", + "zstd-594e8ee84c453af0", + "zstd-5ef9efb8ec2df382", + "zstd-safe-15128469a54ed75a", + "zstd-safe-a490c3000a992113", + "zstd-sys", +] diff --git a/src/bendpy/Cargo.toml b/src/bendpy/Cargo.toml index d31ba192e4d33..b49ea2eb5bd99 100644 --- a/src/bendpy/Cargo.toml +++ b/src/bendpy/Cargo.toml @@ -29,11 +29,14 @@ databend-query = { workspace = true, features = [ "simd", "disable_initial_exec_tls", ] } +databend-workspace-hack = { workspace = true } pyo3 = { version = "0.24", features = ["generate-import-lib", "abi3-py312"] } tempfile = { workspace = true } tokio = { workspace = true, features = ["macros", "rt", "rt-multi-thread", "sync"] } tokio-stream = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/bendsave/Cargo.toml b/src/bendsave/Cargo.toml index 644a9dd73a5e3..6475c20f5ae3f 100644 --- a/src/bendsave/Cargo.toml +++ b/src/bendsave/Cargo.toml @@ -24,6 +24,7 @@ databend-query = { workspace = true } anyhow = { workspace = true } bytes = { workspace = true } clap = { workspace = true } +databend-workspace-hack = { workspace = true } form_urlencoded = { workspace = true } futures = { workspace = true } http = { workspace = true } @@ -32,7 +33,9 @@ logforth = { workspace = true } opendal = { workspace = true, features = ["services-s3", "services-fs"] } tokio = { workspace = true } toml = { workspace = true, features = ["parse"] } -databend-workspace-hack = { version = "0.1", path = "../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/binaries/Cargo.toml b/src/binaries/Cargo.toml index bdc793afa678b..430b55803bda9 100644 --- a/src/binaries/Cargo.toml +++ b/src/binaries/Cargo.toml @@ -34,6 +34,7 @@ databend-common-version = { workspace = true } databend-enterprise-query = { workspace = true } databend-query = { workspace = true } databend-storages-common-table-meta = { workspace = true } +databend-workspace-hack = { workspace = true } limits-rs = { workspace = true } log = { workspace = true } opendal = { workspace = true } @@ -41,7 +42,9 @@ serde = { workspace = true } serde_json = { workspace = true } serfig = { workspace = true } tokio = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [[bin]] name = "databend-query" diff --git a/src/common/auth/Cargo.toml b/src/common/auth/Cargo.toml index 9b2d31a8f5e26..71a0daa625399 100644 --- a/src/common/auth/Cargo.toml +++ b/src/common/auth/Cargo.toml @@ -10,11 +10,14 @@ edition = { workspace = true } base64 = { workspace = true } chrono = { workspace = true } databend-common-base = { workspace = true } +databend-workspace-hack = { workspace = true } http = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] tempfile = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/src/common/base/Cargo.toml b/src/common/base/Cargo.toml index c465be2fa1280..464eab06f4c88 100644 --- a/src/common/base/Cargo.toml +++ b/src/common/base/Cargo.toml @@ -29,6 +29,7 @@ chrono = { workspace = true } concurrent-queue = { workspace = true } crc32fast = { workspace = true } ctrlc = { workspace = true } +databend-workspace-hack = { workspace = true } enquote = { workspace = true } fastrace = { workspace = true } futures = { workspace = true } @@ -59,7 +60,6 @@ tikv-jemalloc-sys = { workspace = true, optional = true } tokio = { workspace = true } unicode-segmentation = { workspace = true } uuid = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [target.'cfg(target_os = "linux")'.dependencies] procfs = { workspace = true } @@ -71,5 +71,8 @@ quickcheck = { workspace = true } rand = { workspace = true } serde_test = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/src/common/building/Cargo.toml b/src/common/building/Cargo.toml index 88f87d47fddbc..6ea6490d0812e 100644 --- a/src/common/building/Cargo.toml +++ b/src/common/building/Cargo.toml @@ -11,10 +11,13 @@ anyhow = { workspace = true } base64 = { workspace = true } cargo-license = { workspace = true } cargo_metadata = { workspace = true } +databend-workspace-hack = { workspace = true } gix = { workspace = true } log = { workspace = true } vergen = { workspace = true, default-features = false, features = ["build", "cargo", "git", "gix", "rustc"] } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/common/cache/Cargo.toml b/src/common/cache/Cargo.toml index 25530ee8f6a99..8f1d43a6a8080 100644 --- a/src/common/cache/Cargo.toml +++ b/src/common/cache/Cargo.toml @@ -7,11 +7,12 @@ publish = { workspace = true } edition = { workspace = true } [dependencies] +databend-workspace-hack = { workspace = true } hashbrown = { workspace = true } hashlink = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } -[dev-dependencies] +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/common/cloud_control/Cargo.toml b/src/common/cloud_control/Cargo.toml index b90173213b78a..535d95655e7ee 100644 --- a/src/common/cloud_control/Cargo.toml +++ b/src/common/cloud_control/Cargo.toml @@ -12,11 +12,11 @@ databend-common-exception = { workspace = true } async-backtrace = { workspace = true } chrono = { workspace = true } +databend-workspace-hack = { workspace = true } hyper-util = { workspace = true } prost = { workspace = true } serde = { workspace = true } tonic = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [build-dependencies] lenient_semver = { workspace = true } @@ -27,5 +27,8 @@ tonic-build = { workspace = true } [dev-dependencies] tower = { workspace = true, features = ["util"] } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/src/common/column/Cargo.toml b/src/common/column/Cargo.toml index c1f537ce850d1..08b3ac6e7df9c 100644 --- a/src/common/column/Cargo.toml +++ b/src/common/column/Cargo.toml @@ -25,6 +25,7 @@ arrow-buffer = { workspace = true } arrow-data = { workspace = true } arrow-schema = { workspace = true } bytemuck = { workspace = true } +databend-workspace-hack = { workspace = true } either = { workspace = true } ethnum = { workspace = true } foreign_vec = { workspace = true } @@ -36,10 +37,12 @@ serde = { workspace = true, features = ["rc"], optional = true } serde_derive = { workspace = true, optional = true } serde_json = { workspace = true } simdutf8 = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] proptest = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/src/common/compress/Cargo.toml b/src/common/compress/Cargo.toml index 1b8cc754d2796..dac620c9a6435 100644 --- a/src/common/compress/Cargo.toml +++ b/src/common/compress/Cargo.toml @@ -12,17 +12,20 @@ async-compression = { workspace = true } brotli = { workspace = true, features = ["std"] } bytes = { workspace = true } databend-common-exception = { workspace = true } +databend-workspace-hack = { workspace = true } futures = { workspace = true } log = { workspace = true } pin-project = { workspace = true } serde = { workspace = true } zip = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] env_logger = { workspace = true } rand = { workspace = true } tokio = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/src/common/exception/Cargo.toml b/src/common/exception/Cargo.toml index 4015e2e937bfc..d7e95d55de938 100644 --- a/src/common/exception/Cargo.toml +++ b/src/common/exception/Cargo.toml @@ -16,6 +16,7 @@ arrow-schema = { workspace = true } backtrace = { workspace = true, features = ["std", "serialize-serde"] } bincode = { workspace = true } cidr = { workspace = true } +databend-workspace-hack = { workspace = true } geozero = { workspace = true } gimli = { workspace = true } http = { workspace = true } @@ -36,7 +37,9 @@ sqlx = { workspace = true } tantivy = { workspace = true } thiserror = { workspace = true } tonic = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/common/grpc/Cargo.toml b/src/common/grpc/Cargo.toml index ae6662069e6d5..0f0ce278038ac 100644 --- a/src/common/grpc/Cargo.toml +++ b/src/common/grpc/Cargo.toml @@ -11,6 +11,7 @@ databend-common-base = { workspace = true } databend-common-exception = { workspace = true } anyerror = { workspace = true } +databend-workspace-hack = { workspace = true } hickory-resolver = { workspace = true } hyper = { workspace = true } hyper-util = { workspace = true } @@ -20,9 +21,9 @@ serde = { workspace = true } thiserror = { workspace = true } tonic = { workspace = true } tower-service = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } -[build-dependencies] +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [features] mocks = [] diff --git a/src/common/hashtable/Cargo.toml b/src/common/hashtable/Cargo.toml index f040564be59b4..460910e8d8cdc 100644 --- a/src/common/hashtable/Cargo.toml +++ b/src/common/hashtable/Cargo.toml @@ -13,11 +13,14 @@ databend-common-column = { workspace = true } ahash = { workspace = true, features = ["no-rng"] } bumpalo = { workspace = true } cfg-if = { workspace = true } +databend-workspace-hack = { workspace = true } ethnum = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] rand = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/src/common/http/Cargo.toml b/src/common/http/Cargo.toml index 3613c89c52ba9..e4246d0cbfcde 100644 --- a/src/common/http/Cargo.toml +++ b/src/common/http/Cargo.toml @@ -13,6 +13,7 @@ memory-profiling = ["tempfile"] anyerror = { workspace = true } databend-common-base = { workspace = true } databend-common-exception = { workspace = true } +databend-workspace-hack = { workspace = true } futures = { workspace = true } http = { workspace = true } log = { workspace = true } @@ -20,10 +21,12 @@ poem = { workspace = true } serde = { workspace = true } tempfile = { workspace = true, optional = true } thiserror = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] pretty_assertions = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/src/common/io/Cargo.toml b/src/common/io/Cargo.toml index 768c42cfc1d37..4d0731e9ab080 100644 --- a/src/common/io/Cargo.toml +++ b/src/common/io/Cargo.toml @@ -14,6 +14,7 @@ chrono = { workspace = true } chrono-tz = { workspace = true } databend-common-base = { workspace = true } databend-common-exception = { workspace = true } +databend-workspace-hack = { workspace = true } enquote = { workspace = true } enumflags2 = { workspace = true } ethnum = { workspace = true } @@ -27,11 +28,13 @@ roaring = { workspace = true, features = ["serde"] } scroll = { workspace = true } serde = { workspace = true } wkt = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] aho-corasick = { workspace = true } rmp-serde = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/src/common/license/Cargo.toml b/src/common/license/Cargo.toml index 1003294382b1b..5c695c67da0e1 100644 --- a/src/common/license/Cargo.toml +++ b/src/common/license/Cargo.toml @@ -9,11 +9,14 @@ edition = { workspace = true } [dependencies] databend-common-base = { workspace = true } databend-common-exception = { workspace = true } +databend-workspace-hack = { workspace = true } display-more = { workspace = true } jwt-simple = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/common/metrics/Cargo.toml b/src/common/metrics/Cargo.toml index 59a9a5d5d15e5..46642d544fa6c 100644 --- a/src/common/metrics/Cargo.toml +++ b/src/common/metrics/Cargo.toml @@ -8,8 +8,8 @@ edition = { workspace = true } [dependencies] databend-common-base = { workspace = true } +databend-workspace-hack = { workspace = true } prometheus-client = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [target.'cfg(target_os = "linux")'.dependencies] procfs = { workspace = true } @@ -17,5 +17,8 @@ procfs = { workspace = true } [dev-dependencies] anyhow = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/src/common/native/Cargo.toml b/src/common/native/Cargo.toml index f6704d173b07b..4481c2a522457 100644 --- a/src/common/native/Cargo.toml +++ b/src/common/native/Cargo.toml @@ -17,6 +17,7 @@ bitpacking = { workspace = true } bytemuck = { workspace = true } byteorder = { workspace = true } bytes = { workspace = true } +databend-workspace-hack = { workspace = true } env_logger = { workspace = true } hashbrown_v0_14 = { workspace = true } log = { workspace = true } @@ -31,13 +32,12 @@ serde = { workspace = true, features = ["rc"] } serde_json = { workspace = true } snap = { workspace = true } zstd = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] # used to test async readers [package.metadata.cargo-machete] -ignored = ["match-template"] +ignored = ["match-template", "databend-workspace-hack"] [lints] workspace = true diff --git a/src/common/openai/Cargo.toml b/src/common/openai/Cargo.toml index fa3b38b289fa7..4e1224c5cdfa7 100644 --- a/src/common/openai/Cargo.toml +++ b/src/common/openai/Cargo.toml @@ -11,11 +11,12 @@ edition = { workspace = true } [dependencies] databend-common-exception = { workspace = true } databend-common-metrics = { workspace = true } +databend-workspace-hack = { workspace = true } log = { workspace = true } openai_api_rust = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } -[dev-dependencies] +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/common/storage/Cargo.toml b/src/common/storage/Cargo.toml index c4efea9b1520b..7c766ffaf1ebb 100644 --- a/src/common/storage/Cargo.toml +++ b/src/common/storage/Cargo.toml @@ -24,6 +24,7 @@ databend-common-meta-app = { workspace = true } databend-common-metrics = { workspace = true } databend-common-native = { workspace = true } databend-enterprise-storage-encryption = { workspace = true } +databend-workspace-hack = { workspace = true } futures = { workspace = true } http = { workspace = true } iceberg = { workspace = true } @@ -37,9 +38,9 @@ reqwest = { workspace = true } serde = { workspace = true } thiserror = { workspace = true } url = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } -[dev-dependencies] +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/common/tracing/Cargo.toml b/src/common/tracing/Cargo.toml index d4bfead74c779..5d9500e93ca48 100644 --- a/src/common/tracing/Cargo.toml +++ b/src/common/tracing/Cargo.toml @@ -17,6 +17,7 @@ concurrent-queue = { workspace = true } databend-common-base = { workspace = true } databend-common-exception = { workspace = true } databend-common-meta-app-storage = { workspace = true } +databend-workspace-hack = { workspace = true } defer = { workspace = true } fastrace = { workspace = true } fastrace-opentelemetry = { workspace = true } @@ -33,9 +34,9 @@ serde = { workspace = true } serde_json = { workspace = true } toml = { workspace = true } tonic = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } -[dev-dependencies] +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/common/vector/Cargo.toml b/src/common/vector/Cargo.toml index bd3abf9a3c136..ecba71b74cab7 100644 --- a/src/common/vector/Cargo.toml +++ b/src/common/vector/Cargo.toml @@ -8,11 +8,14 @@ edition = { workspace = true } [dependencies] databend-common-exception = { workspace = true } +databend-workspace-hack = { workspace = true } ndarray = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] approx = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/src/common/version/Cargo.toml b/src/common/version/Cargo.toml index d179da4babd02..ef2379ef43ad9 100644 --- a/src/common/version/Cargo.toml +++ b/src/common/version/Cargo.toml @@ -7,11 +7,14 @@ publish = { workspace = true } edition = { workspace = true } [dependencies] +databend-workspace-hack = { workspace = true } semver = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [build-dependencies] databend-common-building = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/src/meta/api/Cargo.toml b/src/meta/api/Cargo.toml index e4f746997bce5..4fc01f4ca770c 100644 --- a/src/meta/api/Cargo.toml +++ b/src/meta/api/Cargo.toml @@ -21,6 +21,7 @@ databend-common-meta-kvapi = { workspace = true } databend-common-meta-stoerr = { workspace = true } databend-common-meta-types = { workspace = true } databend-common-proto-conv = { workspace = true } +databend-workspace-hack = { workspace = true } display-more = { workspace = true } fastrace = { workspace = true } futures = { workspace = true } @@ -36,9 +37,9 @@ serde_json = { workspace = true } thiserror = { workspace = true } tokio = { workspace = true } tonic = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } -[dev-dependencies] +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/meta/app-storage/Cargo.toml b/src/meta/app-storage/Cargo.toml index 681132cb07724..b0bc281fd778d 100644 --- a/src/meta/app-storage/Cargo.toml +++ b/src/meta/app-storage/Cargo.toml @@ -9,9 +9,12 @@ edition.workspace = true [dependencies] databend-common-base = { workspace = true } databend-common-exception = { workspace = true } +databend-workspace-hack = { workspace = true } opendal = { workspace = true } serde = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/meta/app-types/Cargo.toml b/src/meta/app-types/Cargo.toml index 9e96b36ff29aa..9766a858812ff 100644 --- a/src/meta/app-types/Cargo.toml +++ b/src/meta/app-types/Cargo.toml @@ -7,16 +7,16 @@ publish = { workspace = true } edition = { workspace = true } [dependencies] +databend-workspace-hack = { workspace = true } num-derive = { workspace = true } prost = { workspace = true } serde = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] anyhow = { workspace = true } [package.metadata.cargo-machete] -ignored = ["num-derive", "prost"] +ignored = ["num-derive", "prost", "databend-workspace-hack"] [lints] workspace = true diff --git a/src/meta/app/Cargo.toml b/src/meta/app/Cargo.toml index 7b3240cc364f3..83a889629a295 100644 --- a/src/meta/app/Cargo.toml +++ b/src/meta/app/Cargo.toml @@ -20,6 +20,7 @@ databend-common-meta-app-storage = { workspace = true } databend-common-meta-app-types = { workspace = true } databend-common-meta-kvapi = { workspace = true } databend-common-meta-types = { workspace = true } +databend-workspace-hack = { workspace = true } derive_more = { workspace = true } display-more = { workspace = true } enumflags2 = { workspace = true } @@ -35,13 +36,12 @@ serde_json = { workspace = true } sha1 = { workspace = true } sha2 = { workspace = true } thiserror = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] anyhow = { workspace = true } [package.metadata.cargo-machete] -ignored = ["num-traits"] +ignored = ["num-traits", "databend-workspace-hack"] [lints] workspace = true diff --git a/src/meta/binaries/Cargo.toml b/src/meta/binaries/Cargo.toml index 76cc504a7e924..fa0fee56ecc3d 100644 --- a/src/meta/binaries/Cargo.toml +++ b/src/meta/binaries/Cargo.toml @@ -43,6 +43,7 @@ anyerror = { workspace = true } anyhow = { workspace = true } chrono = { workspace = true } clap = { workspace = true } +databend-workspace-hack = { workspace = true } display-more = { workspace = true } fastrace = { workspace = true } futures = { workspace = true } @@ -51,7 +52,9 @@ rand = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } tokio = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [[bin]] name = "databend-meta" diff --git a/src/meta/cache/Cargo.toml b/src/meta/cache/Cargo.toml index aed329184be31..88eaf70b85972 100644 --- a/src/meta/cache/Cargo.toml +++ b/src/meta/cache/Cargo.toml @@ -25,15 +25,18 @@ async-trait = { workspace = true } databend-common-base = { workspace = true } databend-common-meta-client = { workspace = true } databend-common-meta-types = { workspace = true } +databend-workspace-hack = { workspace = true } futures = { workspace = true } log = { workspace = true } sub-cache = { workspace = true } tonic = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] anyhow = { workspace = true } pretty_assertions = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/src/meta/client/Cargo.toml b/src/meta/client/Cargo.toml index 44da1729b7028..5fc38ae73f70f 100644 --- a/src/meta/client/Cargo.toml +++ b/src/meta/client/Cargo.toml @@ -22,6 +22,7 @@ databend-common-meta-types = { workspace = true } databend-common-metrics = { workspace = true } databend-common-tracing = { workspace = true } databend-common-version = { workspace = true } +databend-workspace-hack = { workspace = true } derive_more = { workspace = true } display-more = { workspace = true } fastrace = { workspace = true } @@ -37,7 +38,6 @@ serde = { workspace = true } serde_json = { workspace = true } thiserror = { workspace = true } tonic = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] anyhow = { workspace = true } @@ -45,5 +45,8 @@ databend-common-exception = { workspace = true } pretty_assertions = { workspace = true } rand = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/src/meta/control/Cargo.toml b/src/meta/control/Cargo.toml index e0302254ccefe..c1b7da7fcfb3d 100644 --- a/src/meta/control/Cargo.toml +++ b/src/meta/control/Cargo.toml @@ -19,6 +19,7 @@ databend-meta = { workspace = true } anyhow = { workspace = true } clap = { workspace = true } +databend-workspace-hack = { workspace = true } futures = { workspace = true } raft-log = { workspace = true } reqwest = { workspace = true } @@ -27,7 +28,6 @@ serde_json = { workspace = true } tokio = { workspace = true } tokio-stream = { workspace = true } url = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] anyhow = { workspace = true } @@ -35,5 +35,8 @@ anyhow = { workspace = true } [build-dependencies] databend-common-building = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/src/meta/ee/Cargo.toml b/src/meta/ee/Cargo.toml index af53c45f9841a..e7da5d7eb09b2 100644 --- a/src/meta/ee/Cargo.toml +++ b/src/meta/ee/Cargo.toml @@ -8,7 +8,10 @@ publish = { workspace = true } edition = { workspace = true } [dependencies] -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } +databend-workspace-hack = { workspace = true } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/meta/kvapi-test-suite/Cargo.toml b/src/meta/kvapi-test-suite/Cargo.toml index 54f3767f9c077..964a637ddec50 100644 --- a/src/meta/kvapi-test-suite/Cargo.toml +++ b/src/meta/kvapi-test-suite/Cargo.toml @@ -12,12 +12,15 @@ edition = { workspace = true } anyhow = { workspace = true } databend-common-meta-kvapi = { workspace = true } databend-common-meta-types = { workspace = true } +databend-workspace-hack = { workspace = true } display-more = { workspace = true } fastrace = { workspace = true } log = { workspace = true } state-machine-api = { workspace = true } tokio = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/meta/kvapi/Cargo.toml b/src/meta/kvapi/Cargo.toml index e8327b0b2057b..58e110aec7590 100644 --- a/src/meta/kvapi/Cargo.toml +++ b/src/meta/kvapi/Cargo.toml @@ -13,12 +13,15 @@ anyhow = { workspace = true } async-trait = { workspace = true } databend-common-meta-app-types = { workspace = true } databend-common-meta-types = { workspace = true } +databend-workspace-hack = { workspace = true } display-more = { workspace = true } futures-util = { workspace = true } log = { workspace = true } serde = { workspace = true } thiserror = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/meta/process/Cargo.toml b/src/meta/process/Cargo.toml index 4890d7a4adb6f..3a4c5d7513a2d 100644 --- a/src/meta/process/Cargo.toml +++ b/src/meta/process/Cargo.toml @@ -18,11 +18,14 @@ databend-common-meta-types = { workspace = true } databend-common-proto-conv = { workspace = true } databend-common-protos = { workspace = true } databend-common-tracing = { workspace = true } +databend-workspace-hack = { workspace = true } openraft = { workspace = true } prost = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/meta/proto-conv/Cargo.toml b/src/meta/proto-conv/Cargo.toml index ce15798ff51d3..2a692706082fc 100644 --- a/src/meta/proto-conv/Cargo.toml +++ b/src/meta/proto-conv/Cargo.toml @@ -14,12 +14,15 @@ databend-common-meta-app = { workspace = true } databend-common-meta-app-types = { workspace = true } databend-common-meta-types = { workspace = true } databend-common-protos = { workspace = true } +databend-workspace-hack = { workspace = true } enumflags2 = { workspace = true } fastrace = { workspace = true } num = { workspace = true } prost = { workspace = true } thiserror = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [build-dependencies] diff --git a/src/meta/protos/Cargo.toml b/src/meta/protos/Cargo.toml index 97428cb317318..a7795e9264f3e 100644 --- a/src/meta/protos/Cargo.toml +++ b/src/meta/protos/Cargo.toml @@ -7,11 +7,11 @@ publish = { workspace = true } edition = { workspace = true } [dependencies] +databend-workspace-hack = { workspace = true } num-derive = { workspace = true } num-traits = { workspace = true } prost = { workspace = true } tonic = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [build-dependencies] lenient_semver = { workspace = true } @@ -19,10 +19,8 @@ prost-build = { workspace = true } semver = { workspace = true } tonic-build = { workspace = true } -[dev-dependencies] - [package.metadata.cargo-machete] -ignored = ["num-derive", "num-traits"] +ignored = ["num-derive", "num-traits", "databend-workspace-hack"] [lints] workspace = true diff --git a/src/meta/raft-store/Cargo.toml b/src/meta/raft-store/Cargo.toml index f28b4b0e2a33a..239fc24aa9d48 100644 --- a/src/meta/raft-store/Cargo.toml +++ b/src/meta/raft-store/Cargo.toml @@ -22,6 +22,7 @@ databend-common-meta-sled-store = { workspace = true } databend-common-meta-stoerr = { workspace = true } databend-common-meta-types = { workspace = true } databend-common-version = { workspace = true } +databend-workspace-hack = { workspace = true } deepsize = { workspace = true } derive_more = { workspace = true } display-more = { workspace = true } @@ -49,7 +50,6 @@ strum = { workspace = true } strum_macros = { workspace = true } thiserror = { workspace = true } tokio = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] databend-common-base = { workspace = true } @@ -57,5 +57,8 @@ pretty_assertions = { workspace = true } tempfile = { workspace = true } tokio = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/src/meta/semaphore/Cargo.toml b/src/meta/semaphore/Cargo.toml index 44b101754f02c..efbee7b927a94 100644 --- a/src/meta/semaphore/Cargo.toml +++ b/src/meta/semaphore/Cargo.toml @@ -19,6 +19,7 @@ databend-common-base = { workspace = true } databend-common-meta-client = { workspace = true } databend-common-meta-kvapi = { workspace = true } databend-common-meta-types = { workspace = true } +databend-workspace-hack = { workspace = true } display-more = { workspace = true } futures = { workspace = true } itertools = { workspace = true } @@ -27,11 +28,13 @@ seq-marked = { workspace = true } thiserror = { workspace = true } tokio = { workspace = true } tonic = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] anyhow = { workspace = true } pretty_assertions = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/src/meta/service/Cargo.toml b/src/meta/service/Cargo.toml index d1bc8cb995e51..f7133b0537419 100644 --- a/src/meta/service/Cargo.toml +++ b/src/meta/service/Cargo.toml @@ -35,6 +35,7 @@ databend-common-meta-types = { workspace = true } databend-common-metrics = { workspace = true } databend-common-tracing = { workspace = true } databend-common-version = { workspace = true } +databend-workspace-hack = { workspace = true } deepsize = { workspace = true } derive_more = { workspace = true } display-more = { workspace = true } @@ -62,7 +63,6 @@ tokio-stream = { workspace = true } tonic = { workspace = true } tonic-reflection = { workspace = true } watcher = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] databend-common-meta-cache = { workspace = true } @@ -77,5 +77,8 @@ temp-env = { workspace = true } tempfile = { workspace = true } test-harness = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/src/meta/sled-store/Cargo.toml b/src/meta/sled-store/Cargo.toml index 526c7c98c120d..ed17ee8ee1ceb 100644 --- a/src/meta/sled-store/Cargo.toml +++ b/src/meta/sled-store/Cargo.toml @@ -15,6 +15,7 @@ anyerror = { workspace = true } byteorder = { workspace = true } databend-common-meta-stoerr = { workspace = true } databend-common-meta-types = { workspace = true } +databend-workspace-hack = { workspace = true } fastrace = { workspace = true } log = { workspace = true } openraft = { workspace = true } @@ -24,7 +25,9 @@ sled = { workspace = true } state-machine-api = { workspace = true } tempfile = { workspace = true } thiserror = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [dev-dependencies] anyhow = { workspace = true } diff --git a/src/meta/stoerr/Cargo.toml b/src/meta/stoerr/Cargo.toml index c6b1456554c5f..c3b5d24c87f21 100644 --- a/src/meta/stoerr/Cargo.toml +++ b/src/meta/stoerr/Cargo.toml @@ -9,10 +9,13 @@ edition = { workspace = true } [dependencies] anyerror = { workspace = true } databend-common-exception = { workspace = true } +databend-workspace-hack = { workspace = true } serde_json = { workspace = true } sled = { workspace = true } thiserror = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/meta/store/Cargo.toml b/src/meta/store/Cargo.toml index 5966cbb7cc69a..4140f3f213738 100644 --- a/src/meta/store/Cargo.toml +++ b/src/meta/store/Cargo.toml @@ -21,12 +21,15 @@ databend-common-meta-kvapi-test-suite = { workspace = true } databend-common-meta-semaphore = { workspace = true } databend-common-meta-types = { workspace = true } databend-meta = { workspace = true } +databend-workspace-hack = { workspace = true } log = { workspace = true } tempfile = { workspace = true } tokio = { workspace = true } tokio-stream = { workspace = true } tonic = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/meta/types/Cargo.toml b/src/meta/types/Cargo.toml index 08148e7857131..89086927b1ffd 100644 --- a/src/meta/types/Cargo.toml +++ b/src/meta/types/Cargo.toml @@ -11,6 +11,7 @@ anyerror = { workspace = true } databend-common-exception = { workspace = true } databend-common-meta-stoerr = { workspace = true } databend-common-tracing = { workspace = true } +databend-workspace-hack = { workspace = true } deepsize = { workspace = true } derive_more = { workspace = true } display-more = { workspace = true } @@ -28,7 +29,6 @@ serde_json = { workspace = true } state-machine-api = { workspace = true } thiserror = { workspace = true } tonic = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [build-dependencies] prost-build = { workspace = true } @@ -38,7 +38,7 @@ tonic-build = { workspace = true } anyhow = { workspace = true } [package.metadata.cargo-machete] -ignored = ["num-derive", "prost"] +ignored = ["num-derive", "prost", "databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/ast/Cargo.toml b/src/query/ast/Cargo.toml index 8f5939559be97..443455f377455 100644 --- a/src/query/ast/Cargo.toml +++ b/src/query/ast/Cargo.toml @@ -9,6 +9,7 @@ edition = { workspace = true } repository = "https://github.com/datafuselabs/databend/tree/main/src/query/ast" [dependencies] +databend-workspace-hack = { workspace = true } derive-visitor = { workspace = true } educe = { workspace = true } enum-as-inner = { workspace = true } @@ -33,12 +34,14 @@ strum = { workspace = true } strum_macros = { workspace = true } unindent = { workspace = true } url = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] divan = { workspace = true } goldenfile = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [[bench]] name = "bench" harness = false diff --git a/src/query/catalog/Cargo.toml b/src/query/catalog/Cargo.toml index c22ff31d8a803..8fe60d162ef8b 100644 --- a/src/query/catalog/Cargo.toml +++ b/src/query/catalog/Cargo.toml @@ -29,6 +29,7 @@ databend-common-storage = { workspace = true } databend-common-users = { workspace = true } databend-storages-common-session = { workspace = true } databend-storages-common-table-meta = { workspace = true } +databend-workspace-hack = { workspace = true } dyn-clone = { workspace = true } log = { workspace = true } parking_lot = { workspace = true } @@ -40,11 +41,13 @@ sha2 = { workspace = true } thrift = { workspace = true } typetag = { workspace = true } xorf = { workspace = true, default-features = false, features = ["binary-fuse"] } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] goldenfile = { workspace = true } maplit = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/src/query/codegen/Cargo.toml b/src/query/codegen/Cargo.toml index 6429225b50f16..17e482196a5bb 100644 --- a/src/query/codegen/Cargo.toml +++ b/src/query/codegen/Cargo.toml @@ -12,8 +12,11 @@ path = "src/bin/codegen.rs" [dependencies] databend-common-expression = { workspace = true } +databend-workspace-hack = { workspace = true } itertools = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/config/Cargo.toml b/src/query/config/Cargo.toml index dce8900b365b1..18759341bd92d 100644 --- a/src/query/config/Cargo.toml +++ b/src/query/config/Cargo.toml @@ -12,9 +12,6 @@ edition = { workspace = true } default = [] storage-hdfs = ["databend-common-storage/storage-hdfs"] -[package.metadata.cargo-machete] -ignored = ["strum"] - [dependencies] anyhow = { workspace = true } clap = { workspace = true } @@ -24,17 +21,20 @@ databend-common-grpc = { workspace = true } databend-common-meta-app = { workspace = true } databend-common-storage = { workspace = true } databend-common-tracing = { workspace = true } +databend-workspace-hack = { workspace = true } log = { workspace = true } serde = { workspace = true } serde_ignored = { workspace = true } serde_with = { workspace = true } serfig = { workspace = true } toml = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] pretty_assertions = { workspace = true } tempfile = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["strum", "databend-workspace-hack"] + [lints] workspace = true diff --git a/src/query/datavalues/Cargo.toml b/src/query/datavalues/Cargo.toml index 087df0ceaf5af..87c92d197d472 100644 --- a/src/query/datavalues/Cargo.toml +++ b/src/query/datavalues/Cargo.toml @@ -7,13 +7,14 @@ publish = { workspace = true } edition = { workspace = true } [dependencies] +databend-workspace-hack = { workspace = true } enum-as-inner = { workspace = true } enum_dispatch = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } -[dev-dependencies] +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/ee/Cargo.toml b/src/query/ee/Cargo.toml index 2ec1c39157c45..7b5b56b218066 100644 --- a/src/query/ee/Cargo.toml +++ b/src/query/ee/Cargo.toml @@ -53,6 +53,7 @@ databend-storages-common-cache = { workspace = true } databend-storages-common-io = { workspace = true } databend-storages-common-pruner = { workspace = true } databend-storages-common-table-meta = { workspace = true } +databend-workspace-hack = { workspace = true } derive-visitor = { workspace = true } futures = { workspace = true } futures-util = { workspace = true } @@ -61,11 +62,13 @@ log = { workspace = true } opendal = { workspace = true } tempfile = { workspace = true } uuid = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] jsonb = { workspace = true } tantivy = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/src/query/ee_features/aggregating_index/Cargo.toml b/src/query/ee_features/aggregating_index/Cargo.toml index dcab94b7b6fb1..0c2ec7d4aa816 100644 --- a/src/query/ee_features/aggregating_index/Cargo.toml +++ b/src/query/ee_features/aggregating_index/Cargo.toml @@ -14,9 +14,10 @@ databend-common-base = { workspace = true } databend-common-catalog = { workspace = true } databend-common-exception = { workspace = true } databend-common-meta-app = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } +databend-workspace-hack = { workspace = true } -[build-dependencies] +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/ee_features/attach_table/Cargo.toml b/src/query/ee_features/attach_table/Cargo.toml index 22289dcf30abe..21da0806850a8 100644 --- a/src/query/ee_features/attach_table/Cargo.toml +++ b/src/query/ee_features/attach_table/Cargo.toml @@ -13,9 +13,10 @@ databend-common-base = { workspace = true } databend-common-exception = { workspace = true } databend-common-meta-app = { workspace = true } databend-common-sql = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } +databend-workspace-hack = { workspace = true } -[build-dependencies] +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/ee_features/data_mask/Cargo.toml b/src/query/ee_features/data_mask/Cargo.toml index 5af3a3bcd8096..3b42555fb0907 100644 --- a/src/query/ee_features/data_mask/Cargo.toml +++ b/src/query/ee_features/data_mask/Cargo.toml @@ -13,9 +13,10 @@ databend-common-base = { workspace = true } databend-common-exception = { workspace = true } databend-common-meta-app = { workspace = true } databend-common-meta-store = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } +databend-workspace-hack = { workspace = true } -[build-dependencies] +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/ee_features/fail_safe/Cargo.toml b/src/query/ee_features/fail_safe/Cargo.toml index dc5730eb3df59..c713073c06347 100644 --- a/src/query/ee_features/fail_safe/Cargo.toml +++ b/src/query/ee_features/fail_safe/Cargo.toml @@ -12,9 +12,10 @@ async-trait = { workspace = true } databend-common-base = { workspace = true } databend-common-exception = { workspace = true } databend-common-meta-app = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } +databend-workspace-hack = { workspace = true } -[build-dependencies] +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/ee_features/hilbert_clustering/Cargo.toml b/src/query/ee_features/hilbert_clustering/Cargo.toml index bc9a3ac9365b2..cc129f94b1efa 100644 --- a/src/query/ee_features/hilbert_clustering/Cargo.toml +++ b/src/query/ee_features/hilbert_clustering/Cargo.toml @@ -13,9 +13,10 @@ databend-common-base = { workspace = true } databend-common-catalog = { workspace = true } databend-common-exception = { workspace = true } databend-storages-common-table-meta = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } +databend-workspace-hack = { workspace = true } -[build-dependencies] +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/ee_features/resources_management/Cargo.toml b/src/query/ee_features/resources_management/Cargo.toml index fd165c00b66e3..27e6dc0d8fdc7 100644 --- a/src/query/ee_features/resources_management/Cargo.toml +++ b/src/query/ee_features/resources_management/Cargo.toml @@ -13,9 +13,10 @@ databend-common-config = { workspace = true } databend-common-exception = { workspace = true } databend-common-management = { workspace = true } databend-common-meta-types = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } +databend-workspace-hack = { workspace = true } -[build-dependencies] +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/ee_features/storage_encryption/Cargo.toml b/src/query/ee_features/storage_encryption/Cargo.toml index 789e4b89e1254..7ecc832b71e03 100644 --- a/src/query/ee_features/storage_encryption/Cargo.toml +++ b/src/query/ee_features/storage_encryption/Cargo.toml @@ -10,9 +10,10 @@ edition = { workspace = true } async-trait = { workspace = true } databend-common-base = { workspace = true } databend-common-exception = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } +databend-workspace-hack = { workspace = true } -[build-dependencies] +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/ee_features/storage_quota/Cargo.toml b/src/query/ee_features/storage_quota/Cargo.toml index 5b91510f747c6..28e61b7fd57d4 100644 --- a/src/query/ee_features/storage_quota/Cargo.toml +++ b/src/query/ee_features/storage_quota/Cargo.toml @@ -12,9 +12,10 @@ async-trait = { workspace = true } databend-common-base = { workspace = true } databend-common-exception = { workspace = true } databend-common-license = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } +databend-workspace-hack = { workspace = true } -[build-dependencies] +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/ee_features/stream_handler/Cargo.toml b/src/query/ee_features/stream_handler/Cargo.toml index d3326981a9bd9..f937113f997b0 100644 --- a/src/query/ee_features/stream_handler/Cargo.toml +++ b/src/query/ee_features/stream_handler/Cargo.toml @@ -14,9 +14,10 @@ databend-common-catalog = { workspace = true } databend-common-exception = { workspace = true } databend-common-meta-app = { workspace = true } databend-common-sql = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } +databend-workspace-hack = { workspace = true } -[build-dependencies] +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/ee_features/table_index/Cargo.toml b/src/query/ee_features/table_index/Cargo.toml index 5a0e7f4e6a1ba..b21d1798bef20 100644 --- a/src/query/ee_features/table_index/Cargo.toml +++ b/src/query/ee_features/table_index/Cargo.toml @@ -18,9 +18,10 @@ databend-common-meta-app = { workspace = true } databend-common-pipeline-core = { workspace = true } databend-common-storages-fuse = { workspace = true } databend-storages-common-table-meta = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } +databend-workspace-hack = { workspace = true } -[build-dependencies] +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/ee_features/vacuum_handler/Cargo.toml b/src/query/ee_features/vacuum_handler/Cargo.toml index 9fae1a9b713a7..75698cc46b4dc 100644 --- a/src/query/ee_features/vacuum_handler/Cargo.toml +++ b/src/query/ee_features/vacuum_handler/Cargo.toml @@ -13,9 +13,10 @@ async-trait = { workspace = true } databend-common-base = { workspace = true } databend-common-catalog = { workspace = true } databend-common-exception = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } +databend-workspace-hack = { workspace = true } -[build-dependencies] +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/ee_features/virtual_column/Cargo.toml b/src/query/ee_features/virtual_column/Cargo.toml index 92201ea3a4bc7..d9fbadb6f49ed 100644 --- a/src/query/ee_features/virtual_column/Cargo.toml +++ b/src/query/ee_features/virtual_column/Cargo.toml @@ -16,9 +16,10 @@ databend-common-catalog = { workspace = true } databend-common-exception = { workspace = true } databend-common-pipeline-core = { workspace = true } databend-common-storages-fuse = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } +databend-workspace-hack = { workspace = true } -[build-dependencies] +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/expression/Cargo.toml b/src/query/expression/Cargo.toml index 39daa9607ec85..37785827b6e25 100644 --- a/src/query/expression/Cargo.toml +++ b/src/query/expression/Cargo.toml @@ -29,6 +29,7 @@ databend-common-grpc = { workspace = true } databend-common-hashtable = { workspace = true } databend-common-io = { workspace = true } databend-common-metrics = { workspace = true } +databend-workspace-hack = { workspace = true } educe = { workspace = true } either = { workspace = true } enum-as-inner = { workspace = true } @@ -61,7 +62,6 @@ terminal_size = { workspace = true } tonic = { workspace = true } typetag = { workspace = true } unicode-segmentation = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] arrow-ord = { workspace = true } @@ -71,6 +71,9 @@ pretty_assertions = { workspace = true } proptest = { workspace = true } rand = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [[bench]] name = "bench" harness = false diff --git a/src/query/formats/Cargo.toml b/src/query/formats/Cargo.toml index a5de8ea1e676d..30758f40ee161 100644 --- a/src/query/formats/Cargo.toml +++ b/src/query/formats/Cargo.toml @@ -24,6 +24,7 @@ async-trait = { workspace = true } base64 = { workspace = true } bstr = { workspace = true } chrono-tz = { workspace = true } +databend-workspace-hack = { workspace = true } geozero = { workspace = true } goldenfile = { workspace = true } hex = { workspace = true } @@ -36,7 +37,6 @@ num = { workspace = true } num-traits = { workspace = true } roaring = { workspace = true, features = ["serde"] } serde_json = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] @@ -47,4 +47,4 @@ tokio = { workspace = true } workspace = true [package.metadata.cargo-machete] -ignored = ["match-template"] +ignored = ["match-template", "databend-workspace-hack"] diff --git a/src/query/functions/Cargo.toml b/src/query/functions/Cargo.toml index 95ef4312d1e9a..e4f316536d884 100644 --- a/src/query/functions/Cargo.toml +++ b/src/query/functions/Cargo.toml @@ -30,6 +30,7 @@ databend-functions-scalar-geo = { workspace = true } databend-functions-scalar-integer-basic-arithmetic = { workspace = true } databend-functions-scalar-math = { workspace = true } databend-functions-scalar-numeric-basic-arithmetic = { workspace = true } +databend-workspace-hack = { workspace = true } geo = { workspace = true } geohash = { workspace = true } geozero = { workspace = true } @@ -66,7 +67,6 @@ strength_reduce = { workspace = true } stringslice = { workspace = true } twox-hash = { workspace = true } unicase = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] comfy-table = { workspace = true } @@ -74,12 +74,12 @@ databend-common-ast = { workspace = true } divan = { workspace = true } goldenfile = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["md-5", "databend-workspace-hack"] + [[bench]] name = "bench" harness = false [lints] workspace = true - -[package.metadata.cargo-machete] -ignored = ["md-5"] diff --git a/src/query/functions/src/scalars/arithmetic/Cargo.toml b/src/query/functions/src/scalars/arithmetic/Cargo.toml index 519b59c3ede96..d558bd79f4d10 100644 --- a/src/query/functions/src/scalars/arithmetic/Cargo.toml +++ b/src/query/functions/src/scalars/arithmetic/Cargo.toml @@ -6,10 +6,10 @@ edition = "2021" [dependencies] databend-common-expression = { workspace = true } databend-functions-scalar-decimal = { workspace = true } +databend-workspace-hack = { workspace = true } lexical-core = { workspace = true } match-template = { workspace = true } num-traits = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../../../databend-workspace-hack" } [package.metadata.cargo-machete] -ignored = ["match-template"] +ignored = ["match-template", "databend-workspace-hack"] diff --git a/src/query/functions/src/scalars/decimal/Cargo.toml b/src/query/functions/src/scalars/decimal/Cargo.toml index 7d7fa1215dae7..887e1ad7bed51 100644 --- a/src/query/functions/src/scalars/decimal/Cargo.toml +++ b/src/query/functions/src/scalars/decimal/Cargo.toml @@ -6,10 +6,10 @@ edition = "2021" [dependencies] databend-common-base = { workspace = true } databend-common-expression = { workspace = true } +databend-workspace-hack = { workspace = true } jsonb = { workspace = true } match-template = { workspace = true } num-traits = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../../../databend-workspace-hack" } [package.metadata.cargo-machete] -ignored = ["match-template"] +ignored = ["match-template", "databend-workspace-hack"] diff --git a/src/query/functions/src/scalars/geographic/Cargo.toml b/src/query/functions/src/scalars/geographic/Cargo.toml index 9564389f96360..833bac76aa06e 100644 --- a/src/query/functions/src/scalars/geographic/Cargo.toml +++ b/src/query/functions/src/scalars/geographic/Cargo.toml @@ -7,6 +7,7 @@ edition = "2021" databend-common-exception = { workspace = true } databend-common-expression = { workspace = true } databend-common-io = { workspace = true } +databend-workspace-hack = { workspace = true } geo = { workspace = true } geohash = { workspace = true } geozero = { workspace = true } @@ -16,4 +17,6 @@ jsonb = { workspace = true } num-traits = { workspace = true } once_cell = { workspace = true } proj4rs = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] diff --git a/src/query/functions/src/scalars/integer_arithmetic/Cargo.toml b/src/query/functions/src/scalars/integer_arithmetic/Cargo.toml index d3adf29854bad..f9d66cfd77bb8 100644 --- a/src/query/functions/src/scalars/integer_arithmetic/Cargo.toml +++ b/src/query/functions/src/scalars/integer_arithmetic/Cargo.toml @@ -6,9 +6,9 @@ edition = "2021" [dependencies] databend-common-expression = { workspace = true } databend-functions-scalar-numeric-basic-arithmetic = { workspace = true } +databend-workspace-hack = { workspace = true } match-template = { workspace = true } num-traits = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../../../databend-workspace-hack" } [package.metadata.cargo-machete] -ignored = ["match-template"] +ignored = ["match-template", "databend-workspace-hack"] diff --git a/src/query/functions/src/scalars/mathematics/Cargo.toml b/src/query/functions/src/scalars/mathematics/Cargo.toml index b15f0148d48ec..10957144dd510 100644 --- a/src/query/functions/src/scalars/mathematics/Cargo.toml +++ b/src/query/functions/src/scalars/mathematics/Cargo.toml @@ -8,9 +8,9 @@ crc32fast = { workspace = true } databend-common-base = { workspace = true } databend-common-expression = { workspace = true } databend-functions-scalar-decimal = { workspace = true } +databend-workspace-hack = { workspace = true } match-template = { workspace = true } num-traits = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../../../databend-workspace-hack" } [package.metadata.cargo-machete] -ignored = ["match-template"] +ignored = ["match-template", "databend-workspace-hack"] diff --git a/src/query/functions/src/scalars/numeric_basic_arithmetic/Cargo.toml b/src/query/functions/src/scalars/numeric_basic_arithmetic/Cargo.toml index 3fcf1032cd56f..d6078cc9d174d 100644 --- a/src/query/functions/src/scalars/numeric_basic_arithmetic/Cargo.toml +++ b/src/query/functions/src/scalars/numeric_basic_arithmetic/Cargo.toml @@ -5,10 +5,10 @@ edition = "2021" [dependencies] databend-common-expression = { workspace = true } +databend-workspace-hack = { workspace = true } match-template = { workspace = true } num-traits = { workspace = true } strength_reduce = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../../../databend-workspace-hack" } [package.metadata.cargo-machete] -ignored = ["match-template"] +ignored = ["match-template", "databend-workspace-hack"] diff --git a/src/query/functions/src/scalars/timestamp/Cargo.toml b/src/query/functions/src/scalars/timestamp/Cargo.toml index 462946f89a820..d047df0158b3b 100644 --- a/src/query/functions/src/scalars/timestamp/Cargo.toml +++ b/src/query/functions/src/scalars/timestamp/Cargo.toml @@ -8,7 +8,10 @@ chrono = { workspace = true } databend-common-column = { workspace = true } databend-common-exception = { workspace = true } databend-common-expression = { workspace = true } +databend-workspace-hack = { workspace = true } dtparse = { workspace = true } jiff = { workspace = true } num-traits = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] diff --git a/src/query/management/Cargo.toml b/src/query/management/Cargo.toml index ade8df8d43581..6d748ee71bbab 100644 --- a/src/query/management/Cargo.toml +++ b/src/query/management/Cargo.toml @@ -21,6 +21,7 @@ databend-common-meta-store = { workspace = true } databend-common-meta-types = { workspace = true } databend-common-proto-conv = { workspace = true } databend-common-version = { workspace = true } +databend-workspace-hack = { workspace = true } enumflags2 = { workspace = true } fastrace = { workspace = true } futures = { workspace = true } @@ -30,10 +31,12 @@ seq-marked = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } thiserror = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] databend-common-expression = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/src/query/pipeline/core/Cargo.toml b/src/query/pipeline/core/Cargo.toml index 79c062ff28296..53e8ec6dbe277 100644 --- a/src/query/pipeline/core/Cargo.toml +++ b/src/query/pipeline/core/Cargo.toml @@ -12,17 +12,20 @@ async-trait = { workspace = true } databend-common-base = { workspace = true } databend-common-exception = { workspace = true } databend-common-expression = { workspace = true } +databend-workspace-hack = { workspace = true } fastrace = { workspace = true } futures = { workspace = true } log = { workspace = true } petgraph = { workspace = true } serde = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [dev-dependencies] serde = { workspace = true } tokio = { workspace = true } typetag = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/src/query/pipeline/sinks/Cargo.toml b/src/query/pipeline/sinks/Cargo.toml index dea29d30768ea..0b4812c93ee32 100644 --- a/src/query/pipeline/sinks/Cargo.toml +++ b/src/query/pipeline/sinks/Cargo.toml @@ -13,10 +13,13 @@ databend-common-base = { workspace = true } databend-common-exception = { workspace = true } databend-common-expression = { workspace = true } databend-common-pipeline-core = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } +databend-workspace-hack = { workspace = true } [dev-dependencies] tokio = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/src/query/pipeline/sources/Cargo.toml b/src/query/pipeline/sources/Cargo.toml index 76fbac09713ad..eec89ed12c8d7 100644 --- a/src/query/pipeline/sources/Cargo.toml +++ b/src/query/pipeline/sources/Cargo.toml @@ -14,9 +14,12 @@ databend-common-catalog = { workspace = true } databend-common-exception = { workspace = true } databend-common-expression = { workspace = true } databend-common-pipeline-core = { workspace = true } +databend-workspace-hack = { workspace = true } futures = { workspace = true } parking_lot = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/pipeline/transforms/Cargo.toml b/src/query/pipeline/transforms/Cargo.toml index 1b99756bb7f57..2339d56d13e92 100644 --- a/src/query/pipeline/transforms/Cargo.toml +++ b/src/query/pipeline/transforms/Cargo.toml @@ -13,13 +13,13 @@ databend-common-base = { workspace = true } databend-common-exception = { workspace = true } databend-common-expression = { workspace = true } databend-common-pipeline-core = { workspace = true } +databend-workspace-hack = { workspace = true } jsonb = { workspace = true } log = { workspace = true } match-template = { workspace = true } serde = { workspace = true } tokio = { workspace = true } typetag = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [dev-dependencies] itertools = { workspace = true } @@ -29,4 +29,4 @@ rand = { workspace = true } workspace = true [package.metadata.cargo-machete] -ignored = ["match-template"] +ignored = ["match-template", "databend-workspace-hack"] diff --git a/src/query/script/Cargo.toml b/src/query/script/Cargo.toml index 1974fb176629d..eff13d04d08b8 100644 --- a/src/query/script/Cargo.toml +++ b/src/query/script/Cargo.toml @@ -9,14 +9,17 @@ edition = { workspace = true } [dependencies] databend-common-ast = { workspace = true } databend-common-exception = { workspace = true } +databend-workspace-hack = { workspace = true } derive-visitor = { workspace = true } fastrace = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] goldenfile = { workspace = true } tokio = { workspace = true, features = ["macros", "rt", "rt-multi-thread", "sync"] } unindent = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/src/query/service/Cargo.toml b/src/query/service/Cargo.toml index b23270c991c59..ff4be2d292518 100644 --- a/src/query/service/Cargo.toml +++ b/src/query/service/Cargo.toml @@ -115,6 +115,7 @@ databend-storages-common-io = { workspace = true } databend-storages-common-session = { workspace = true } databend-storages-common-stage = { workspace = true } databend-storages-common-table-meta = { workspace = true } +databend-workspace-hack = { workspace = true } derive-visitor = { workspace = true } ethnum = { workspace = true } fastrace = { workspace = true } @@ -176,7 +177,6 @@ url = { workspace = true } uuid = { workspace = true } walkdir = { workspace = true } xorf = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] arrow-cast = { workspace = true } @@ -200,8 +200,8 @@ wiremock = { workspace = true } [build-dependencies] databend-common-building = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["match-template", "md-5", "databend-workspace-hack"] + [lints] workspace = true - -[package.metadata.cargo-machete] -ignored = ["match-template", "md-5"] diff --git a/src/query/settings/Cargo.toml b/src/query/settings/Cargo.toml index ea759d0c51f81..cef9154225500 100644 --- a/src/query/settings/Cargo.toml +++ b/src/query/settings/Cargo.toml @@ -17,18 +17,21 @@ databend-common-io = { workspace = true } databend-common-meta-app = { workspace = true } databend-common-users = { workspace = true } databend-common-version = { workspace = true } +databend-workspace-hack = { workspace = true } itertools = { workspace = true } log = { workspace = true } num_cpus = { workspace = true } once_cell = { workspace = true } serde = { workspace = true } sys-info = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] databend-common-base = { workspace = true } serde_json = { workspace = true } tokio = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/src/query/sql/Cargo.toml b/src/query/sql/Cargo.toml index a399e5b1f7b1c..4ce68e0f76372 100644 --- a/src/query/sql/Cargo.toml +++ b/src/query/sql/Cargo.toml @@ -48,6 +48,7 @@ cidr = { workspace = true } cron = { workspace = true } ctor = { workspace = true } dashmap = { workspace = true } +databend-workspace-hack = { workspace = true } derive-visitor = { workspace = true } educe = { workspace = true } enum-as-inner = { workspace = true } @@ -74,10 +75,12 @@ simsearch = { workspace = true } tokio = { workspace = true } unicase = { workspace = true } url = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] pretty_assertions = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/src/query/storages/common/blocks/Cargo.toml b/src/query/storages/common/blocks/Cargo.toml index 6923bdc1d9160..a3c8d7d86cfb9 100644 --- a/src/query/storages/common/blocks/Cargo.toml +++ b/src/query/storages/common/blocks/Cargo.toml @@ -10,11 +10,12 @@ edition = { workspace = true } databend-common-exception = { workspace = true } databend-common-expression = { workspace = true } databend-storages-common-table-meta = { workspace = true } +databend-workspace-hack = { workspace = true } parking_lot = { workspace = true } parquet = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../../databend-workspace-hack" } -[build-dependencies] +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/storages/common/cache/Cargo.toml b/src/query/storages/common/cache/Cargo.toml index 7431cd4abd52c..b8f4167371cfe 100644 --- a/src/query/storages/common/cache/Cargo.toml +++ b/src/query/storages/common/cache/Cargo.toml @@ -22,6 +22,7 @@ async-trait = { workspace = true } bytes = { workspace = true } crc32fast = { workspace = true } crossbeam-channel = { workspace = true } +databend-workspace-hack = { workspace = true } hex = { workspace = true } log = { workspace = true } parking_lot = { workspace = true } @@ -29,13 +30,15 @@ parquet = { workspace = true } rayon = { workspace = true } rustix = { workspace = true } siphasher = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../../databend-workspace-hack" } [dev-dependencies] divan = { workspace = true } mockall = { workspace = true } tempfile = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [[bench]] name = "read_cache_content" harness = false diff --git a/src/query/storages/common/index/Cargo.toml b/src/query/storages/common/index/Cargo.toml index 415b0c854a84f..8dedd34fd0982 100644 --- a/src/query/storages/common/index/Cargo.toml +++ b/src/query/storages/common/index/Cargo.toml @@ -6,9 +6,6 @@ license = { workspace = true } publish = { workspace = true } edition = { workspace = true } -[package.metadata.cargo-machete] -ignored = ["xorfilter-rs", "match-template"] - [dependencies] databend-common-ast = { workspace = true } databend-common-exception = { workspace = true } @@ -22,6 +19,7 @@ bitvec = { workspace = true } bytemuck = { workspace = true, features = ["derive", "extern_crate_alloc", "must_cast", "transparentwrapper_extra"] } bytes = { workspace = true } cbordata = { workspace = true } +databend-workspace-hack = { workspace = true } fastrace = { workspace = true } feistel-permutation-rs = { workspace = true } goldenfile = { workspace = true } @@ -47,13 +45,14 @@ tantivy-fst = { workspace = true } thiserror = { workspace = true } xorfilter-rs = { workspace = true, features = ["cbordata"] } zerocopy = { workspace = true, features = ["derive"] } -databend-workspace-hack = { version = "0.1", path = "../../../../../databend-workspace-hack" } [dev-dependencies] divan = { workspace = true } - rand = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["xorfilter-rs", "match-template", "databend-workspace-hack"] + [[bench]] name = "build_from_block" harness = false diff --git a/src/query/storages/common/io/Cargo.toml b/src/query/storages/common/io/Cargo.toml index e14364b7d59f0..62891656a216f 100644 --- a/src/query/storages/common/io/Cargo.toml +++ b/src/query/storages/common/io/Cargo.toml @@ -14,11 +14,14 @@ databend-common-catalog = { workspace = true } databend-common-exception = { workspace = true } databend-common-expression = { workspace = true } databend-common-metrics = { workspace = true } +databend-workspace-hack = { workspace = true } fastrace = { workspace = true } futures = { workspace = true } log = { workspace = true } opendal = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/storages/common/pruner/Cargo.toml b/src/query/storages/common/pruner/Cargo.toml index a767e828e8bf6..62fb7c8815644 100644 --- a/src/query/storages/common/pruner/Cargo.toml +++ b/src/query/storages/common/pruner/Cargo.toml @@ -12,10 +12,13 @@ databend-common-expression = { workspace = true } databend-common-functions = { workspace = true } databend-storages-common-index = { workspace = true } databend-storages-common-table-meta = { workspace = true } +databend-workspace-hack = { workspace = true } log = { workspace = true } serde = { workspace = true } typetag = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/storages/common/session/Cargo.toml b/src/query/storages/common/session/Cargo.toml index a7a639966e5e1..ffa121a21c798 100644 --- a/src/query/storages/common/session/Cargo.toml +++ b/src/query/storages/common/session/Cargo.toml @@ -7,19 +7,21 @@ publish = { workspace = true } edition = { workspace = true } [dependencies] +chrono = { workspace = true } databend-common-exception = { workspace = true } databend-common-meta-app = { workspace = true } databend-common-meta-types = { workspace = true } databend-common-storage = { workspace = true } databend-storages-common-blocks = { workspace = true } databend-storages-common-table-meta = { workspace = true } - -chrono = { workspace = true } +databend-workspace-hack = { workspace = true } log = { workspace = true } parking_lot = { workspace = true } serde = { workspace = true, features = ["derive"] } uuid = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/storages/common/stage/Cargo.toml b/src/query/storages/common/stage/Cargo.toml index 40b523a5a6888..9aad6d4621790 100644 --- a/src/query/storages/common/stage/Cargo.toml +++ b/src/query/storages/common/stage/Cargo.toml @@ -13,9 +13,12 @@ databend-common-exception = { workspace = true } databend-common-expression = { workspace = true } databend-common-functions = { workspace = true } databend-common-meta-app = { workspace = true } +databend-workspace-hack = { workspace = true } serde = { workspace = true } typetag = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/storages/common/table_meta/Cargo.toml b/src/query/storages/common/table_meta/Cargo.toml index 65d3f953d39cc..55af744de38d7 100644 --- a/src/query/storages/common/table_meta/Cargo.toml +++ b/src/query/storages/common/table_meta/Cargo.toml @@ -24,6 +24,7 @@ databend-common-functions = { workspace = true } databend-common-io = { workspace = true } databend-common-native = { workspace = true } databend-common-storage = { workspace = true } +databend-workspace-hack = { workspace = true } enum-as-inner = { workspace = true } log = { workspace = true } parquet = { workspace = true } @@ -34,7 +35,9 @@ simple_hll = { workspace = true, features = ["serde_borsh"] } snap = { workspace = true, optional = true } typetag = { workspace = true } zstd = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/storages/delta/Cargo.toml b/src/query/storages/delta/Cargo.toml index 1f2c47bf04dd9..5caec2b80fc4a 100644 --- a/src/query/storages/delta/Cargo.toml +++ b/src/query/storages/delta/Cargo.toml @@ -22,6 +22,7 @@ databend-storages-common-table-meta = { workspace = true } arrow-schema = { workspace = true } async-backtrace = { workspace = true } async-trait = { workspace = true } +databend-workspace-hack = { workspace = true } deltalake = { workspace = true } fastrace = { workspace = true } object_store_opendal = { workspace = true } @@ -31,10 +32,9 @@ serde_json = { workspace = true } tokio = { workspace = true } typetag = { workspace = true } url = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["match-template", "opendal", "databend-workspace-hack"] [lints] workspace = true - -[package.metadata.cargo-machete] -ignored = ["match-template", "opendal"] diff --git a/src/query/storages/factory/Cargo.toml b/src/query/storages/factory/Cargo.toml index 1e8bc220bde38..6a022299d0729 100644 --- a/src/query/storages/factory/Cargo.toml +++ b/src/query/storages/factory/Cargo.toml @@ -21,7 +21,10 @@ databend-common-storages-random = { workspace = true } databend-common-storages-stream = { workspace = true } databend-common-storages-view = { workspace = true } databend-storages-common-index = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } +databend-workspace-hack = { workspace = true } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/storages/fuse/Cargo.toml b/src/query/storages/fuse/Cargo.toml index 9ab04fc091f2f..8800ea61018c2 100644 --- a/src/query/storages/fuse/Cargo.toml +++ b/src/query/storages/fuse/Cargo.toml @@ -49,6 +49,7 @@ async-trait = { workspace = true } backoff = { workspace = true, features = ["futures", "tokio"] } bytes = { workspace = true } chrono = { workspace = true } +databend-workspace-hack = { workspace = true } enum-as-inner = { workspace = true } fastrace = { workspace = true } futures = { workspace = true } @@ -74,7 +75,6 @@ thrift = { workspace = true } typetag = { workspace = true } uuid = { workspace = true } xorf = { workspace = true, default-features = false, features = ["binary-fuse"] } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [dev-dependencies] divan = { workspace = true } @@ -88,4 +88,4 @@ harness = false workspace = true [package.metadata.cargo-machete] -ignored = ["match-template"] +ignored = ["match-template", "databend-workspace-hack"] diff --git a/src/query/storages/hive/hive/Cargo.toml b/src/query/storages/hive/hive/Cargo.toml index bff9091b4f551..a02c6b6a54265 100644 --- a/src/query/storages/hive/hive/Cargo.toml +++ b/src/query/storages/hive/hive/Cargo.toml @@ -25,6 +25,7 @@ databend-common-storage = { workspace = true } databend-common-storages-parquet = { workspace = true } databend-storages-common-pruner = { workspace = true } databend-storages-common-table-meta = { workspace = true } +databend-workspace-hack = { workspace = true } fastrace = { workspace = true } faststr = { workspace = true } futures = { workspace = true } @@ -36,7 +37,9 @@ recursive = { workspace = true } serde = { workspace = true } typetag = { workspace = true } volo-thrift = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/storages/iceberg/Cargo.toml b/src/query/storages/iceberg/Cargo.toml index 3dc7942954cb6..7a6aae034acde 100644 --- a/src/query/storages/iceberg/Cargo.toml +++ b/src/query/storages/iceberg/Cargo.toml @@ -27,6 +27,7 @@ databend-common-storages-parquet = { workspace = true } databend-storages-common-cache = { workspace = true } databend-storages-common-stage = { workspace = true } databend-storages-common-table-meta = { workspace = true } +databend-workspace-hack = { workspace = true } educe = { workspace = true } fastrace = { workspace = true } futures = { workspace = true } @@ -39,7 +40,9 @@ log = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } uuid = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/storages/information_schema/Cargo.toml b/src/query/storages/information_schema/Cargo.toml index 48e0593dde6d7..9bd642c3311f6 100644 --- a/src/query/storages/information_schema/Cargo.toml +++ b/src/query/storages/information_schema/Cargo.toml @@ -12,7 +12,10 @@ databend-common-catalog = { workspace = true } databend-common-meta-app = { workspace = true } databend-common-storages-system = { workspace = true } databend-common-storages-view = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } +databend-workspace-hack = { workspace = true } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/storages/memory/Cargo.toml b/src/query/storages/memory/Cargo.toml index d78afb8acb59f..8971a1796f4f9 100644 --- a/src/query/storages/memory/Cargo.toml +++ b/src/query/storages/memory/Cargo.toml @@ -20,10 +20,13 @@ databend-common-pipeline-sources = { workspace = true } databend-common-storage = { workspace = true } databend-storages-common-blocks = { workspace = true } databend-storages-common-table-meta = { workspace = true } +databend-workspace-hack = { workspace = true } parking_lot = { workspace = true } serde = { workspace = true } typetag = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/storages/null/Cargo.toml b/src/query/storages/null/Cargo.toml index 2c6eff757259b..4c26ac4ec5938 100644 --- a/src/query/storages/null/Cargo.toml +++ b/src/query/storages/null/Cargo.toml @@ -17,7 +17,10 @@ databend-common-pipeline-core = { workspace = true } databend-common-pipeline-sinks = { workspace = true } databend-common-pipeline-sources = { workspace = true } databend-storages-common-table-meta = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } +databend-workspace-hack = { workspace = true } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/storages/orc/Cargo.toml b/src/query/storages/orc/Cargo.toml index 6d0e14501a2bf..6dd9ed8ddc54c 100644 --- a/src/query/storages/orc/Cargo.toml +++ b/src/query/storages/orc/Cargo.toml @@ -7,7 +7,7 @@ publish = { workspace = true } edition = { workspace = true } [package.metadata.cargo-machete] -ignored = ["serde"] +ignored = ["serde", "databend-workspace-hack"] [dependencies] databend-common-base = { workspace = true } @@ -30,6 +30,7 @@ async-trait = { workspace = true } bytes = { workspace = true } chrono = { workspace = true } dashmap = { workspace = true } +databend-workspace-hack = { workspace = true } futures-util = { workspace = true } log = { workspace = true } opendal = { workspace = true } @@ -37,7 +38,6 @@ orc-rust = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } typetag = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [lints] workspace = true diff --git a/src/query/storages/parquet/Cargo.toml b/src/query/storages/parquet/Cargo.toml index cf0ab6cb61043..4960605104942 100644 --- a/src/query/storages/parquet/Cargo.toml +++ b/src/query/storages/parquet/Cargo.toml @@ -31,6 +31,7 @@ databend-storages-common-cache = { workspace = true } databend-storages-common-pruner = { workspace = true } databend-storages-common-stage = { workspace = true } databend-storages-common-table-meta = { workspace = true } +databend-workspace-hack = { workspace = true } futures = { workspace = true } jiff = { workspace = true } log = { workspace = true } @@ -40,7 +41,9 @@ rand = { workspace = true } serde = { workspace = true } thrift = { workspace = true } typetag = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/storages/random/Cargo.toml b/src/query/storages/random/Cargo.toml index 40cfb23363b5c..cf88eab32447a 100644 --- a/src/query/storages/random/Cargo.toml +++ b/src/query/storages/random/Cargo.toml @@ -16,9 +16,12 @@ databend-common-meta-app = { workspace = true } databend-common-pipeline-core = { workspace = true } databend-common-pipeline-sources = { workspace = true } databend-storages-common-table-meta = { workspace = true } +databend-workspace-hack = { workspace = true } serde = { workspace = true } typetag = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/storages/result_cache/Cargo.toml b/src/query/storages/result_cache/Cargo.toml index 5c4c4b3edb119..bdf175c10467e 100644 --- a/src/query/storages/result_cache/Cargo.toml +++ b/src/query/storages/result_cache/Cargo.toml @@ -23,6 +23,7 @@ databend-common-storage = { workspace = true } databend-common-storages-parquet = { workspace = true } databend-storages-common-blocks = { workspace = true } databend-storages-common-table-meta = { workspace = true } +databend-workspace-hack = { workspace = true } opendal = { workspace = true } parquet = { workspace = true } serde = { workspace = true } @@ -30,7 +31,9 @@ serde_json = { workspace = true } sha2 = { workspace = true } tokio = { workspace = true } uuid = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/storages/stage/Cargo.toml b/src/query/storages/stage/Cargo.toml index 94d3351051bce..a72199e8b9a11 100644 --- a/src/query/storages/stage/Cargo.toml +++ b/src/query/storages/stage/Cargo.toml @@ -34,6 +34,7 @@ databend-common-storages-parquet = { workspace = true } databend-common-version = { workspace = true } databend-storages-common-stage = { workspace = true } databend-storages-common-table-meta = { workspace = true } +databend-workspace-hack = { workspace = true } enum-as-inner = { workspace = true } futures = { workspace = true } jsonb = { workspace = true } @@ -48,10 +49,9 @@ parquet = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } typetag = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } [lints] workspace = true [package.metadata.cargo-machete] -ignored = ["match-template"] +ignored = ["match-template", "databend-workspace-hack"] diff --git a/src/query/storages/stream/Cargo.toml b/src/query/storages/stream/Cargo.toml index 34fe40608695d..eee1ff8fe7496 100644 --- a/src/query/storages/stream/Cargo.toml +++ b/src/query/storages/stream/Cargo.toml @@ -19,12 +19,13 @@ databend-common-pipeline-sources = { workspace = true } databend-common-sql = { workspace = true } databend-common-storages-fuse = { workspace = true } databend-storages-common-table-meta = { workspace = true } +databend-workspace-hack = { workspace = true } fastrace = { workspace = true } futures = { workspace = true } log = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } -[build-dependencies] +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/storages/system/Cargo.toml b/src/query/storages/system/Cargo.toml index 588330ea24633..005f9a98b5930 100644 --- a/src/query/storages/system/Cargo.toml +++ b/src/query/storages/system/Cargo.toml @@ -36,6 +36,7 @@ databend-common-storages-view = { workspace = true } databend-common-users = { workspace = true } databend-storages-common-cache = { workspace = true } databend-storages-common-table-meta = { workspace = true } +databend-workspace-hack = { workspace = true } futures = { workspace = true } itertools = { workspace = true } jiff = { workspace = true } @@ -51,7 +52,9 @@ serde_repr = { workspace = true } snailquote = { workspace = true } tikv-jemalloc-ctl = { workspace = true, optional = true } typetag = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true diff --git a/src/query/storages/view/Cargo.toml b/src/query/storages/view/Cargo.toml index 033f894bf7458..c8d5ba46db4d2 100644 --- a/src/query/storages/view/Cargo.toml +++ b/src/query/storages/view/Cargo.toml @@ -11,9 +11,12 @@ async-trait = { workspace = true } databend-common-catalog = { workspace = true } databend-common-exception = { workspace = true } databend-common-meta-app = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../../databend-workspace-hack" } +databend-workspace-hack = { workspace = true } [build-dependencies] +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/src/query/users/Cargo.toml b/src/query/users/Cargo.toml index b0ab677131bab..9ef5a59ac227c 100644 --- a/src/query/users/Cargo.toml +++ b/src/query/users/Cargo.toml @@ -26,6 +26,7 @@ databend-common-meta-cache = { workspace = true } databend-common-meta-kvapi = { workspace = true } databend-common-meta-store = { workspace = true } databend-common-meta-types = { workspace = true } +databend-workspace-hack = { workspace = true } enumflags2 = { workspace = true } itertools = { workspace = true } jwt-simple = { workspace = true } @@ -36,12 +37,14 @@ passwords = { workspace = true } reqwest = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [dev-dependencies] databend-common-expression = { workspace = true } pretty_assertions = { workspace = true } wiremock = { workspace = true } +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/src/tests/sqlsmith/Cargo.toml b/src/tests/sqlsmith/Cargo.toml index cb7a70a4f3c79..e40d301112cf3 100644 --- a/src/tests/sqlsmith/Cargo.toml +++ b/src/tests/sqlsmith/Cargo.toml @@ -17,6 +17,7 @@ databend-common-formats = { workspace = true } databend-common-functions = { workspace = true } databend-common-io = { workspace = true } databend-common-sql = { workspace = true } +databend-workspace-hack = { workspace = true } derive-visitor = { workspace = true } ethnum = { workspace = true } itertools = { workspace = true } @@ -30,11 +31,13 @@ tokio = { workspace = true } tracing = { workspace = true } tracing-subscriber = { workspace = true } url = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../../databend-workspace-hack" } [[bin]] name = "databend-sqlsmith" path = "src/bin/main.rs" +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] + [lints] workspace = true diff --git a/tests/sqllogictests/Cargo.toml b/tests/sqllogictests/Cargo.toml index bf2ef2ace289f..1d5aee2ca4090 100644 --- a/tests/sqllogictests/Cargo.toml +++ b/tests/sqllogictests/Cargo.toml @@ -19,6 +19,7 @@ async-trait = { workspace = true } bollard = { workspace = true } clap = { workspace = true } databend-common-exception = { workspace = true } +databend-workspace-hack = { workspace = true } env_logger = { workspace = true } futures-util = { workspace = true } mysql_async = { workspace = true } @@ -35,7 +36,9 @@ testcontainers-modules = { workspace = true, features = ["mysql", "redis"] } thiserror = { workspace = true } tokio = { workspace = true } walkdir = { workspace = true } -databend-workspace-hack = { version = "0.1", path = "../../databend-workspace-hack" } + +[package.metadata.cargo-machete] +ignored = ["databend-workspace-hack"] [lints] workspace = true