From bd7d8a97aa45bab150c7e49da9e793edf8a2264e Mon Sep 17 00:00:00 2001 From: Robert Kruszewski Date: Wed, 16 Sep 2026 09:26:11 -0400 Subject: [PATCH 1/3] Fix deprecations flagged by cargo build on new rust version Signed-off-by: Robert Kruszewski --- Cargo.toml | 4 ---- benchmarks/bench-support/Cargo.toml | 1 - benchmarks/compress-bench/Cargo.toml | 1 - benchmarks/datafusion-bench/Cargo.toml | 1 - benchmarks/duckdb-bench/Cargo.toml | 1 - benchmarks/lance-bench/Cargo.toml | 1 - benchmarks/random-access-bench/Cargo.toml | 1 - benchmarks/string-bench/Cargo.toml | 1 - encodings/alp/Cargo.toml | 1 - encodings/bytebool/Cargo.toml | 1 - encodings/datetime-parts/Cargo.toml | 1 - encodings/decimal-byte-parts/Cargo.toml | 1 - encodings/fastlanes/Cargo.toml | 1 - encodings/fsst/Cargo.toml | 2 -- encodings/onpair/Cargo.toml | 2 -- encodings/parquet-variant/Cargo.toml | 1 - encodings/pco/Cargo.toml | 1 - encodings/runend/Cargo.toml | 1 - encodings/sequence/Cargo.toml | 1 - encodings/sparse/Cargo.toml | 1 - encodings/uuid/Cargo.toml | 1 - encodings/zigzag/Cargo.toml | 1 - encodings/zstd/Cargo.toml | 1 - fuzz/Cargo.toml | 2 -- vortex-array-macros/Cargo.toml | 1 - vortex-array/Cargo.toml | 2 -- vortex-arrow/Cargo.toml | 1 - vortex-bench/Cargo.toml | 2 -- vortex-btrblocks/Cargo.toml | 2 -- vortex-buffer/Cargo.toml | 2 -- vortex-cloud/Cargo.toml | 1 - vortex-compressor/Cargo.toml | 1 - vortex-compute/Cargo.toml | 1 - vortex-cuda/Cargo.toml | 1 - vortex-cuda/cub/Cargo.toml | 1 - vortex-cuda/ffi/Cargo.toml | 2 -- vortex-cuda/gpu-scan-cli/Cargo.toml | 1 - vortex-cuda/macros/Cargo.toml | 1 - vortex-cuda/nvcomp/Cargo.toml | 1 - vortex-datafusion/Cargo.toml | 1 - vortex-duckdb/Cargo.toml | 1 - vortex-edition/Cargo.toml | 1 - vortex-error/Cargo.toml | 1 - vortex-ffi/Cargo.toml | 2 -- vortex-file/Cargo.toml | 2 -- vortex-io/Cargo.toml | 1 - vortex-ipc/Cargo.toml | 1 - vortex-jni/Cargo.toml | 2 -- vortex-json/Cargo.toml | 1 - vortex-layout/Cargo.toml | 1 - vortex-mask/Cargo.toml | 1 - vortex-metrics/Cargo.toml | 1 - vortex-metrics/src/gauge.rs | 4 ++-- vortex-python-abi/Cargo.toml | 1 - vortex-python-cuda/Cargo.toml | 1 - vortex-python/Cargo.toml | 1 - vortex-row/Cargo.toml | 1 - vortex-scan/Cargo.toml | 2 -- vortex-session/Cargo.toml | 1 - vortex-spatial/Cargo.toml | 2 -- vortex-sqllogictest/Cargo.toml | 2 -- vortex-tensor/Cargo.toml | 1 - vortex-test/compat-gen/Cargo.toml | 1 - vortex-test/e2e-cuda/Cargo.toml | 1 - vortex-tui/Cargo.toml | 2 -- vortex-utils/Cargo.toml | 1 - vortex/Cargo.toml | 1 - xtask/Cargo.toml | 2 -- 68 files changed, 2 insertions(+), 88 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index eedefdaac62..24d81b774eb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -78,7 +78,6 @@ resolver = "3" authors = ["Vortex Authors "] categories = ["database-implementations", "data-structures", "compression"] edition = "2024" -homepage = "https://github.com/vortex-data/vortex" include = [ "build.rs", @@ -111,7 +110,6 @@ arrow-ipc = "59.2" arrow-row = "59.2" arrow-schema = "59.2" arrow-select = "59.2" -arrow-string = "59.2" async-executor = "1.14.0" async-fs = "2.2.0" async-lock = "3.4" @@ -231,7 +229,6 @@ rand = "0.10.1" rand_distr = "0.6" ratatui = { version = "0.30", default-features = false } regex = "1.12" -regex-automata = "0.4" regex-syntax = "0.8.9" reqwest = { version = "0.13.0", features = [ "blocking", @@ -268,7 +265,6 @@ syn = { version = "3.0.2", features = ["full"] } sysinfo = "0.38.0" tabled = { version = "0.21.0", default-features = false } taffy = "0.12" -take_mut = "0.2.2" tar = "0.4" target-lexicon = "0.13" temp-env = "0.3" diff --git a/benchmarks/bench-support/Cargo.toml b/benchmarks/bench-support/Cargo.toml index 06b364c3085..01af09539db 100644 --- a/benchmarks/bench-support/Cargo.toml +++ b/benchmarks/bench-support/Cargo.toml @@ -4,7 +4,6 @@ description = "Proc macros for gating Vortex benchmarks by CPU architecture and authors = { workspace = true } categories = { workspace = true } edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/benchmarks/compress-bench/Cargo.toml b/benchmarks/compress-bench/Cargo.toml index bccf3c9a70f..af369461eac 100644 --- a/benchmarks/compress-bench/Cargo.toml +++ b/benchmarks/compress-bench/Cargo.toml @@ -4,7 +4,6 @@ description = "Compression benchmarks for Vortex and other formats" authors.workspace = true categories.workspace = true edition.workspace = true -homepage.workspace = true include.workspace = true keywords.workspace = true license.workspace = true diff --git a/benchmarks/datafusion-bench/Cargo.toml b/benchmarks/datafusion-bench/Cargo.toml index 73b00b0296c..b8eac2a5ab3 100644 --- a/benchmarks/datafusion-bench/Cargo.toml +++ b/benchmarks/datafusion-bench/Cargo.toml @@ -4,7 +4,6 @@ description = "Datafusion benchmarks" authors = { workspace = true } categories = { workspace = true } edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/benchmarks/duckdb-bench/Cargo.toml b/benchmarks/duckdb-bench/Cargo.toml index 5970978d4f9..2acd8a94792 100644 --- a/benchmarks/duckdb-bench/Cargo.toml +++ b/benchmarks/duckdb-bench/Cargo.toml @@ -4,7 +4,6 @@ description = "DuckDB benchmarks tool" authors.workspace = true categories.workspace = true edition.workspace = true -homepage.workspace = true include.workspace = true keywords.workspace = true license.workspace = true diff --git a/benchmarks/lance-bench/Cargo.toml b/benchmarks/lance-bench/Cargo.toml index 816cebaffa5..852dfaf71fb 100644 --- a/benchmarks/lance-bench/Cargo.toml +++ b/benchmarks/lance-bench/Cargo.toml @@ -4,7 +4,6 @@ description = "Lance benchmark tool" authors.workspace = true categories.workspace = true edition.workspace = true -homepage.workspace = true include.workspace = true keywords.workspace = true license.workspace = true diff --git a/benchmarks/random-access-bench/Cargo.toml b/benchmarks/random-access-bench/Cargo.toml index 1aeefd19116..af5f0b6b48c 100644 --- a/benchmarks/random-access-bench/Cargo.toml +++ b/benchmarks/random-access-bench/Cargo.toml @@ -4,7 +4,6 @@ description = "Random access benchmarks for Vortex and other formats" authors.workspace = true categories.workspace = true edition.workspace = true -homepage.workspace = true include.workspace = true keywords.workspace = true license.workspace = true diff --git a/benchmarks/string-bench/Cargo.toml b/benchmarks/string-bench/Cargo.toml index 53920beecf4..f77ee299b96 100644 --- a/benchmarks/string-bench/Cargo.toml +++ b/benchmarks/string-bench/Cargo.toml @@ -4,7 +4,6 @@ description = "Vortex string benchmarks for direct compression and serialized wr authors.workspace = true categories.workspace = true edition.workspace = true -homepage.workspace = true include.workspace = true keywords.workspace = true license.workspace = true diff --git a/encodings/alp/Cargo.toml b/encodings/alp/Cargo.toml index 7da81b60d99..8907e85aec8 100644 --- a/encodings/alp/Cargo.toml +++ b/encodings/alp/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Vortex ALP array" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/encodings/bytebool/Cargo.toml b/encodings/bytebool/Cargo.toml index 53197452ff5..30b4429b54c 100644 --- a/encodings/bytebool/Cargo.toml +++ b/encodings/bytebool/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Vortex byte-boolean array" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/encodings/datetime-parts/Cargo.toml b/encodings/datetime-parts/Cargo.toml index 19f2490573a..1316f10245f 100644 --- a/encodings/datetime-parts/Cargo.toml +++ b/encodings/datetime-parts/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Vortex physical encoding that compresses temporal components individually" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/encodings/decimal-byte-parts/Cargo.toml b/encodings/decimal-byte-parts/Cargo.toml index 6c3312be43f..dcccabf001a 100644 --- a/encodings/decimal-byte-parts/Cargo.toml +++ b/encodings/decimal-byte-parts/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Vortex decimal array (non-canonical) encodings" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/encodings/fastlanes/Cargo.toml b/encodings/fastlanes/Cargo.toml index 84e1e811966..c9b93379d10 100644 --- a/encodings/fastlanes/Cargo.toml +++ b/encodings/fastlanes/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Vortex fastlanes arrays" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/encodings/fsst/Cargo.toml b/encodings/fsst/Cargo.toml index 0603eee0519..bed3d549256 100644 --- a/encodings/fsst/Cargo.toml +++ b/encodings/fsst/Cargo.toml @@ -4,11 +4,9 @@ authors = { workspace = true } categories = { workspace = true } description = "Vortex FSST string array encoding" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } -readme = "README.md" repository = { workspace = true } rust-version = { workspace = true } version = { workspace = true } diff --git a/encodings/onpair/Cargo.toml b/encodings/onpair/Cargo.toml index 4d782caa6d9..4c82ba08aba 100644 --- a/encodings/onpair/Cargo.toml +++ b/encodings/onpair/Cargo.toml @@ -4,11 +4,9 @@ authors = { workspace = true } categories = { workspace = true } description = "Vortex OnPair string array encoding (dict-12, pushdown predicates)" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } -readme = "README.md" repository = { workspace = true } rust-version = { workspace = true } version = { workspace = true } diff --git a/encodings/parquet-variant/Cargo.toml b/encodings/parquet-variant/Cargo.toml index ef4134d46ea..bb7e786b5ef 100644 --- a/encodings/parquet-variant/Cargo.toml +++ b/encodings/parquet-variant/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Vortex Parquet Variant array" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/encodings/pco/Cargo.toml b/encodings/pco/Cargo.toml index ded53693070..2262591e837 100644 --- a/encodings/pco/Cargo.toml +++ b/encodings/pco/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Vortex Pco array" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/encodings/runend/Cargo.toml b/encodings/runend/Cargo.toml index 72a4581e5a6..0e1101b4297 100644 --- a/encodings/runend/Cargo.toml +++ b/encodings/runend/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Vortex run end encoded array" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/encodings/sequence/Cargo.toml b/encodings/sequence/Cargo.toml index e307d07f075..a7c96a8e8d7 100644 --- a/encodings/sequence/Cargo.toml +++ b/encodings/sequence/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Vortex run end encoded array" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/encodings/sparse/Cargo.toml b/encodings/sparse/Cargo.toml index 8f5db518478..78f8b9faeb0 100644 --- a/encodings/sparse/Cargo.toml +++ b/encodings/sparse/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Vortex Sparse array" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/encodings/uuid/Cargo.toml b/encodings/uuid/Cargo.toml index 8992d707977..26583e18529 100644 --- a/encodings/uuid/Cargo.toml +++ b/encodings/uuid/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Vortex UUID extension type" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/encodings/zigzag/Cargo.toml b/encodings/zigzag/Cargo.toml index 83e6d324ed1..c98a5702e65 100644 --- a/encodings/zigzag/Cargo.toml +++ b/encodings/zigzag/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Vortex zig zag array" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/encodings/zstd/Cargo.toml b/encodings/zstd/Cargo.toml index 6ab7b2ab31b..bc4e7af199b 100644 --- a/encodings/zstd/Cargo.toml +++ b/encodings/zstd/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Vortex zstd compression array encoding" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index 13f307e8b14..e2769e3078e 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -4,12 +4,10 @@ authors = { workspace = true } categories = { workspace = true } description = "Fuzzer for vortex arrays" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } publish = false -readme = "README.md" repository = { workspace = true } rust-version = { workspace = true } version = { workspace = true } diff --git a/vortex-array-macros/Cargo.toml b/vortex-array-macros/Cargo.toml index 3d5ac1d60d8..c9fc6eb004c 100644 --- a/vortex-array-macros/Cargo.toml +++ b/vortex-array-macros/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Proc macros for slot-oriented Vortex array helpers" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/vortex-array/Cargo.toml b/vortex-array/Cargo.toml index e97927ce430..4f87bff355a 100644 --- a/vortex-array/Cargo.toml +++ b/vortex-array/Cargo.toml @@ -4,11 +4,9 @@ authors = { workspace = true } categories = { workspace = true } description = "Vortex in memory columnar data format" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } -readme = "README.md" repository = { workspace = true } rust-version = { workspace = true } diff --git a/vortex-arrow/Cargo.toml b/vortex-arrow/Cargo.toml index ac02ae2a736..8605b37a3f0 100644 --- a/vortex-arrow/Cargo.toml +++ b/vortex-arrow/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Apache Arrow interoperability for Vortex arrays" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/vortex-bench/Cargo.toml b/vortex-bench/Cargo.toml index a63f954a637..5230f73024d 100644 --- a/vortex-bench/Cargo.toml +++ b/vortex-bench/Cargo.toml @@ -3,12 +3,10 @@ name = "vortex-bench" authors = { workspace = true } description = "End to end vortex benchmarks" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } publish = false -readme = "README.md" repository = { workspace = true } rust-version = { workspace = true } version = { workspace = true } diff --git a/vortex-btrblocks/Cargo.toml b/vortex-btrblocks/Cargo.toml index 128e3f2ae25..19cb3c488a7 100644 --- a/vortex-btrblocks/Cargo.toml +++ b/vortex-btrblocks/Cargo.toml @@ -4,11 +4,9 @@ authors = { workspace = true } categories = { workspace = true } description = "BtrBlocks style compressor" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } -readme = "README.md" repository = { workspace = true } rust-version = { workspace = true } version = { workspace = true } diff --git a/vortex-buffer/Cargo.toml b/vortex-buffer/Cargo.toml index 6cdd999aefc..e69eb7e4456 100644 --- a/vortex-buffer/Cargo.toml +++ b/vortex-buffer/Cargo.toml @@ -4,11 +4,9 @@ authors = { workspace = true } categories = { workspace = true } description = "A byte buffer implementation for Vortex" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } -readme = "README.md" repository = { workspace = true } rust-version = { workspace = true } version = { workspace = true } diff --git a/vortex-cloud/Cargo.toml b/vortex-cloud/Cargo.toml index 7ac7de96104..c06453db36c 100644 --- a/vortex-cloud/Cargo.toml +++ b/vortex-cloud/Cargo.toml @@ -2,7 +2,6 @@ name = "vortex-cloud" description = "Cloud object store integration for Vortex: URL resolution and OpenDAL-backed services" version = { workspace = true } -homepage = { workspace = true } repository = { workspace = true } authors = { workspace = true } license = { workspace = true } diff --git a/vortex-compressor/Cargo.toml b/vortex-compressor/Cargo.toml index a1c5eba502d..deb69e31728 100644 --- a/vortex-compressor/Cargo.toml +++ b/vortex-compressor/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Encoding-agnostic compression framework for Vortex arrays" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/vortex-compute/Cargo.toml b/vortex-compute/Cargo.toml index 07b489ede83..fc90b7029df 100644 --- a/vortex-compute/Cargo.toml +++ b/vortex-compute/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Lane-level compute kernels for Vortex buffers" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/vortex-cuda/Cargo.toml b/vortex-cuda/Cargo.toml index d5237fd1f49..73f1c573e9d 100644 --- a/vortex-cuda/Cargo.toml +++ b/vortex-cuda/Cargo.toml @@ -3,7 +3,6 @@ name = "vortex-cuda" authors.workspace = true description = "CUDA compute for Vortex" edition = { workspace = true } -homepage = { workspace = true } categories = { workspace = true } include = { workspace = true } keywords = { workspace = true } diff --git a/vortex-cuda/cub/Cargo.toml b/vortex-cuda/cub/Cargo.toml index c37fd18ec83..b90ed54dc7c 100644 --- a/vortex-cuda/cub/Cargo.toml +++ b/vortex-cuda/cub/Cargo.toml @@ -6,7 +6,6 @@ name = "vortex-cub" authors.workspace = true description = "Rust bindings to NVIDIA CUB library for Vortex GPU operations" edition = { workspace = true } -homepage = { workspace = true } categories = { workspace = true } include = { workspace = true } keywords = { workspace = true } diff --git a/vortex-cuda/ffi/Cargo.toml b/vortex-cuda/ffi/Cargo.toml index 6ec839c100f..323c709e70b 100644 --- a/vortex-cuda/ffi/Cargo.toml +++ b/vortex-cuda/ffi/Cargo.toml @@ -1,10 +1,8 @@ [package] name = "vortex-cuda-ffi" description = "Native C FFI bindings for Vortex CUDA interop" -readme = "README.md" publish = false version = { workspace = true } -homepage = { workspace = true } repository = { workspace = true } authors = { workspace = true } license = { workspace = true } diff --git a/vortex-cuda/gpu-scan-cli/Cargo.toml b/vortex-cuda/gpu-scan-cli/Cargo.toml index 468158a35ba..67bc1765345 100644 --- a/vortex-cuda/gpu-scan-cli/Cargo.toml +++ b/vortex-cuda/gpu-scan-cli/Cargo.toml @@ -3,7 +3,6 @@ name = "gpu-scan-cli" authors = { workspace = true } description = "CUDA scan testing" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/vortex-cuda/macros/Cargo.toml b/vortex-cuda/macros/Cargo.toml index 33caa5eea25..8203ca92db5 100644 --- a/vortex-cuda/macros/Cargo.toml +++ b/vortex-cuda/macros/Cargo.toml @@ -3,7 +3,6 @@ name = "vortex-cuda-macros" authors.workspace = true description = "Proc macros for CUDA conditional compilation in Vortex" edition = { workspace = true } -homepage = { workspace = true } categories = { workspace = true } include = { workspace = true } keywords = { workspace = true } diff --git a/vortex-cuda/nvcomp/Cargo.toml b/vortex-cuda/nvcomp/Cargo.toml index 4caeef8c7a2..f4262554312 100644 --- a/vortex-cuda/nvcomp/Cargo.toml +++ b/vortex-cuda/nvcomp/Cargo.toml @@ -3,7 +3,6 @@ name = "vortex-nvcomp" authors.workspace = true description = "Rust bindings to NVIDIA nvCOMP compression library" edition = { workspace = true } -homepage = { workspace = true } categories = { workspace = true } include = { workspace = true } keywords = { workspace = true } diff --git a/vortex-datafusion/Cargo.toml b/vortex-datafusion/Cargo.toml index cb60afa7c14..5335af982d0 100644 --- a/vortex-datafusion/Cargo.toml +++ b/vortex-datafusion/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Apache Datafusion integration for Vortex" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/vortex-duckdb/Cargo.toml b/vortex-duckdb/Cargo.toml index fd611af030d..fb68424a7cf 100644 --- a/vortex-duckdb/Cargo.toml +++ b/vortex-duckdb/Cargo.toml @@ -2,7 +2,6 @@ name = "vortex-duckdb" version = { workspace = true } description = "Vortex DuckDB extension" -homepage = { workspace = true } repository = { workspace = true } authors = { workspace = true } license = { workspace = true } diff --git a/vortex-edition/Cargo.toml b/vortex-edition/Cargo.toml index cd2f9d3eb75..f9b70834585 100644 --- a/vortex-edition/Cargo.toml +++ b/vortex-edition/Cargo.toml @@ -3,7 +3,6 @@ name = "vortex-edition" authors.workspace = true description = "Definitions of Vortex editions: named, frozen sets of serialized components with a read-compatibility guarantee" edition = { workspace = true } -homepage = { workspace = true } categories = { workspace = true } include = { workspace = true } keywords = { workspace = true } diff --git a/vortex-error/Cargo.toml b/vortex-error/Cargo.toml index 7a99fc0b151..a2085f0ee8b 100644 --- a/vortex-error/Cargo.toml +++ b/vortex-error/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Vortex errors" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/vortex-ffi/Cargo.toml b/vortex-ffi/Cargo.toml index 75d644571d1..3e54488d24b 100644 --- a/vortex-ffi/Cargo.toml +++ b/vortex-ffi/Cargo.toml @@ -1,12 +1,10 @@ [package] name = "vortex-ffi" description = "Native C FFI bindings for Vortex" -readme = "README.md" # This crate is not meant to be consumed by other Rust code but rather produces a static binary # that can be linked to by other languages. publish = false version = { workspace = true } -homepage = { workspace = true } repository = { workspace = true } authors = { workspace = true } license = { workspace = true } diff --git a/vortex-file/Cargo.toml b/vortex-file/Cargo.toml index e3c9ed287f4..5719a200909 100644 --- a/vortex-file/Cargo.toml +++ b/vortex-file/Cargo.toml @@ -4,11 +4,9 @@ authors = { workspace = true } categories = { workspace = true } description = "Vortex file readers and writers" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } -readme = "README.md" repository = { workspace = true } rust-version = { workspace = true } version = { workspace = true } diff --git a/vortex-io/Cargo.toml b/vortex-io/Cargo.toml index 3905084d85a..49bb29eb876 100644 --- a/vortex-io/Cargo.toml +++ b/vortex-io/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Core async and blocking IO traits and implementations, used by IPC and file format" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/vortex-ipc/Cargo.toml b/vortex-ipc/Cargo.toml index 50d774fb98a..17f4f5bd182 100644 --- a/vortex-ipc/Cargo.toml +++ b/vortex-ipc/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "IPC message format to exchange Vortex arrays across processes" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/vortex-jni/Cargo.toml b/vortex-jni/Cargo.toml index a6dcd6d7623..41da023ff0b 100644 --- a/vortex-jni/Cargo.toml +++ b/vortex-jni/Cargo.toml @@ -1,12 +1,10 @@ [package] name = "vortex-jni" description = "Java Native Interface bindings for Vortex" -readme = "README.md" # This crate is not meant to be consumed by other Rust code but rather produces a static binary # that can be linked to by other languages. publish = false version = { workspace = true } -homepage = { workspace = true } repository = { workspace = true } authors = { workspace = true } license = { workspace = true } diff --git a/vortex-json/Cargo.toml b/vortex-json/Cargo.toml index c8f1d075b5a..27c8c86fea2 100644 --- a/vortex-json/Cargo.toml +++ b/vortex-json/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Vortex JSON extension type" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/vortex-layout/Cargo.toml b/vortex-layout/Cargo.toml index 4df9486997c..b0ddb92a5e8 100644 --- a/vortex-layout/Cargo.toml +++ b/vortex-layout/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Vortex layouts provide a way to perform lazy push-down scans over abstract storage" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/vortex-mask/Cargo.toml b/vortex-mask/Cargo.toml index 8cb5138c4f6..c0f1f5fb218 100644 --- a/vortex-mask/Cargo.toml +++ b/vortex-mask/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Vortex Mask - sorted, unique, non-negative integers" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/vortex-metrics/Cargo.toml b/vortex-metrics/Cargo.toml index a9d98eb448c..be80982b295 100644 --- a/vortex-metrics/Cargo.toml +++ b/vortex-metrics/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Vortex Metrics" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/vortex-metrics/src/gauge.rs b/vortex-metrics/src/gauge.rs index 89128192624..f1e9b2ef829 100644 --- a/vortex-metrics/src/gauge.rs +++ b/vortex-metrics/src/gauge.rs @@ -25,7 +25,7 @@ impl Gauge { loop { if self .0 - .fetch_update(Ordering::AcqRel, Ordering::Relaxed, |current| { + .try_update(Ordering::AcqRel, Ordering::Relaxed, |current| { let input = f64::from_bits(current); Some((input + value).to_bits()) }) @@ -41,7 +41,7 @@ impl Gauge { loop { if self .0 - .fetch_update(Ordering::AcqRel, Ordering::Relaxed, |current| { + .try_update(Ordering::AcqRel, Ordering::Relaxed, |current| { let input = f64::from_bits(current); Some((input - value).to_bits()) }) diff --git a/vortex-python-abi/Cargo.toml b/vortex-python-abi/Cargo.toml index b56111d0b8c..ec19039b527 100644 --- a/vortex-python-abi/Cargo.toml +++ b/vortex-python-abi/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Shared internal ABI types for Vortex Python extension modules." edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/vortex-python-cuda/Cargo.toml b/vortex-python-cuda/Cargo.toml index b866d1a0944..9916561c83e 100644 --- a/vortex-python-cuda/Cargo.toml +++ b/vortex-python-cuda/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Optional CUDA extension for PyVortex." edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/vortex-python/Cargo.toml b/vortex-python/Cargo.toml index 98a1b39ffdd..2d23fb2a4ec 100644 --- a/vortex-python/Cargo.toml +++ b/vortex-python/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Python bindings for Vortex, an Apache Arrow-compatible toolkit for working with compressed array data." edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/vortex-row/Cargo.toml b/vortex-row/Cargo.toml index 85725604d44..d37f9d4ac62 100644 --- a/vortex-row/Cargo.toml +++ b/vortex-row/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Row-oriented byte encoder for Vortex arrays, analogous to arrow-row." edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/vortex-scan/Cargo.toml b/vortex-scan/Cargo.toml index e43b8292e23..6cd4c5bbbb7 100644 --- a/vortex-scan/Cargo.toml +++ b/vortex-scan/Cargo.toml @@ -3,12 +3,10 @@ name = "vortex-scan" authors.workspace = true description = "Scanning operations for Vortex" edition = { workspace = true } -homepage = { workspace = true } categories = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } -readme = "README.md" repository = { workspace = true } rust-version = { workspace = true } version = { workspace = true } diff --git a/vortex-session/Cargo.toml b/vortex-session/Cargo.toml index b243d3e4f63..0537e68e9f8 100644 --- a/vortex-session/Cargo.toml +++ b/vortex-session/Cargo.toml @@ -3,7 +3,6 @@ name = "vortex-session" authors.workspace = true description = "Session object for Vortex" edition = { workspace = true } -homepage = { workspace = true } categories = { workspace = true } include = { workspace = true } keywords = { workspace = true } diff --git a/vortex-spatial/Cargo.toml b/vortex-spatial/Cargo.toml index fecaf2126cc..687f5b82a96 100644 --- a/vortex-spatial/Cargo.toml +++ b/vortex-spatial/Cargo.toml @@ -4,11 +4,9 @@ description = "Spatial data types and compute for Vortex" authors.workspace = true categories.workspace = true edition.workspace = true -homepage.workspace = true include.workspace = true keywords.workspace = true license.workspace = true -readme = "README.md" repository.workspace = true rust-version.workspace = true version.workspace = true diff --git a/vortex-sqllogictest/Cargo.toml b/vortex-sqllogictest/Cargo.toml index d05d449c14e..cc9aabe1482 100644 --- a/vortex-sqllogictest/Cargo.toml +++ b/vortex-sqllogictest/Cargo.toml @@ -3,12 +3,10 @@ name = "vortex-sqllogictest" authors = { workspace = true } description = "Test runner for SQL integrations" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } publish = false -readme = "README.md" repository = { workspace = true } rust-version = { workspace = true } version = { workspace = true } diff --git a/vortex-tensor/Cargo.toml b/vortex-tensor/Cargo.toml index faa2ad13933..b9fb0d5cb28 100644 --- a/vortex-tensor/Cargo.toml +++ b/vortex-tensor/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Vortex tensor extension type" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/vortex-test/compat-gen/Cargo.toml b/vortex-test/compat-gen/Cargo.toml index 4a62aca3671..e3773017c74 100644 --- a/vortex-test/compat-gen/Cargo.toml +++ b/vortex-test/compat-gen/Cargo.toml @@ -3,7 +3,6 @@ name = "vortex-compat" authors = { workspace = true } description = "Backward-compatibility fixture generation and checking for Vortex" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/vortex-test/e2e-cuda/Cargo.toml b/vortex-test/e2e-cuda/Cargo.toml index 3985b9d11e5..56ddd1a6682 100644 --- a/vortex-test/e2e-cuda/Cargo.toml +++ b/vortex-test/e2e-cuda/Cargo.toml @@ -3,7 +3,6 @@ name = "vortex-test-e2e-cuda" authors = { workspace = true } description = "End-to-end CUDA tests for Vortex" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/vortex-tui/Cargo.toml b/vortex-tui/Cargo.toml index 24cf07f308d..2968d20787a 100644 --- a/vortex-tui/Cargo.toml +++ b/vortex-tui/Cargo.toml @@ -4,11 +4,9 @@ authors = { workspace = true } categories = { workspace = true } description = "a small but mighty tool for working with Vortex files" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } -readme = "README.md" repository = { workspace = true } rust-version = { workspace = true } version = { workspace = true } diff --git a/vortex-utils/Cargo.toml b/vortex-utils/Cargo.toml index a9af93d998a..0b4d924c9d6 100644 --- a/vortex-utils/Cargo.toml +++ b/vortex-utils/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Common definitions across crates" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/vortex/Cargo.toml b/vortex/Cargo.toml index e9d12305da0..fcc62c5d1f9 100644 --- a/vortex/Cargo.toml +++ b/vortex/Cargo.toml @@ -4,7 +4,6 @@ authors = { workspace = true } categories = { workspace = true } description = "Vortex file format with all builtin codecs and a sampling compressor." edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index 2aed5902991..843d026fb5d 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -5,12 +5,10 @@ authors = { workspace = true } categories = { workspace = true } description = "Tasks for repo management" edition = { workspace = true } -homepage = { workspace = true } include = { workspace = true } keywords = { workspace = true } license = { workspace = true } publish = false -readme = "README.md" repository = { workspace = true } rust-version = { workspace = true } version = { workspace = true } From fb1e6773d990dd1be52298a145cf75cbbb793461 Mon Sep 17 00:00:00 2001 From: Robert Kruszewski Date: Thu, 24 Sep 2026 23:11:39 -0400 Subject: [PATCH 2/3] deps Signed-off-by: Robert Kruszewski --- Cargo.lock | 8 -------- benchmarks/datafusion-bench/Cargo.toml | 7 ------- benchmarks/duckdb-bench/Cargo.toml | 7 ------- vortex-array/Cargo.toml | 5 ++++- vortex-bench/Cargo.toml | 1 - vortex-cuda/cub/Cargo.toml | 4 ++++ vortex-cuda/ffi/src/lib.rs | 2 ++ vortex-cuda/nvcomp/Cargo.toml | 4 ++++ vortex-duckdb/Cargo.toml | 1 - vortex-file/Cargo.toml | 1 - vortex-tensor/Cargo.toml | 1 - vortex/Cargo.toml | 3 +-- 12 files changed, 15 insertions(+), 29 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6fdd896c43e..afaed29376f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2387,7 +2387,6 @@ dependencies = [ "vortex", "vortex-arrow", "vortex-bench", - "vortex-cuda", "vortex-datafusion", "vortex-metrics", ] @@ -3813,7 +3812,6 @@ dependencies = [ "tracing", "vortex", "vortex-bench", - "vortex-cuda", "vortex-duckdb", ] @@ -10612,7 +10610,6 @@ dependencies = [ "vortex-sequence", "vortex-session", "vortex-sparse", - "vortex-tensor", "vortex-utils", "vortex-uuid", "vortex-zigzag", @@ -10645,7 +10642,6 @@ version = "0.1.0" dependencies = [ "allocator-api2", "arbitrary", - "arc-swap", "arcref", "arrow-buffer 59.3.0", "async-lock", @@ -10773,7 +10769,6 @@ dependencies = [ "rstest", "serde", "serde_json", - "sha2", "spatialbench", "spatialbench-arrow", "sysinfo", @@ -11117,7 +11112,6 @@ dependencies = [ "geo-types", "itertools 0.14.0", "jiff", - "kanal", "num-traits", "object_store 0.13.2", "parking_lot", @@ -11214,7 +11208,6 @@ name = "vortex-file" version = "0.1.0" dependencies = [ "allocator-api2", - "async-stream", "async-trait", "bytes", "codspeed-divan-compat", @@ -11751,7 +11744,6 @@ dependencies = [ "vortex-arrow", "vortex-btrblocks", "vortex-buffer", - "vortex-compressor", "vortex-edition", "vortex-error", "vortex-mask", diff --git a/benchmarks/datafusion-bench/Cargo.toml b/benchmarks/datafusion-bench/Cargo.toml index b8eac2a5ab3..ad0592ffc54 100644 --- a/benchmarks/datafusion-bench/Cargo.toml +++ b/benchmarks/datafusion-bench/Cargo.toml @@ -13,9 +13,6 @@ rust-version = { workspace = true } version = { workspace = true } publish = false -[package.metadata.cargo-shear] -ignored = ["vortex-cuda"] - [[bin]] name = "datafusion-bench" path = "src/main.rs" @@ -48,15 +45,11 @@ url = { workspace = true } vortex = { workspace = true, features = ["object_store", "files", "tokio"] } vortex-arrow = { workspace = true } vortex-bench = { workspace = true } -vortex-cuda = { workspace = true, optional = true } vortex-datafusion = { workspace = true } vortex-metrics = { workspace = true } [build-dependencies] custom-labels = { workspace = true } -[features] -cuda = ["dep:vortex-cuda"] - [lints] workspace = true diff --git a/benchmarks/duckdb-bench/Cargo.toml b/benchmarks/duckdb-bench/Cargo.toml index 2acd8a94792..577b1fd9ae5 100644 --- a/benchmarks/duckdb-bench/Cargo.toml +++ b/benchmarks/duckdb-bench/Cargo.toml @@ -13,9 +13,6 @@ rust-version.workspace = true version.workspace = true publish = false -[package.metadata.cargo-shear] -ignored = ["vortex-cuda"] - [[bin]] name = "duckdb-bench" test = false @@ -31,11 +28,7 @@ tokio = { workspace = true } tracing = { workspace = true } vortex = { workspace = true } vortex-bench = { workspace = true } -vortex-cuda = { workspace = true, optional = true } vortex-duckdb = { workspace = true } -[features] -cuda = ["dep:vortex-cuda"] - [lints] workspace = true diff --git a/vortex-array/Cargo.toml b/vortex-array/Cargo.toml index 4f87bff355a..e617dc81e3e 100644 --- a/vortex-array/Cargo.toml +++ b/vortex-array/Cargo.toml @@ -19,12 +19,15 @@ all-features = true # Referenced only by the generated Protocol Buffers bindings. ignored = ["prost-types"] +[package.metadata.cargo-machete] +# Referenced only by the generated Protocol Buffers bindings. +ignored = ["prost-types"] + [lints] workspace = true [dependencies] arbitrary = { workspace = true, optional = true } -arc-swap = { workspace = true } arcref = { workspace = true } arrow-buffer = { workspace = true } async-lock = { workspace = true } diff --git a/vortex-bench/Cargo.toml b/vortex-bench/Cargo.toml index 5230f73024d..44085dd65dd 100644 --- a/vortex-bench/Cargo.toml +++ b/vortex-bench/Cargo.toml @@ -58,7 +58,6 @@ regex = { workspace = true } reqwest = { workspace = true, features = ["stream"] } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } -sha2 = { workspace = true } spatialbench = { workspace = true } spatialbench-arrow = { workspace = true } spatialbench-parquet = { workspace = true } diff --git a/vortex-cuda/cub/Cargo.toml b/vortex-cuda/cub/Cargo.toml index b90ed54dc7c..8d67fe76332 100644 --- a/vortex-cuda/cub/Cargo.toml +++ b/vortex-cuda/cub/Cargo.toml @@ -19,6 +19,10 @@ publish = false [package.metadata.cargo-shear] ignored = ["libloading"] +[package.metadata.cargo-machete] +# Referenced only by bindgen's generated dynamic library loader. +ignored = ["libloading"] + [lints] workspace = true diff --git a/vortex-cuda/ffi/src/lib.rs b/vortex-cuda/ffi/src/lib.rs index d86cadaccab..d65e4239bfb 100644 --- a/vortex-cuda/ffi/src/lib.rs +++ b/vortex-cuda/ffi/src/lib.rs @@ -1088,6 +1088,8 @@ mod tests { } #[test] + // Direct I/O adds a second case only on Linux. + #[cfg_attr(not(target_os = "linux"), expect(clippy::single_element_loop))] fn test_maps_scan_options() -> VortexResult<()> { let buffered = PooledFileReadAtOptions::default(); for (flags, batch_rows, read_at_options) in [ diff --git a/vortex-cuda/nvcomp/Cargo.toml b/vortex-cuda/nvcomp/Cargo.toml index f4262554312..fa1dd273184 100644 --- a/vortex-cuda/nvcomp/Cargo.toml +++ b/vortex-cuda/nvcomp/Cargo.toml @@ -16,6 +16,10 @@ publish = false [package.metadata.cargo-shear] ignored = ["libloading"] +[package.metadata.cargo-machete] +# Referenced only by bindgen's generated dynamic library loader. +ignored = ["libloading"] + [lints] workspace = true diff --git a/vortex-duckdb/Cargo.toml b/vortex-duckdb/Cargo.toml index fb68424a7cf..2dd55cbb7f2 100644 --- a/vortex-duckdb/Cargo.toml +++ b/vortex-duckdb/Cargo.toml @@ -28,7 +28,6 @@ bitvec = { workspace = true } custom-labels = { workspace = true } futures = { workspace = true } itertools = { workspace = true } -kanal = { workspace = true } num-traits = { workspace = true } object_store = { workspace = true, features = ["aws"] } parking_lot = { workspace = true } diff --git a/vortex-file/Cargo.toml b/vortex-file/Cargo.toml index 5719a200909..770181bf156 100644 --- a/vortex-file/Cargo.toml +++ b/vortex-file/Cargo.toml @@ -15,7 +15,6 @@ version = { workspace = true } all-features = true [dependencies] -async-stream = { workspace = true } async-trait = { workspace = true } bytes = { workspace = true } flatbuffers = { workspace = true } diff --git a/vortex-tensor/Cargo.toml b/vortex-tensor/Cargo.toml index b9fb0d5cb28..64af616e4ee 100644 --- a/vortex-tensor/Cargo.toml +++ b/vortex-tensor/Cargo.toml @@ -19,7 +19,6 @@ workspace = true vortex-array = { workspace = true, features = ["unstable_row_fns"] } vortex-arrow = { workspace = true } vortex-buffer = { workspace = true } -vortex-compressor = { workspace = true } vortex-edition = { workspace = true } vortex-error = { workspace = true } vortex-session = { workspace = true } diff --git a/vortex/Cargo.toml b/vortex/Cargo.toml index fcc62c5d1f9..941d9491be7 100644 --- a/vortex/Cargo.toml +++ b/vortex/Cargo.toml @@ -45,7 +45,6 @@ vortex-scan = { workspace = true } vortex-sequence = { workspace = true } vortex-session = { workspace = true } vortex-sparse = { workspace = true } -vortex-tensor = { workspace = true, optional = true } vortex-utils = { workspace = true } vortex-uuid = { workspace = true } vortex-zigzag = { workspace = true } @@ -88,7 +87,7 @@ zstd = ["dep:vortex-zstd", "vortex-file?/zstd"] # Parquet Variant encoding. Its arrow and parquet-variant dependencies need wasm-bindgen on # wasm32-unknown-unknown. parquet-variant = ["dep:vortex-parquet-variant"] -tensor = ["dep:vortex-tensor", "vortex-file?/tensor"] +tensor = ["vortex-file?/tensor"] wasm-bindgen = [ "vortex-file?/wasm-bindgen", "vortex-io/wasm-bindgen", From 91118bb7ce512a30cd8cf4ed1da86efcaa099060 Mon Sep 17 00:00:00 2001 From: Robert Kruszewski Date: Thu, 24 Sep 2026 23:15:03 -0400 Subject: [PATCH 3/3] shear Signed-off-by: Robert Kruszewski --- CONTRIBUTING.md | 14 ++++++++++++++ encodings/fsst/Cargo.toml | 2 +- vortex-array/Cargo.toml | 4 ---- vortex-cuda/cub/Cargo.toml | 3 --- vortex-cuda/nvcomp/Cargo.toml | 3 --- vortex-layout/Cargo.toml | 2 +- 6 files changed, 16 insertions(+), 12 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8f866e93ab9..5773482dc3c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -82,6 +82,20 @@ Read the [Rust version compatibility policy](README.md#rust-version-compatibilit changing `rust-version`; when the MSRV job fails, the usual fix is in the code or the dependency update, not the MSRV. +### Pruning Rust dependencies + +Use [cargo-shear](https://github.com/Boshen/cargo-shear) to find unused dependencies. Install it +and inspect the workspace from the repository root: + +```bash +cargo install --locked cargo-shear +cargo shear +``` + +Run `cargo shear --fix` to apply suggested fixes, then review the manifest changes. Dependencies +used only by generated code or to enable transitive features may need an entry in the affected +crate's `[package.metadata.cargo-shear]` `ignored` list, with a comment explaining why. + ### Python bindings `vortex-data` is a mixed Python and Rust package. `uv` manages its Python environment, and diff --git a/encodings/fsst/Cargo.toml b/encodings/fsst/Cargo.toml index bed3d549256..d08ff59db61 100644 --- a/encodings/fsst/Cargo.toml +++ b/encodings/fsst/Cargo.toml @@ -56,5 +56,5 @@ name = "chunked_dict_fsst_builder" harness = false required-features = ["_test-harness"] -[package.metadata.cargo-machete] +[package.metadata.cargo-shear] ignored = ["fsst-rs"] diff --git a/vortex-array/Cargo.toml b/vortex-array/Cargo.toml index e617dc81e3e..ad16d00d443 100644 --- a/vortex-array/Cargo.toml +++ b/vortex-array/Cargo.toml @@ -19,10 +19,6 @@ all-features = true # Referenced only by the generated Protocol Buffers bindings. ignored = ["prost-types"] -[package.metadata.cargo-machete] -# Referenced only by the generated Protocol Buffers bindings. -ignored = ["prost-types"] - [lints] workspace = true diff --git a/vortex-cuda/cub/Cargo.toml b/vortex-cuda/cub/Cargo.toml index 8d67fe76332..b4ab274b4ef 100644 --- a/vortex-cuda/cub/Cargo.toml +++ b/vortex-cuda/cub/Cargo.toml @@ -17,9 +17,6 @@ version = { workspace = true } publish = false [package.metadata.cargo-shear] -ignored = ["libloading"] - -[package.metadata.cargo-machete] # Referenced only by bindgen's generated dynamic library loader. ignored = ["libloading"] diff --git a/vortex-cuda/nvcomp/Cargo.toml b/vortex-cuda/nvcomp/Cargo.toml index fa1dd273184..6bb93def933 100644 --- a/vortex-cuda/nvcomp/Cargo.toml +++ b/vortex-cuda/nvcomp/Cargo.toml @@ -14,9 +14,6 @@ version = { workspace = true } publish = false [package.metadata.cargo-shear] -ignored = ["libloading"] - -[package.metadata.cargo-machete] # Referenced only by bindgen's generated dynamic library loader. ignored = ["libloading"] diff --git a/vortex-layout/Cargo.toml b/vortex-layout/Cargo.toml index b0ddb92a5e8..eab8869bf8b 100644 --- a/vortex-layout/Cargo.toml +++ b/vortex-layout/Cargo.toml @@ -93,5 +93,5 @@ harness = false [lints] workspace = true -[package.metadata.cargo-machete] +[package.metadata.cargo-shear] ignored = ["uuid"]