From b567663c8a1d05de572bc48565629c35d0769b89 Mon Sep 17 00:00:00 2001 From: Yiqun Liu Date: Tue, 15 Jul 2025 23:33:30 +0800 Subject: [PATCH 1/2] 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/2] 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.