From e70eb591f6f505bf99a18d116b3b4373f406f424 Mon Sep 17 00:00:00 2001 From: xxchan Date: Mon, 23 Dec 2024 21:11:42 +0800 Subject: [PATCH] build: prune unused dependencies (#19885) Signed-off-by: xxchan --- Cargo.lock | 166 +----------------- Cargo.toml | 19 +- Makefile.toml | 2 +- ci/scripts/common.sh | 4 +- .../feature-store/server/Cargo.toml | 4 - .../feature-store/simulator/Cargo.toml | 2 - src/batch/Cargo.toml | 8 - src/batch/executors/Cargo.toml | 6 - src/cmd/Cargo.toml | 1 - src/cmd_all/Cargo.toml | 6 +- src/common/Cargo.toml | 9 +- src/common/common_service/Cargo.toml | 6 - src/common/estimate_size/Cargo.toml | 7 - src/common/heap_profiling/Cargo.toml | 7 - src/common/metrics/Cargo.toml | 6 - src/common/proc_macro/Cargo.toml | 6 +- src/common/secret/Cargo.toml | 5 - src/common/telemetry_event/Cargo.toml | 8 - src/compute/Cargo.toml | 8 - src/connector/Cargo.toml | 16 +- src/connector/codec/Cargo.toml | 6 - src/connector/with_options/Cargo.toml | 7 - src/ctl/Cargo.toml | 8 - src/dml/Cargo.toml | 12 -- src/error/Cargo.toml | 1 - src/expr/core/Cargo.toml | 7 - src/expr/impl/Cargo.toml | 9 +- src/frontend/Cargo.toml | 8 - src/frontend/planner_test/Cargo.toml | 6 - src/java_binding/Cargo.toml | 6 - src/jni_core/Cargo.toml | 13 -- src/license/Cargo.toml | 6 - src/meta/Cargo.toml | 15 -- src/meta/model/Cargo.toml | 9 +- src/meta/model/migration/Cargo.toml | 6 - src/meta/node/Cargo.toml | 12 -- src/meta/service/Cargo.toml | 9 - src/object_store/Cargo.toml | 9 +- src/prost/Cargo.toml | 6 - src/prost/helpers/Cargo.toml | 6 - src/risedevtool/Cargo.toml | 7 - src/rpc_client/Cargo.toml | 10 -- src/sqlparser/Cargo.toml | 6 - src/sqlparser/fuzz/Cargo.toml | 6 +- src/sqlparser/sqlparser_bench/Cargo.toml | 6 +- src/storage/Cargo.toml | 9 - src/storage/backup/Cargo.toml | 7 - src/storage/compactor/Cargo.toml | 7 - src/storage/hummock_sdk/Cargo.toml | 9 - src/storage/hummock_test/Cargo.toml | 11 +- src/stream/Cargo.toml | 17 +- src/stream/spill_test/Cargo.toml | 6 - src/test_runner/Cargo.toml | 6 - src/tests/compaction_test/Cargo.toml | 13 -- src/tests/e2e_extended_mode/Cargo.toml | 6 - src/tests/libpq_test/Cargo.toml | 1 - src/tests/regress/Cargo.toml | 6 - src/tests/simulation/Cargo.toml | 9 +- src/tests/sqlsmith/Cargo.toml | 7 - src/tests/state_cleaning_test/Cargo.toml | 7 - src/utils/delta_btree_map/Cargo.toml | 6 - src/utils/futures_util/Cargo.toml | 6 - src/utils/iter_util/Cargo.toml | 6 - src/utils/local_stats_alloc/Cargo.toml | 6 - src/utils/pgwire/Cargo.toml | 6 - src/utils/resource_util/Cargo.toml | 6 - src/utils/runtime/Cargo.toml | 6 - src/utils/sync-point/Cargo.toml | 6 - src/utils/variables/Cargo.toml | 6 - 69 files changed, 44 insertions(+), 623 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d2cb5a29b3284..7e770880971b0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1331,22 +1331,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "aws-http" -version = "0.60.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30e4199d5d62ab09be6a64650c06cc5c4aa45806fed4c74bc4a5c8eaf039a6fa" -dependencies = [ - "aws-smithy-runtime-api", - "aws-smithy-types", - "aws-types", - "bytes", - "http 0.2.9", - "http-body 0.4.5", - "pin-project-lite", - "tracing", -] - [[package]] name = "aws-lc-rs" version = "1.6.2" @@ -3506,19 +3490,6 @@ version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7762d17f1241643615821a8455a0b2c3e803784b058693d990b11f2dce25a0ca" -[[package]] -name = "dashmap" -version = "5.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856" -dependencies = [ - "cfg-if", - "hashbrown 0.14.5", - "lock_api", - "once_cell", - "parking_lot_core 0.9.8", -] - [[package]] name = "dashmap" version = "6.1.0" @@ -3561,7 +3532,7 @@ dependencies = [ "bytes", "bzip2", "chrono", - "dashmap 6.1.0", + "dashmap", "datafusion-catalog", "datafusion-common", "datafusion-common-runtime", @@ -3654,7 +3625,7 @@ checksum = "799e70968c815b611116951e3dd876aef04bf217da31b72eec01ee6a959336a1" dependencies = [ "arrow 52.2.0", "chrono", - "dashmap 6.1.0", + "dashmap", "datafusion-common", "datafusion-expr", "futures", @@ -4050,7 +4021,7 @@ dependencies = [ "bytes", "cfg-if", "chrono", - "dashmap 6.1.0", + "dashmap", "datafusion", "datafusion-common", "datafusion-expr", @@ -5346,21 +5317,6 @@ dependencies = [ "libc", ] -[[package]] -name = "function_name" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1ab577a896d09940b5fe12ec5ae71f9d8211fff62c919c03a3750a9901e98a7" -dependencies = [ - "function_name-proc-macro", -] - -[[package]] -name = "function_name-proc-macro" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "673464e1e314dd67a0fd9544abc99e8eb28d0c7e3b69b033bcff9b2d00b87333" - [[package]] name = "funty" version = "2.0.0" @@ -5795,14 +5751,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "68a7f542ee6b35af73b06abc0dad1c1bae89964e4e253bc4b587b91c9637867b" dependencies = [ "cfg-if", - "dashmap 5.5.3", "futures", "futures-timer", "no-std-compat", "nonzero_ext", "parking_lot 0.12.1", "portable-atomic", - "rand", "smallvec", "spinning_top", ] @@ -10455,7 +10409,6 @@ dependencies = [ "regex", "reqwest 0.12.4", "serde", - "serde_json", "serde_with 3.8.1", "serde_yaml", "sqlx", @@ -10499,7 +10452,6 @@ version = "2.3.0-alpha" dependencies = [ "anyhow", "async-trait", - "bincode 1.3.3", "bytes", "itertools 0.13.0", "parking_lot 0.12.1", @@ -10522,7 +10474,6 @@ dependencies = [ "anyhow", "async-recursion", "async-trait", - "criterion", "either", "futures", "futures-async-stream", @@ -10552,7 +10503,6 @@ dependencies = [ "tempfile", "thiserror 1.0.63", "thiserror-ext", - "tikv-jemallocator", "tokio-postgres", "tokio-stream 0.1.15", "tracing", @@ -10654,7 +10604,6 @@ version = "2.3.0-alpha" dependencies = [ "clap", "madsim-tokio", - "prometheus", "risingwave_batch_executors", "risingwave_common", "risingwave_compactor", @@ -10673,14 +10622,12 @@ dependencies = [ name = "risingwave_cmd_all" version = "2.3.0-alpha" dependencies = [ - "anyhow", "clap", "console", "const-str", "expect-test", "home", "madsim-tokio", - "prometheus", "risingwave_batch_executors", "risingwave_cmd", "risingwave_common", @@ -10748,7 +10695,6 @@ dependencies = [ "http 1.1.0", "http-body 0.4.5", "humantime", - "hytra", "itertools 0.13.0", "itoa", "jsonbb", @@ -10829,7 +10775,6 @@ dependencies = [ "ethnum", "fixedbitset 0.5.0", "jsonbb", - "lru 0.7.6", "risingwave_common_proc_macro", "rust_decimal", "serde_json", @@ -10839,7 +10784,6 @@ dependencies = [ name = "risingwave_common_heap_profiling" version = "2.3.0-alpha" dependencies = [ - "anyhow", "chrono", "madsim-tokio", "parking_lot 0.12.1", @@ -10945,21 +10889,14 @@ name = "risingwave_compaction_test" version = "2.3.0-alpha" dependencies = [ "anyhow", - "async-trait", "bytes", "clap", "foyer", - "futures", "madsim-tokio", - "prometheus", - "rand", "risingwave_common", "risingwave_compactor", "risingwave_hummock_sdk", - "risingwave_hummock_test", - "risingwave_meta", "risingwave_meta_node", - "risingwave_object_store", "risingwave_pb", "risingwave_rpc_client", "risingwave_rt", @@ -10978,7 +10915,6 @@ dependencies = [ "jsonbb", "madsim-tokio", "madsim-tonic", - "parking_lot 0.12.1", "prost 0.13.1", "risingwave_common", "risingwave_common_heap_profiling", @@ -11006,7 +10942,6 @@ dependencies = [ "futures", "futures-async-stream", "http 1.1.0", - "hyper 1.4.1", "itertools 0.13.0", "madsim-tokio", "madsim-tonic", @@ -11036,7 +10971,6 @@ dependencies = [ "tokio-stream 0.1.15", "tower 0.5.0", "tracing", - "uuid", "workspace-hack", ] @@ -11090,7 +11024,6 @@ dependencies = [ "google-cloud-googleapis", "google-cloud-pubsub", "governor", - "http 0.2.9", "iceberg", "iceberg-catalog-glue", "iceberg-catalog-rest", @@ -11098,8 +11031,6 @@ dependencies = [ "indexmap 2.7.0", "itertools 0.13.0", "jni", - "jsonbb", - "jsonwebtoken", "madsim-rdkafka", "madsim-tokio", "madsim-tonic", @@ -11134,7 +11065,6 @@ dependencies = [ "risingwave_common_estimate_size", "risingwave_connector_codec", "risingwave_jni_core", - "risingwave_object_store", "risingwave_pb", "risingwave_rpc_client", "rumqttc", @@ -11225,7 +11155,6 @@ dependencies = [ "itertools 0.13.0", "madsim-tokio", "madsim-tonic", - "memcomparable", "prost 0.13.1", "regex", "risingwave_common", @@ -11234,7 +11163,6 @@ dependencies = [ "risingwave_hummock_sdk", "risingwave_meta", "risingwave_meta_model", - "risingwave_meta_model_migration", "risingwave_object_store", "risingwave_pb", "risingwave_rpc_client", @@ -11256,21 +11184,15 @@ name = "risingwave_dml" version = "2.3.0-alpha" dependencies = [ "assert_matches", - "criterion", "futures", "futures-async-stream", "itertools 0.13.0", "madsim-tokio", "parking_lot 0.12.1", "paste", - "rand", "risingwave_common", - "risingwave_connector", - "risingwave_pb", - "rw_futures_util", "tempfile", "thiserror 1.0.63", - "thiserror-ext", "tracing", "workspace-hack", ] @@ -11296,7 +11218,6 @@ version = "2.3.0-alpha" dependencies = [ "anyhow", "bincode 1.3.3", - "bytes", "easy-ext", "madsim-tonic", "serde", @@ -11314,7 +11235,6 @@ dependencies = [ "async-trait", "auto_impl", "await-tree", - "cfg-or-panic", "chrono", "const-currying", "downcast-rs", @@ -11476,7 +11396,6 @@ dependencies = [ "risingwave_expr_impl", "risingwave_frontend_macro", "risingwave_hummock_sdk", - "risingwave_object_store", "risingwave_pb", "risingwave_rpc_client", "risingwave_sqlparser", @@ -11500,7 +11419,6 @@ dependencies = [ "url", "uuid", "workspace-hack", - "zstd 0.13.0", ] [[package]] @@ -11517,16 +11435,13 @@ name = "risingwave_hummock_sdk" version = "2.3.0-alpha" dependencies = [ "bytes", - "easy-ext", "hex", "itertools 0.13.0", "parse-display", - "prost 0.13.1", "risingwave_common", "risingwave_common_estimate_size", "risingwave_pb", "serde", - "serde_bytes", "tracing", "workspace-hack", ] @@ -11558,7 +11473,6 @@ dependencies = [ "risingwave_rpc_client", "risingwave_storage", "risingwave_test_runner", - "serde", "serial_test", "sync-point", "workspace-hack", @@ -11621,21 +11535,14 @@ dependencies = [ "cfg-or-panic", "chrono", "expect-test", - "foyer", "fs-err", "futures", - "itertools 0.13.0", "jni", "madsim-tokio", "paste", "prost 0.13.1", "risingwave_common", - "risingwave_expr", - "risingwave_hummock_sdk", "risingwave_pb", - "rw_futures_util", - "serde", - "serde_json", "thiserror 1.0.63", "thiserror-ext", "tracing", @@ -11660,15 +11567,10 @@ dependencies = [ name = "risingwave_mem_table_spill_test" version = "2.3.0-alpha" dependencies = [ - "async-trait", - "bytes", - "futures", - "futures-async-stream", "madsim-tokio", "risingwave_common", "risingwave_hummock_sdk", "risingwave_hummock_test", - "risingwave_storage", "risingwave_stream", ] @@ -11680,10 +11582,8 @@ dependencies = [ "arc-swap", "assert_matches", "async-trait", - "aws-config", "axum", "base64-url", - "bincode 1.3.3", "bytes", "chrono", "clap", @@ -11695,8 +11595,6 @@ dependencies = [ "enum-as-inner 0.6.0", "expect-test", "fail", - "flate2", - "function_name", "futures", "hex", "http 1.1.0", @@ -11705,9 +11603,6 @@ dependencies = [ "madsim-tokio", "madsim-tonic", "maplit", - "memcomparable", - "mime_guess", - "moka", "notify", "num-integer", "num-traits", @@ -11731,7 +11626,6 @@ dependencies = [ "risingwave_rpc_client", "risingwave_sqlparser", "risingwave_test_runner", - "rw-aws-sdk-ec2", "rw_futures_util", "scopeguard", "sea-orm", @@ -11748,7 +11642,6 @@ dependencies = [ "tower-http", "tracing", "tracing-subscriber", - "url", "uuid", "workspace-hack", ] @@ -11780,7 +11673,6 @@ version = "2.3.0-alpha" dependencies = [ "prost 0.13.1", "risingwave_common", - "risingwave_hummock_sdk", "risingwave_pb", "sea-orm", "serde", @@ -11804,13 +11696,9 @@ dependencies = [ name = "risingwave_meta_node" version = "2.3.0-alpha" dependencies = [ - "anyhow", "clap", "educe", - "either", - "futures", "hex", - "itertools 0.13.0", "madsim-tokio", "madsim-tonic", "otlp-embedded", @@ -11821,12 +11709,10 @@ dependencies = [ "risingwave_common_heap_profiling", "risingwave_common_service", "risingwave_meta", - "risingwave_meta_model_migration", "risingwave_meta_service", "risingwave_pb", "risingwave_rpc_client", "sea-orm", - "serde", "serde_json", "thiserror-ext", "tracing", @@ -11839,12 +11725,10 @@ version = "2.3.0-alpha" dependencies = [ "anyhow", "async-trait", - "either", "futures", "itertools 0.13.0", "madsim-tokio", "madsim-tonic", - "prost 0.13.1", "rand", "regex", "risingwave_common", @@ -11855,7 +11739,6 @@ dependencies = [ "risingwave_pb", "sea-orm", "serde_json", - "sync-point", "thiserror-ext", "tokio-stream 0.1.15", "tracing", @@ -11876,12 +11759,10 @@ dependencies = [ "aws-smithy-types", "bytes", "crc32fast", - "either", "fail", "futures", "hyper 0.14.27", "hyper-rustls 0.24.2", - "hyper-tls 0.5.0", "itertools 0.13.0", "madsim", "madsim-aws-sdk-s3", @@ -11964,10 +11845,7 @@ dependencies = [ "easy-ext", "either", "futures", - "h2 0.4.7", "http 1.1.0", - "hyper 1.4.1", - "itertools 0.13.0", "lru 0.7.6", "madsim-tokio", "madsim-tonic", @@ -11986,7 +11864,6 @@ dependencies = [ "tokio-stream 0.1.15", "tower 0.5.0", "tracing", - "url", "workspace-hack", ] @@ -12038,14 +11915,12 @@ dependencies = [ "itertools 0.13.0", "lru 0.7.6", "madsim", - "madsim-aws-sdk-s3", "madsim-rdkafka", "madsim-tokio", "maplit", "paste", "pin-project", "pretty_assertions", - "prometheus", "rand", "rand_chacha", "risingwave_batch_executors", @@ -12061,7 +11936,6 @@ dependencies = [ "risingwave_meta_node", "risingwave_object_store", "risingwave_pb", - "risingwave_rpc_client", "risingwave_sqlparser", "risingwave_sqlsmith", "serde", @@ -12071,7 +11945,6 @@ dependencies = [ "tempfile", "tikv-jemallocator", "tokio-postgres", - "tokio-stream 0.1.15", "tracing", "tracing-subscriber", "uuid", @@ -12116,7 +11989,6 @@ dependencies = [ "risingwave_expr", "risingwave_expr_impl", "risingwave_frontend", - "risingwave_pb", "risingwave_sqlparser", "similar", "thiserror-ext", @@ -12134,7 +12006,6 @@ dependencies = [ "clap", "futures", "madsim-tokio", - "prometheus", "regex", "risingwave_rt", "serde", @@ -12150,7 +12021,6 @@ dependencies = [ name = "risingwave_storage" version = "2.3.0-alpha" dependencies = [ - "ahash 0.8.11", "anyhow", "arc-swap", "async-trait", @@ -12159,9 +12029,7 @@ dependencies = [ "bincode 1.3.3", "bytes", "criterion", - "crossbeam", "darwin-libproc", - "dashmap 6.1.0", "dyn-clone", "either", "enum-as-inner 0.6.0", @@ -12276,7 +12144,6 @@ dependencies = [ "serde_yaml", "smallvec", "static_assertions", - "strum 0.26.3", "strum_macros 0.26.4", "thiserror 1.0.63", "thiserror-ext", @@ -12298,10 +12165,8 @@ dependencies = [ "prost 0.13.1", "reqwest 0.12.4", "risingwave_pb", - "thiserror 1.0.63", "thiserror-ext", "tracing", - "uuid", ] [[package]] @@ -12725,30 +12590,6 @@ dependencies = [ "wait-timeout", ] -[[package]] -name = "rw-aws-sdk-ec2" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80dba3602b267a7f9dcc546ccbf1d05752447773146253c7e344e2a320630b7f" -dependencies = [ - "aws-credential-types", - "aws-http", - "aws-runtime", - "aws-smithy-async", - "aws-smithy-http", - "aws-smithy-json", - "aws-smithy-query", - "aws-smithy-runtime", - "aws-smithy-runtime-api", - "aws-smithy-types", - "aws-smithy-xml", - "aws-types", - "fastrand", - "http 0.2.9", - "regex", - "tracing", -] - [[package]] name = "rw_futures_util" version = "0.0.0" @@ -16563,7 +16404,6 @@ dependencies = [ name = "with_options" version = "2.3.0-alpha" dependencies = [ - "proc-macro2", "quote", "syn 2.0.87", ] diff --git a/Cargo.toml b/Cargo.toml index 4a86290bbc128..4e7cc205e15ad 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -80,6 +80,19 @@ keywords = ["sql", "database", "streaming"] license = "Apache-2.0" repository = "https://github.com/risingwavelabs/risingwave" +# some dependencies are not worth deleting. +[workspace.metadata.cargo-machete] +ignored = [ + "workspace-hack", + "expect-test", + "pretty_assertions", + "serde", + "serde_json", +] +[workspace.metadata.cargo-udeps.ignore] +normal = ["workspace-hack"] +development = ["expect-test", "pretty_assertions"] + [workspace.dependencies] foyer = { version = "0.13.1", features = ["tracing", "nightly", "prometheus"] } apache-avro = { git = "https://github.com/risingwavelabs/avro", rev = "25113ba88234a9ae23296e981d8302c290fdaa4b", features = [ @@ -107,11 +120,6 @@ aws-sdk-s3 = { version = "1", default-features = false, features = [ "rt-tokio", "rustls", ] } -# To bump the version of aws-sdk-ec2, check the README of https://github.com/risingwavelabs/rw-aws-sdk-ec2 -aws-sdk-ec2 = { package = "rw-aws-sdk-ec2", version = "1", default-features = false, features = [ - "rt-tokio", - "rustls", -] } aws-sdk-sqs = { version = "1", default-features = false, features = [ "rt-tokio", "rustls", @@ -204,6 +212,7 @@ tokio-stream = { git = "https://github.com/madsim-rs/tokio.git", rev = "0dd1055" tokio-util = "0.7" tracing-opentelemetry = "0.25" rand = { version = "0.8", features = ["small_rng"] } +governor = { version = "0.6", default-features = false, features = ["std"] } risingwave_backup = { path = "./src/storage/backup" } risingwave_batch = { path = "./src/batch" } risingwave_batch_executors = { path = "./src/batch/executors" } diff --git a/Makefile.toml b/Makefile.toml index 89814dbe36ae5..6c15c231e2c73 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -1208,7 +1208,7 @@ script = """ echo "Running $(tput setaf 4)cargo udeps$(tput sgr0) checks" -cargo udeps --workspace --all-targets ${RISINGWAVE_FEATURE_FLAGS} --exclude workspace-hack --exclude risingwave_bench --exclude risingwave_udf --exclude risingwave_simulation +cargo udeps --workspace --all-targets ${RISINGWAVE_FEATURE_FLAGS} --exclude workspace-hack --exclude risingwave_bench --exclude risingwave_simulation """ [tasks.check-trailing-spaces] diff --git a/ci/scripts/common.sh b/ci/scripts/common.sh index b3e09bd607b28..4c43da1fcaeaa 100755 --- a/ci/scripts/common.sh +++ b/ci/scripts/common.sh @@ -21,7 +21,9 @@ export RUST_MIN_STACK=4194304 unset LANG function dump_diagnose_info() { - ./risedev diagnose || true + if [ -f .risingwave/config/risedev-env ]; then + ./risedev diagnose || true + fi } trap dump_diagnose_info EXIT diff --git a/integration_tests/feature-store/server/Cargo.toml b/integration_tests/feature-store/server/Cargo.toml index 26e300cdf2f6d..8e13d5374d7bf 100644 --- a/integration_tests/feature-store/server/Cargo.toml +++ b/integration_tests/feature-store/server/Cargo.toml @@ -9,16 +9,12 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -sqlx = { version = "0.8", features = ["runtime-tokio-native-tls", "postgres"] } tokio = { version = "1", features = ["full"] } tonic = "0.11.0" -reqwest = { version = "0.11", features = ["blocking"] } rdkafka = { version = "0.34", features = ["cmake-build"] } -serde_json = "1.0" prost = "0.12" clap = "4.4.6" tokio-postgres = "0.7.10" -tonic-build = "0.11.0" [build-dependencies] tonic-build = "0.11.0" diff --git a/integration_tests/feature-store/simulator/Cargo.toml b/integration_tests/feature-store/simulator/Cargo.toml index e7b53c9047de2..0591ddf5b3137 100644 --- a/integration_tests/feature-store/simulator/Cargo.toml +++ b/integration_tests/feature-store/simulator/Cargo.toml @@ -11,12 +11,10 @@ edition = "2021" [dependencies] tokio = { version = "1", features = ["macros", "rt", "rt-multi-thread"] } tonic = "0.11.0" -reqwest = { version = "0.11" } serde_json = "1.0" serde_derive = "1.0" rand = { workspace = true } clap = "4.4.6" prost = "0.12" -serde = { version = "1", features = ["derive"] } futures = "0.3.28" csv = "1.3.0" diff --git a/src/batch/Cargo.toml b/src/batch/Cargo.toml index c501f2df4962e..56491055cfacd 100644 --- a/src/batch/Cargo.toml +++ b/src/batch/Cargo.toml @@ -7,12 +7,6 @@ keywords = { workspace = true } license = { workspace = true } repository = { workspace = true } -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] anyhow = "1" async-recursion = "1" @@ -62,11 +56,9 @@ twox-hash = "2" workspace-hack = { path = "../workspace-hack" } [dev-dependencies] -criterion = { workspace = true, features = ["async_tokio", "async"] } rand = { workspace = true } risingwave_hummock_sdk = { workspace = true } tempfile = "3" -tikv-jemallocator = { workspace = true } [lints] workspace = true diff --git a/src/batch/executors/Cargo.toml b/src/batch/executors/Cargo.toml index 927c026e83d8e..736c54f8a5b0e 100644 --- a/src/batch/executors/Cargo.toml +++ b/src/batch/executors/Cargo.toml @@ -7,12 +7,6 @@ keywords = { workspace = true } license = { workspace = true } repository = { workspace = true } -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] anyhow = "1" assert_matches = "1" diff --git a/src/cmd/Cargo.toml b/src/cmd/Cargo.toml index 5ddc6112bd4ab..097f9fd881a48 100644 --- a/src/cmd/Cargo.toml +++ b/src/cmd/Cargo.toml @@ -21,7 +21,6 @@ normal = ["workspace-hack", "workspace-config", "task_stats_alloc"] [dependencies] clap = { workspace = true } -prometheus = { version = "0.13" } risingwave_batch_executors = { workspace = true } risingwave_common = { workspace = true } risingwave_compactor = { workspace = true } diff --git a/src/cmd_all/Cargo.toml b/src/cmd_all/Cargo.toml index 2269ca1010481..0e74a20a4a10e 100644 --- a/src/cmd_all/Cargo.toml +++ b/src/cmd_all/Cargo.toml @@ -19,18 +19,16 @@ js-udf = ["risingwave_expr_impl/js-udf"] python-udf = ["risingwave_expr_impl/python-udf"] [package.metadata.cargo-machete] -ignored = ["workspace-hack", "workspace-config", "task_stats_alloc"] +ignored = ["workspace-hack", "workspace-config", "task_stats_alloc", "tikv-jemallocator"] [package.metadata.cargo-udeps.ignore] -ignored = ["workspace-hack", "workspace-config", "task_stats_alloc"] +ignored = ["workspace-hack", "workspace-config", "task_stats_alloc", "tikv-jemallocator"] [dependencies] -anyhow = "1" clap = { workspace = true } console = "0.15" const-str = "0.5" home = "0.5" -prometheus = { version = "0.13" } risingwave_batch_executors = { workspace = true } risingwave_cmd = { workspace = true } risingwave_common = { workspace = true } diff --git a/src/common/Cargo.toml b/src/common/Cargo.toml index 8a554137dccdd..1fbf8e312185d 100644 --- a/src/common/Cargo.toml +++ b/src/common/Cargo.toml @@ -7,12 +7,6 @@ keywords = { workspace = true } license = { workspace = true } repository = { workspace = true } -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] ahash = "0.8" anyhow = "1" @@ -48,12 +42,11 @@ ethnum = { version = "1", features = ["serde"] } fixedbitset = "0.5" foyer = { workspace = true } futures = { version = "0.3", default-features = false, features = ["alloc"] } -governor = { version = "0.6", default-features = false, features = ["std"] } +governor = { workspace = true } hashbrown = "0.14" hex = "0.4.3" http = "1" humantime = "2.1" -hytra = { workspace = true } itertools = { workspace = true } itoa = "1.0" jsonbb = { workspace = true } diff --git a/src/common/common_service/Cargo.toml b/src/common/common_service/Cargo.toml index 37775ff04a82b..38dd8f4534477 100644 --- a/src/common/common_service/Cargo.toml +++ b/src/common/common_service/Cargo.toml @@ -8,12 +8,6 @@ license = { workspace = true } repository = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] async-trait = "0.1" axum = { workspace = true } diff --git a/src/common/estimate_size/Cargo.toml b/src/common/estimate_size/Cargo.toml index 77e4203f9c7cb..c6447ff974216 100644 --- a/src/common/estimate_size/Cargo.toml +++ b/src/common/estimate_size/Cargo.toml @@ -8,19 +8,12 @@ license = { workspace = true } repository = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] bytes = "1" educe = "0.6" ethnum = { version = "1", features = ["serde"] } fixedbitset = "0.5" jsonbb = { workspace = true } -lru = { workspace = true } risingwave_common_proc_macro = { workspace = true } rust_decimal = "1" serde_json = "1" diff --git a/src/common/heap_profiling/Cargo.toml b/src/common/heap_profiling/Cargo.toml index 706f801fe4762..edb0d11e2fd0b 100644 --- a/src/common/heap_profiling/Cargo.toml +++ b/src/common/heap_profiling/Cargo.toml @@ -8,14 +8,7 @@ license = { workspace = true } repository = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] -anyhow = "1" chrono = { version = "0.4", default-features = false, features = [ "clock", "std", diff --git a/src/common/metrics/Cargo.toml b/src/common/metrics/Cargo.toml index 78562624c6935..b499508f177d9 100644 --- a/src/common/metrics/Cargo.toml +++ b/src/common/metrics/Cargo.toml @@ -8,12 +8,6 @@ license = { workspace = true } repository = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] auto_impl = "1" bytes = "1" diff --git a/src/common/proc_macro/Cargo.toml b/src/common/proc_macro/Cargo.toml index 2219dc2efaba4..d44951a4aec56 100644 --- a/src/common/proc_macro/Cargo.toml +++ b/src/common/proc_macro/Cargo.toml @@ -10,11 +10,9 @@ repository = { workspace = true } [lib] proc-macro = true -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] + + [dependencies] proc-macro-error = "1.0" diff --git a/src/common/secret/Cargo.toml b/src/common/secret/Cargo.toml index 6d501594acbde..ebd042b23a9b0 100644 --- a/src/common/secret/Cargo.toml +++ b/src/common/secret/Cargo.toml @@ -7,11 +7,6 @@ keywords = { workspace = true } license = { workspace = true } repository = { workspace = true } -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] [dependencies] aes-gcm = "0.10" diff --git a/src/common/telemetry_event/Cargo.toml b/src/common/telemetry_event/Cargo.toml index 6007f1cdc3314..ab3826b9504b0 100644 --- a/src/common/telemetry_event/Cargo.toml +++ b/src/common/telemetry_event/Cargo.toml @@ -7,18 +7,11 @@ keywords = { workspace = true } license = { workspace = true } repository = { workspace = true } -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] jsonbb = { workspace = true } prost = { workspace = true } reqwest = { version = "0.12.2", features = ["json"] } risingwave_pb = { workspace = true } -thiserror = "1" thiserror-ext = { workspace = true } tokio = { version = "0.2", package = "madsim-tokio", features = [ "rt", @@ -29,4 +22,3 @@ tokio = { version = "0.2", package = "madsim-tokio", features = [ "signal", ] } tracing = "0.1" -uuid = { version = "1", features = ["v4"] } diff --git a/src/compute/Cargo.toml b/src/compute/Cargo.toml index ef66755e3e5be..d6a14aa04cd9e 100644 --- a/src/compute/Cargo.toml +++ b/src/compute/Cargo.toml @@ -7,12 +7,6 @@ keywords = { workspace = true } license = { workspace = true } repository = { workspace = true } -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] anyhow = "1" async-trait = "0.1" @@ -24,7 +18,6 @@ foyer = { workspace = true } futures = { version = "0.3", default-features = false, features = ["alloc"] } futures-async-stream = { workspace = true } http = "1" -hyper = "1" itertools = { workspace = true } maplit = "1.0.2" pprof = { version = "0.14", features = ["flamegraph"] } @@ -60,7 +53,6 @@ tokio-stream = { workspace = true } tonic = { workspace = true } tower = { version = "0.5", features = ["util", "load-shed"] } tracing = "0.1" -uuid = { version = "1.11.0", features = ["v4"] } [target.'cfg(not(madsim))'.dependencies] workspace-hack = { path = "../workspace-hack" } diff --git a/src/connector/Cargo.toml b/src/connector/Cargo.toml index 3f12926c9edac..b1ab8b9a8a72c 100644 --- a/src/connector/Cargo.toml +++ b/src/connector/Cargo.toml @@ -7,12 +7,6 @@ keywords = { workspace = true } license = { workspace = true } repository = { workspace = true } -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] anyhow = "1" apache-avro = { workspace = true } @@ -61,12 +55,7 @@ google-cloud-bigquery = { version = "0.13.0", features = ["auth"] } google-cloud-gax = "0.19.0" google-cloud-googleapis = { version = "0.15", features = ["pubsub", "bigquery"] } google-cloud-pubsub = "0.29" -governor = { version = "0.6", default-features = false, features = [ - "std", - "dashmap", - "jitter", -] } -http = "0.2" +governor = { workspace = true } iceberg = { workspace = true } iceberg-catalog-glue = { workspace = true } iceberg-catalog-rest = { workspace = true } @@ -74,8 +63,6 @@ icelake = { workspace = true } indexmap = { version = "2.7.0", features = ["serde"] } itertools = { workspace = true } jni = { version = "0.21.1", features = ["invocation"] } -jsonbb = { workspace = true } -jsonwebtoken = "9.2.0" maplit = "1.0.2" moka = { version = "0.12.8", features = ["future"] } mongodb = { version = "2.8.2", features = ["tokio-runtime"] } @@ -125,7 +112,6 @@ risingwave_common = { workspace = true } risingwave_common_estimate_size = { workspace = true } risingwave_connector_codec = { workspace = true } risingwave_jni_core = { workspace = true } -risingwave_object_store = { workspace = true } risingwave_pb = { workspace = true } risingwave_rpc_client = { workspace = true } rumqttc = { version = "0.24.0", features = ["url"] } diff --git a/src/connector/codec/Cargo.toml b/src/connector/codec/Cargo.toml index 9038c928dc3da..50b3a53887404 100644 --- a/src/connector/codec/Cargo.toml +++ b/src/connector/codec/Cargo.toml @@ -8,12 +8,6 @@ keywords = { workspace = true } license = { workspace = true } repository = { workspace = true } -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] anyhow = "1" apache-avro = { workspace = true } diff --git a/src/connector/with_options/Cargo.toml b/src/connector/with_options/Cargo.toml index 59dd4291e12b7..b8d1ecf510379 100644 --- a/src/connector/with_options/Cargo.toml +++ b/src/connector/with_options/Cargo.toml @@ -9,7 +9,6 @@ repository = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -proc-macro2 = "1" quote = "1" syn = "2" @@ -18,11 +17,5 @@ proc-macro = true [dev-dependencies] -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [lints] workspace = true diff --git a/src/ctl/Cargo.toml b/src/ctl/Cargo.toml index 7b0fc940de946..cdb8f5377c75e 100644 --- a/src/ctl/Cargo.toml +++ b/src/ctl/Cargo.toml @@ -7,12 +7,6 @@ keywords = { workspace = true } license = { workspace = true } repository = { workspace = true } -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] anyhow = "1" bytes = "1" @@ -24,7 +18,6 @@ futures = { version = "0.3", default-features = false, features = ["alloc"] } hex = "0.4" inquire = "0.7.0" itertools = { workspace = true } -memcomparable = "0.2" prost = { workspace = true } regex = "1.10.0" risingwave_common = { workspace = true } @@ -33,7 +26,6 @@ risingwave_frontend = { workspace = true } risingwave_hummock_sdk = { workspace = true } risingwave_meta = { workspace = true } risingwave_meta_model = { workspace = true } -risingwave_meta_model_migration = { workspace = true } risingwave_object_store = { workspace = true } risingwave_pb = { workspace = true } risingwave_rpc_client = { workspace = true } diff --git a/src/dml/Cargo.toml b/src/dml/Cargo.toml index df0ce4ebc19d6..1ad438db96259 100644 --- a/src/dml/Cargo.toml +++ b/src/dml/Cargo.toml @@ -7,24 +7,13 @@ keywords = { workspace = true } license = { workspace = true } repository = { workspace = true } -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] futures = { version = "0.3", default-features = false, features = ["alloc"] } futures-async-stream = { workspace = true } itertools = { workspace = true } parking_lot = { workspace = true } -rand = { workspace = true } risingwave_common = { workspace = true } -risingwave_connector = { workspace = true } -risingwave_pb = { workspace = true } -rw_futures_util = { workspace = true } thiserror = "1" -thiserror-ext = { workspace = true } tokio = { version = "0.2", package = "madsim-tokio", features = [ "rt", "rt-multi-thread", @@ -41,7 +30,6 @@ workspace-hack = { path = "../workspace-hack" } [dev-dependencies] assert_matches = "1" -criterion = { workspace = true, features = ["async_tokio"] } paste = "1" tempfile = "3" diff --git a/src/error/Cargo.toml b/src/error/Cargo.toml index 4a99711db6c41..8407197a88769 100644 --- a/src/error/Cargo.toml +++ b/src/error/Cargo.toml @@ -10,7 +10,6 @@ repository = { workspace = true } [dependencies] anyhow = "1" bincode = "1" -bytes = "1" easy-ext = "1" serde = "1" serde-error = "0.1" diff --git a/src/expr/core/Cargo.toml b/src/expr/core/Cargo.toml index 9851186260e5a..16db4ea8f2691 100644 --- a/src/expr/core/Cargo.toml +++ b/src/expr/core/Cargo.toml @@ -9,18 +9,11 @@ license = { workspace = true } repository = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html -[package.metadata.cargo-machete] -ignored = ["workspace-hack", "ctor"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack", "ctor"] - [dependencies] anyhow = "1" async-trait = "0.1" auto_impl = "1" await-tree = { workspace = true } -cfg-or-panic = "0.2" chrono = { version = "0.4", default-features = false, features = [ "clock", "std", diff --git a/src/expr/impl/Cargo.toml b/src/expr/impl/Cargo.toml index ec6fa8afb9e99..30bd6f61d6b95 100644 --- a/src/expr/impl/Cargo.toml +++ b/src/expr/impl/Cargo.toml @@ -10,13 +10,10 @@ repository = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [package.metadata.cargo-machete] -ignored = ["workspace-hack", "ctor"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack", "ctor"] +ignored = ["chrono-tz", "futures-async-stream"] [features] -external-udf = ["arrow-udf-flight", "arrow-flight", "tonic"] +external-udf = ["arrow-udf-flight", "arrow-flight", "tonic", "ginepro"] js-udf = ["arrow-udf-js"] python-udf = ["arrow-udf-python"] wasm-udf = ["arrow-udf-wasm", "zstd"] @@ -42,7 +39,7 @@ educe = "0.6" fancy-regex = "0.14" futures-async-stream = { workspace = true } futures-util = "0.3" -ginepro = "0.8" +ginepro = { version = "0.8", optional = true } hex = "0.4" hmac = "0.12" iceberg = { workspace = true } diff --git a/src/frontend/Cargo.toml b/src/frontend/Cargo.toml index 3041a4320dd42..74fafdd6d7d97 100644 --- a/src/frontend/Cargo.toml +++ b/src/frontend/Cargo.toml @@ -8,12 +8,6 @@ license = { workspace = true } repository = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] anyhow = "1" arc-swap = "1" @@ -71,7 +65,6 @@ risingwave_dml = { workspace = true } risingwave_expr = { workspace = true } risingwave_frontend_macro = { path = "macro" } risingwave_hummock_sdk = { workspace = true } -risingwave_object_store = { workspace = true } risingwave_pb = { workspace = true } risingwave_rpc_client = { workspace = true } risingwave_sqlparser = { workspace = true } @@ -108,7 +101,6 @@ tower-http = { version = "0.6", features = [ tracing = "0.1" url = "2.5.0" uuid = "1" -zstd = { version = "0.13", default-features = false } [target.'cfg(not(madsim))'.dependencies] workspace-hack = { path = "../workspace-hack" } diff --git a/src/frontend/planner_test/Cargo.toml b/src/frontend/planner_test/Cargo.toml index 49ad1876afff0..ee8d4af18655d 100644 --- a/src/frontend/planner_test/Cargo.toml +++ b/src/frontend/planner_test/Cargo.toml @@ -7,12 +7,6 @@ keywords = { workspace = true } license = { workspace = true } repository = { workspace = true } -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] anyhow = "1" expect-test = "1" diff --git a/src/java_binding/Cargo.toml b/src/java_binding/Cargo.toml index 0966b700a713f..36facf1790abd 100644 --- a/src/java_binding/Cargo.toml +++ b/src/java_binding/Cargo.toml @@ -3,12 +3,6 @@ name = "risingwave_java_binding" version = "0.1.0" edition = "2021" -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] anyhow = "1" bytes = "1" diff --git a/src/jni_core/Cargo.toml b/src/jni_core/Cargo.toml index 868c79e7427ec..d182e19045997 100644 --- a/src/jni_core/Cargo.toml +++ b/src/jni_core/Cargo.toml @@ -3,29 +3,18 @@ name = "risingwave_jni_core" version = "0.1.0" edition = "2021" -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] anyhow = "1" bytes = "1" cfg-or-panic = "0.2" chrono = { version = "0.4", default-features = false } -foyer ={ workspace = true } fs-err = "3" futures = { version = "0.3", default-features = false, features = ["alloc"] } -itertools = { workspace = true } jni = { version = "0.21.1", features = ["invocation"] } paste = "1" prost = { workspace = true } risingwave_common = { workspace = true } risingwave_pb = { workspace = true } -rw_futures_util = { workspace = true } -serde = { version = "1.0", features = ["derive"] } -serde_json = "1.0" thiserror = "1" thiserror-ext = { workspace = true } tokio = { version = "0.2", package = "madsim-tokio", features = [ @@ -41,8 +30,6 @@ tracing = "0.1" [dev-dependencies] expect-test = "1" -risingwave_expr = { workspace = true } -risingwave_hummock_sdk = { workspace = true } [lints] workspace = true diff --git a/src/license/Cargo.toml b/src/license/Cargo.toml index b435747467e21..3c0c2e8f612ff 100644 --- a/src/license/Cargo.toml +++ b/src/license/Cargo.toml @@ -8,12 +8,6 @@ keywords = { workspace = true } license = { workspace = true } repository = { workspace = true } -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] jsonbb = { workspace = true } jsonwebtoken = "9" diff --git a/src/meta/Cargo.toml b/src/meta/Cargo.toml index 16a303609699b..582903c99a00a 100644 --- a/src/meta/Cargo.toml +++ b/src/meta/Cargo.toml @@ -7,21 +7,12 @@ keywords = { workspace = true } license = { workspace = true } repository = { workspace = true } -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] anyhow = "1" arc-swap = "1" assert_matches = "1" async-trait = "0.1" -aws-config = { workspace = true } -aws-sdk-ec2 = { workspace = true } base64-url = { version = "3.0.0" } -bincode = "1.3" bytes = { version = "1", features = ["serde"] } chrono = "0.4" clap = { workspace = true } @@ -32,17 +23,12 @@ educe = "0.6" either = "1" enum-as-inner = "0.6" fail = "0.5" -flate2 = "1" -function_name = "0.3.0" futures = { version = "0.3", default-features = false, features = ["alloc"] } hex = "0.4" http = "1" itertools = { workspace = true } jsonbb = { workspace = true } maplit = "1.0.2" -memcomparable = { version = "0.2" } -mime_guess = "2" -moka = { version = "0.12.3", features = ["future"] } notify = { version = "7", default-features = false, features = [ "macos_fsevent", ] } @@ -89,7 +75,6 @@ tokio-stream = { workspace = true } tonic = { workspace = true } tower = { version = "0.5", features = ["util", "load-shed"] } tracing = "0.1" -url = "2" uuid = { version = "1", features = ["v4"] } [target.'cfg(not(madsim))'.dependencies] diff --git a/src/meta/model/Cargo.toml b/src/meta/model/Cargo.toml index 991becc820642..530a67da3b9f5 100644 --- a/src/meta/model/Cargo.toml +++ b/src/meta/model/Cargo.toml @@ -7,17 +7,10 @@ keywords = { workspace = true } license = { workspace = true } repository = { workspace = true } -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] prost = { workspace = true } risingwave_common = { workspace = true } -risingwave_hummock_sdk = { workspace = true } risingwave_pb = { workspace = true } sea-orm = { workspace = true } serde = { version = "1.0.196", features = ["derive"] } -serde_json = "1.0.113" +serde_json = "1" diff --git a/src/meta/model/migration/Cargo.toml b/src/meta/model/migration/Cargo.toml index 9d9fbd5292d25..725e028cabdc7 100644 --- a/src/meta/model/migration/Cargo.toml +++ b/src/meta/model/migration/Cargo.toml @@ -7,12 +7,6 @@ keywords = { workspace = true } license = { workspace = true } repository = { workspace = true } -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] async-std = { version = "1", features = ["attributes", "tokio1"] } easy-ext = "1" diff --git a/src/meta/node/Cargo.toml b/src/meta/node/Cargo.toml index dc011842c3cd3..f3f13d546ec06 100644 --- a/src/meta/node/Cargo.toml +++ b/src/meta/node/Cargo.toml @@ -7,20 +7,10 @@ keywords = { workspace = true } license = { workspace = true } repository = { workspace = true } -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] -anyhow = "1" clap = { workspace = true } educe = "0.6" -either = "1" -futures = { version = "0.3", default-features = false, features = ["alloc"] } hex = "0.4" -itertools = { workspace = true } otlp-embedded = { workspace = true } prometheus-http-query = "0.8" redact = "0.1.5" @@ -29,12 +19,10 @@ risingwave_common = { workspace = true } risingwave_common_heap_profiling = { workspace = true } risingwave_common_service = { workspace = true } risingwave_meta = { workspace = true } -risingwave_meta_model_migration = { workspace = true } risingwave_meta_service = { workspace = true } risingwave_pb = { workspace = true } risingwave_rpc_client = { workspace = true } sea-orm = { workspace = true } -serde = { version = "1", features = ["derive"] } serde_json = "1" thiserror-ext = { workspace = true } tokio = { version = "0.2", package = "madsim-tokio", features = [ diff --git a/src/meta/service/Cargo.toml b/src/meta/service/Cargo.toml index 53c3708da0e12..b3fbe5e8bcb78 100644 --- a/src/meta/service/Cargo.toml +++ b/src/meta/service/Cargo.toml @@ -7,19 +7,11 @@ keywords = { workspace = true } license = { workspace = true } repository = { workspace = true } -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] anyhow = "1" async-trait = "0.1" -either = "1" futures = { version = "0.3", default-features = false, features = ["alloc"] } itertools = { workspace = true } -prost = { workspace = true } rand = { workspace = true } regex = "1" risingwave_common = { workspace = true } @@ -30,7 +22,6 @@ risingwave_meta_model = { workspace = true } risingwave_pb = { workspace = true } sea-orm = { workspace = true } serde_json = "1" -sync-point = { path = "../../utils/sync-point" } thiserror-ext = { workspace = true } tokio = { version = "0.2", package = "madsim-tokio", features = [ "rt", diff --git a/src/object_store/Cargo.toml b/src/object_store/Cargo.toml index 54bc6b4524f66..0e7d213a72321 100644 --- a/src/object_store/Cargo.toml +++ b/src/object_store/Cargo.toml @@ -15,6 +15,7 @@ workspace = true async-trait = "0.1" await-tree = { workspace = true } aws-config = { workspace = true } +# add the dependency explicitly to enable hardcoded-credentials feature aws-credential-types = { workspace = true } aws-sdk-s3 = { version = "0.5", package = "madsim-aws-sdk-s3" } aws-smithy-http = { workspace = true } @@ -23,12 +24,10 @@ aws-smithy-runtime-api = { workspace = true } aws-smithy-types = { workspace = true } bytes = { version = "1", features = ["serde"] } crc32fast = "1" -either = "1" fail = "0.5" futures = { version = "0.3", default-features = false, features = ["alloc"] } hyper = { version = "0.14", features = ["tcp", "client"] } # TODO(http-bump): required by aws sdk hyper-rustls = { version = "0.24.2", features = ["webpki-roots"] } -hyper-tls = "0.5.0" itertools = { workspace = true } madsim = "0.2.31" opendal = { workspace = true, features = [ @@ -56,11 +55,9 @@ tracing = "0.1" # This crate is excluded from hakari (see hakari.toml) after hdfs is introduced...## [target.'cfg(not(madsim))'.dependencies] # workspace-hack = { path = "../workspace-hack" } # -# [package.metadata.cargo-machete] -# ignored = ["workspace-hack"] # -# [package.metadata.cargo-udeps.ignore] -# normal = ["workspace-hack"] +# +# # [features] # hdfs-backend = ["opendal/services-hdfs", "dep:risingwave_jni_core"] diff --git a/src/prost/Cargo.toml b/src/prost/Cargo.toml index 230a654e0fcee..2918c41fcb89a 100644 --- a/src/prost/Cargo.toml +++ b/src/prost/Cargo.toml @@ -28,11 +28,5 @@ prost-build = { workspace = true } tonic-build = { workspace = true } walkdir = "2" -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [lints] workspace = true diff --git a/src/prost/helpers/Cargo.toml b/src/prost/helpers/Cargo.toml index c78ac3f2a8ece..177b1b97dadaa 100644 --- a/src/prost/helpers/Cargo.toml +++ b/src/prost/helpers/Cargo.toml @@ -11,11 +11,5 @@ proc-macro2 = { version = "1", default-features = false } quote = "1" syn = "2" -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [lints] workspace = true diff --git a/src/risedevtool/Cargo.toml b/src/risedevtool/Cargo.toml index 2c415d9f5da78..3334ea6bd4162 100644 --- a/src/risedevtool/Cargo.toml +++ b/src/risedevtool/Cargo.toml @@ -7,12 +7,6 @@ keywords = { workspace = true } license = { workspace = true } repository = { workspace = true } -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] anyhow = { version = "1", features = ["backtrace"] } chrono = { version = "0.4", default-features = false, features = [ @@ -32,7 +26,6 @@ redis = "0.25" regex = "1" reqwest = { version = "0.12.2", features = ["blocking"] } serde = { version = "1", features = ["derive"] } -serde_json = "1" serde_with = "3" serde_yaml = "0.9" sqlx = { workspace = true, features = ["any"] } diff --git a/src/rpc_client/Cargo.toml b/src/rpc_client/Cargo.toml index 1da4027c5110c..d10a7d8d766d7 100644 --- a/src/rpc_client/Cargo.toml +++ b/src/rpc_client/Cargo.toml @@ -7,22 +7,13 @@ keywords = { workspace = true } license = { workspace = true } repository = { workspace = true } -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] anyhow = "1" async-trait = "0.1" easy-ext = "1" either = "1.13.0" futures = { version = "0.3", default-features = false, features = ["alloc"] } -h2 = "0.4.6" # https://github.com/risingwavelabs/risingwave/issues/18039 http = "1" -hyper = "1" -itertools = { workspace = true } lru = { workspace = true } moka = { version = "0.12.0", features = ["future"] } paste = "1" @@ -48,7 +39,6 @@ tokio-stream = { workspace = true } tonic = { workspace = true } tower = "0.5" tracing = "0.1" -url = "2.5.0" [dev-dependencies] risingwave_hummock_sdk = { workspace = true } diff --git a/src/sqlparser/Cargo.toml b/src/sqlparser/Cargo.toml index 7638d27208beb..18c1068122d34 100644 --- a/src/sqlparser/Cargo.toml +++ b/src/sqlparser/Cargo.toml @@ -15,12 +15,6 @@ path = "src/lib.rs" default = ["std"] std = [] -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] itertools = { workspace = true } serde = { version = "1.0", features = ["derive"], optional = true } diff --git a/src/sqlparser/fuzz/Cargo.toml b/src/sqlparser/fuzz/Cargo.toml index 24ebb8e6ba7fd..c031295f78fec 100644 --- a/src/sqlparser/fuzz/Cargo.toml +++ b/src/sqlparser/fuzz/Cargo.toml @@ -4,11 +4,9 @@ version = "0.1.0" edition = "2018" publish = false -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] + + [dependencies] honggfuzz = "0.5.54" diff --git a/src/sqlparser/sqlparser_bench/Cargo.toml b/src/sqlparser/sqlparser_bench/Cargo.toml index f28d7ef75e2a2..a654ad5a6fb94 100644 --- a/src/sqlparser/sqlparser_bench/Cargo.toml +++ b/src/sqlparser/sqlparser_bench/Cargo.toml @@ -4,11 +4,9 @@ version = "0.1.0" authors = ["Dandandan "] edition = "2018" -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] + + [dependencies] risingwave_sqlparser = { workspace = true } diff --git a/src/storage/Cargo.toml b/src/storage/Cargo.toml index a5ccd017bdd75..39dc955964105 100644 --- a/src/storage/Cargo.toml +++ b/src/storage/Cargo.toml @@ -7,22 +7,13 @@ keywords = { workspace = true } license = { workspace = true } repository = { workspace = true } -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] -ahash = "0.8.7" anyhow = "1" arc-swap = "1" async-trait = "0.1" auto_enums = { workspace = true } await-tree = { workspace = true } bytes = { version = "1", features = ["serde"] } -crossbeam = "0.8.2" -dashmap = { version = "6", default-features = false } dyn-clone = "1.0.14" either = "1" enum-as-inner = "0.6" diff --git a/src/storage/backup/Cargo.toml b/src/storage/backup/Cargo.toml index 23a2c99567c48..f9b88044eb69e 100644 --- a/src/storage/backup/Cargo.toml +++ b/src/storage/backup/Cargo.toml @@ -7,16 +7,9 @@ keywords = { workspace = true } license = { workspace = true } repository = { workspace = true } -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] anyhow = "1" async-trait = "0.1" -bincode = "1.3" bytes = { version = "1", features = ["serde"] } itertools = { workspace = true } parking_lot = { workspace = true } diff --git a/src/storage/compactor/Cargo.toml b/src/storage/compactor/Cargo.toml index ed8f421ee6384..d94da125ca3ec 100644 --- a/src/storage/compactor/Cargo.toml +++ b/src/storage/compactor/Cargo.toml @@ -8,18 +8,11 @@ license = { workspace = true } repository = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] async-trait = "0.1" await-tree = { workspace = true } clap = { workspace = true } jsonbb = { workspace = true } -parking_lot = { workspace = true } prost = { workspace = true } risingwave_common = { workspace = true } risingwave_common_heap_profiling = { workspace = true } diff --git a/src/storage/hummock_sdk/Cargo.toml b/src/storage/hummock_sdk/Cargo.toml index 47042e659a35c..ec9f06fbdcd29 100644 --- a/src/storage/hummock_sdk/Cargo.toml +++ b/src/storage/hummock_sdk/Cargo.toml @@ -7,24 +7,15 @@ keywords = { workspace = true } license = { workspace = true } repository = { workspace = true } -[package.metadata.cargo-machete] -ignored = ["workspace-hack", "num-traits"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] bytes = "1" -easy-ext = "1" hex = "0.4" itertools = { workspace = true } parse-display = "0.10" -prost = { workspace = true } risingwave_common = { workspace = true } risingwave_common_estimate_size = { workspace = true } risingwave_pb = { workspace = true } serde = { version = "1", features = ["derive"] } -serde_bytes = "0.11" tracing = "0.1" [target.'cfg(not(madsim))'.dependencies] diff --git a/src/storage/hummock_test/Cargo.toml b/src/storage/hummock_test/Cargo.toml index da96b5883462a..45a5ce62c5ba1 100644 --- a/src/storage/hummock_test/Cargo.toml +++ b/src/storage/hummock_test/Cargo.toml @@ -8,12 +8,6 @@ license = { workspace = true } repository = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] async-trait = "0.1" bytes = { version = "1" } @@ -34,7 +28,7 @@ risingwave_object_store = { workspace = true } risingwave_pb = { workspace = true } risingwave_rpc_client = { workspace = true } risingwave_storage = { workspace = true, features = ["test"] } -serde = { version = "1", features = ["derive"] } +serial_test = { version = "3.2", optional = true } tokio = { version = "0.2", package = "madsim-tokio" } [target.'cfg(not(madsim))'.dependencies] @@ -51,12 +45,11 @@ futures = { version = "0.3", default-features = false, features = [ futures-async-stream = "0.2.9" risingwave_hummock_sdk = { workspace = true } risingwave_test_runner = { workspace = true } -serial_test = "3.2" sync-point = { path = "../../utils/sync-point" } [features] failpoints = ["risingwave_storage/failpoints"] -sync_point = ["sync-point/sync_point"] +sync_point = ["sync-point/sync_point", "serial_test"] test = [] [[bench]] diff --git a/src/stream/Cargo.toml b/src/stream/Cargo.toml index 8a0061ab99ea9..0061174fbbd7b 100644 --- a/src/stream/Cargo.toml +++ b/src/stream/Cargo.toml @@ -8,12 +8,6 @@ license = { workspace = true } repository = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] anyhow = "1" arc-swap = "1" @@ -25,6 +19,7 @@ await-tree = { workspace = true } bytes = "1" cfg-if = "1" delta_btree_map = { path = "../utils/delta_btree_map" } +dhat = { version = "0.3", optional = true } educe = "0.6" either = "1" enum-as-inner = "0.6" @@ -32,11 +27,7 @@ fail = "0.5" foyer = { workspace = true } futures = { version = "0.3", default-features = false, features = ["alloc"] } futures-async-stream = { workspace = true } -governor = { version = "0.6", default-features = false, features = [ - "std", - "dashmap", - "jitter", -] } +governor = { workspace = true } hytra = "0.1.2" itertools = { workspace = true } jsonbb = { workspace = true } @@ -65,7 +56,6 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1" smallvec = "1" static_assertions = "1" -strum = "0.26" strum_macros = "0.26" thiserror = "1" thiserror-ext = { workspace = true } @@ -91,7 +81,6 @@ workspace-hack = { path = "../workspace-hack" } [dev-dependencies] assert_matches = "1" criterion = { workspace = true, features = ["async_tokio", "async"] } -dhat = "0.3" expect-test = "1" risingwave_expr_impl = { workspace = true } risingwave_hummock_sdk = { workspace = true } @@ -102,7 +91,7 @@ serde_yaml = "0.9" tracing-test = "0.2" [features] -dhat-heap = [] +dhat-heap = ["dhat"] [[bench]] name = "stream_hash_agg" diff --git a/src/stream/spill_test/Cargo.toml b/src/stream/spill_test/Cargo.toml index fe4fddfe2b1c3..b979fdfa30b80 100644 --- a/src/stream/spill_test/Cargo.toml +++ b/src/stream/spill_test/Cargo.toml @@ -8,14 +8,8 @@ license = { workspace = true } repository = { workspace = true } [dependencies] -async-trait = "0.1" -bytes = { version = "1" } -futures = { version = "0.3", default-features = false, features = ["alloc"] } -futures-async-stream = "0.2.9" risingwave_common = { workspace = true } -risingwave_hummock_sdk = { workspace = true } risingwave_hummock_test = { workspace = true, features = ["test"] } -risingwave_storage = { workspace = true, features = ["test"] } risingwave_stream = { workspace = true } tokio = { version = "0.2", package = "madsim-tokio" } diff --git a/src/test_runner/Cargo.toml b/src/test_runner/Cargo.toml index 3b9819bd45dad..23ecd648aa57e 100644 --- a/src/test_runner/Cargo.toml +++ b/src/test_runner/Cargo.toml @@ -8,12 +8,6 @@ license = { workspace = true } repository = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] fail = "0.5" sync-point = { path = "../utils/sync-point" } diff --git a/src/tests/compaction_test/Cargo.toml b/src/tests/compaction_test/Cargo.toml index 3bc86649ea3b3..2351e750c2a95 100644 --- a/src/tests/compaction_test/Cargo.toml +++ b/src/tests/compaction_test/Cargo.toml @@ -8,28 +8,15 @@ license = { workspace = true } repository = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] anyhow = "1" -async-trait = "0.1" bytes = "1" clap = { workspace = true } foyer = { workspace = true } -futures = { version = "0.3", default-features = false, features = ["alloc"] } -prometheus = { version = "0.13" } -rand = { workspace = true } risingwave_common = { workspace = true } risingwave_compactor = { workspace = true } risingwave_hummock_sdk = { workspace = true } -risingwave_hummock_test = { workspace = true } -risingwave_meta = { workspace = true } risingwave_meta_node = { workspace = true } -risingwave_object_store = { workspace = true } risingwave_pb = { workspace = true } risingwave_rpc_client = { workspace = true } risingwave_rt = { workspace = true } diff --git a/src/tests/e2e_extended_mode/Cargo.toml b/src/tests/e2e_extended_mode/Cargo.toml index 2e88f009742a7..8e4e16f2c41cd 100644 --- a/src/tests/e2e_extended_mode/Cargo.toml +++ b/src/tests/e2e_extended_mode/Cargo.toml @@ -7,12 +7,6 @@ keywords = { workspace = true } license = { workspace = true } repository = { workspace = true } -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] anyhow = { version = "1", features = ["backtrace"] } chrono = { version = "0.4", features = ['serde'] } diff --git a/src/tests/libpq_test/Cargo.toml b/src/tests/libpq_test/Cargo.toml index 84cefac33ef6e..8e618be7928ee 100644 --- a/src/tests/libpq_test/Cargo.toml +++ b/src/tests/libpq_test/Cargo.toml @@ -7,6 +7,5 @@ version = "0.1.0" edition = "2021" [dependencies] -anyhow = "1" libpq = "3.0" clap = { workspace = true } diff --git a/src/tests/regress/Cargo.toml b/src/tests/regress/Cargo.toml index 65248877adf60..a5095d40a7f80 100644 --- a/src/tests/regress/Cargo.toml +++ b/src/tests/regress/Cargo.toml @@ -7,12 +7,6 @@ keywords = { workspace = true } license = { workspace = true } repository = { workspace = true } -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] anyhow = { version = "1", features = ["backtrace"] } clap = { workspace = true } diff --git a/src/tests/simulation/Cargo.toml b/src/tests/simulation/Cargo.toml index 76f2e263d7290..0c402a551b8b8 100644 --- a/src/tests/simulation/Cargo.toml +++ b/src/tests/simulation/Cargo.toml @@ -5,15 +5,11 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [package.metadata.cargo-machete] -ignored = ["serde"] - -[package.metadata.cargo-udeps.ignore] -normal = ["serde"] +ignored = ["tikv-jemallocator"] [dependencies] anyhow = "1.0" async-trait = "0.1" -aws-sdk-s3 = { version = "0.5", package = "madsim-aws-sdk-s3" } cfg-or-panic = "0.2" clap = { workspace = true } console = "0.15" @@ -28,7 +24,6 @@ maplit = "1" paste = "1" pin-project = "1.1" pretty_assertions = "1" -prometheus = { version = "0.13" } rand = { workspace = true } rand_chacha = { version = "0.3.1" } rdkafka = { workspace = true } @@ -45,7 +40,6 @@ risingwave_hummock_sdk = { workspace = true } risingwave_meta_node = { workspace = true } risingwave_object_store = { workspace = true } risingwave_pb = { workspace = true } -risingwave_rpc_client = { workspace = true } risingwave_sqlparser = { workspace = true } risingwave_sqlsmith = { workspace = true } serde = "1.0.188" @@ -56,7 +50,6 @@ tempfile = "3" tikv-jemallocator = { workspace = true } tokio = { version = "0.2", package = "madsim-tokio" } tokio-postgres = "0.7" -tokio-stream = { workspace = true } tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter"] } uuid = "*" diff --git a/src/tests/sqlsmith/Cargo.toml b/src/tests/sqlsmith/Cargo.toml index c7cf9da9ce299..740749e58d572 100644 --- a/src/tests/sqlsmith/Cargo.toml +++ b/src/tests/sqlsmith/Cargo.toml @@ -7,12 +7,6 @@ keywords = { workspace = true } license = { workspace = true } repository = { workspace = true } -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] anyhow = "1" chrono = "0.4" @@ -25,7 +19,6 @@ risingwave_common = { workspace = true } risingwave_expr = { workspace = true } risingwave_expr_impl = { workspace = true } risingwave_frontend = { workspace = true } -risingwave_pb = { workspace = true } risingwave_sqlparser = { workspace = true } similar = "2.6.0" thiserror-ext = { workspace = true } diff --git a/src/tests/state_cleaning_test/Cargo.toml b/src/tests/state_cleaning_test/Cargo.toml index 6c12898343951..5a5fa90d3a85a 100644 --- a/src/tests/state_cleaning_test/Cargo.toml +++ b/src/tests/state_cleaning_test/Cargo.toml @@ -7,17 +7,10 @@ keywords = { workspace = true } license = { workspace = true } repository = { workspace = true } -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] anyhow = "1" clap = { workspace = true } futures = { version = "0.3", default-features = false, features = ["alloc"] } -prometheus = { version = "0.13" } regex = "1" risingwave_rt = { workspace = true } serde = { version = "1", features = ["derive"] } diff --git a/src/utils/delta_btree_map/Cargo.toml b/src/utils/delta_btree_map/Cargo.toml index 274a028489395..879f740e89425 100644 --- a/src/utils/delta_btree_map/Cargo.toml +++ b/src/utils/delta_btree_map/Cargo.toml @@ -8,12 +8,6 @@ license = { workspace = true } repository = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] educe = "0.6" enum-as-inner = "0.6" diff --git a/src/utils/futures_util/Cargo.toml b/src/utils/futures_util/Cargo.toml index 97bd794daaf8d..d8e763938e3e8 100644 --- a/src/utils/futures_util/Cargo.toml +++ b/src/utils/futures_util/Cargo.toml @@ -5,12 +5,6 @@ license = { workspace = true } repository = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] futures = "0.3" pin-project-lite = "0.2" diff --git a/src/utils/iter_util/Cargo.toml b/src/utils/iter_util/Cargo.toml index d730c1cbc908e..2bfec2cedf147 100644 --- a/src/utils/iter_util/Cargo.toml +++ b/src/utils/iter_util/Cargo.toml @@ -5,12 +5,6 @@ license = { workspace = true } repository = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] itertools = { workspace = true } diff --git a/src/utils/local_stats_alloc/Cargo.toml b/src/utils/local_stats_alloc/Cargo.toml index d80d3db38109c..b92b0b0e1359a 100644 --- a/src/utils/local_stats_alloc/Cargo.toml +++ b/src/utils/local_stats_alloc/Cargo.toml @@ -14,11 +14,5 @@ workspace-hack = { path = "../../workspace-hack" } [dev-dependencies] -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [lints] workspace = true diff --git a/src/utils/pgwire/Cargo.toml b/src/utils/pgwire/Cargo.toml index 8f0e55ff8446b..2275ed5a20571 100644 --- a/src/utils/pgwire/Cargo.toml +++ b/src/utils/pgwire/Cargo.toml @@ -8,12 +8,6 @@ license = { workspace = true } repository = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] anyhow = { version = "1.0", default-features = false } auto_enums = { workspace = true } diff --git a/src/utils/resource_util/Cargo.toml b/src/utils/resource_util/Cargo.toml index 9680c5054bc31..175052cdfbd16 100644 --- a/src/utils/resource_util/Cargo.toml +++ b/src/utils/resource_util/Cargo.toml @@ -5,12 +5,6 @@ license = { workspace = true } repository = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] fs-err = "3" sysinfo = { version = "0.33", default-features = false, features = ["system"] } diff --git a/src/utils/runtime/Cargo.toml b/src/utils/runtime/Cargo.toml index b34cd499f9ddd..0ecadea5aeb9a 100644 --- a/src/utils/runtime/Cargo.toml +++ b/src/utils/runtime/Cargo.toml @@ -8,12 +8,6 @@ license = { workspace = true } repository = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] await-tree = { workspace = true } console = "0.15" diff --git a/src/utils/sync-point/Cargo.toml b/src/utils/sync-point/Cargo.toml index d228bfbe79a35..27b908bc517b1 100644 --- a/src/utils/sync-point/Cargo.toml +++ b/src/utils/sync-point/Cargo.toml @@ -4,12 +4,6 @@ version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] futures-util = "0.3" spin = "0.9" diff --git a/src/utils/variables/Cargo.toml b/src/utils/variables/Cargo.toml index 7bcc1b2d963c0..c897c42986f2a 100644 --- a/src/utils/variables/Cargo.toml +++ b/src/utils/variables/Cargo.toml @@ -8,12 +8,6 @@ license = { workspace = true } repository = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html -[package.metadata.cargo-machete] -ignored = ["workspace-hack"] - -[package.metadata.cargo-udeps.ignore] -normal = ["workspace-hack"] - [dependencies] chrono = { version = "0.4", default-features = false, features = [ "clock",