From 44206d62b2aa9840b1271d36061d37df3f2af29d Mon Sep 17 00:00:00 2001 From: Adam Gutglick Date: Thu, 2 Jul 2026 16:06:39 +0100 Subject: [PATCH 1/2] Decouple the tokio and files create features Signed-off-by: Adam Gutglick --- vortex/Cargo.toml | 7 ++++++- vortex/examples/tracing_vortex.rs | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/vortex/Cargo.toml b/vortex/Cargo.toml index adaca75632c..301c4c343de 100644 --- a/vortex/Cargo.toml +++ b/vortex/Cargo.toml @@ -72,7 +72,12 @@ default = ["files", "zstd"] files = ["dep:vortex-file"] memmap2 = ["vortex-buffer/memmap2"] object_store = ["vortex-file/object_store", "vortex-io/object_store"] -tokio = ["vortex-file/tokio"] +tokio = [ + "vortex-error/tokio", + "vortex-file?/tokio", + "vortex-io/tokio", + "vortex-layout/tokio", +] zstd = ["dep:vortex-zstd", "vortex-file/zstd"] pretty = ["vortex-array/table-display"] serde = ["vortex-array/serde", "vortex-buffer/serde", "vortex-mask/serde"] diff --git a/vortex/examples/tracing_vortex.rs b/vortex/examples/tracing_vortex.rs index f1227e2e017..c3876f89e20 100644 --- a/vortex/examples/tracing_vortex.rs +++ b/vortex/examples/tracing_vortex.rs @@ -6,7 +6,7 @@ //! This example demonstrates a real-world use case: implementing a `tracing` subscriber //! that writes all log events and spans to Vortex files. //! -//! Run with: cargo run --example tracing_vortex --features tokio +//! Run with: cargo run --example tracing_vortex --features files,tokio #![expect( clippy::disallowed_types, From 8ebcf6abd4f9dda00df168613076927df0ac7ddb Mon Sep 17 00:00:00 2001 From: Adam Gutglick Date: Thu, 2 Jul 2026 16:13:52 +0100 Subject: [PATCH 2/2] Also object-store and zstd Signed-off-by: Adam Gutglick --- vortex/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vortex/Cargo.toml b/vortex/Cargo.toml index 301c4c343de..75fe5501199 100644 --- a/vortex/Cargo.toml +++ b/vortex/Cargo.toml @@ -71,14 +71,14 @@ vortex-tensor = { workspace = true } default = ["files", "zstd"] files = ["dep:vortex-file"] memmap2 = ["vortex-buffer/memmap2"] -object_store = ["vortex-file/object_store", "vortex-io/object_store"] +object_store = ["vortex-file?/object_store", "vortex-io/object_store"] tokio = [ "vortex-error/tokio", "vortex-file?/tokio", "vortex-io/tokio", "vortex-layout/tokio", ] -zstd = ["dep:vortex-zstd", "vortex-file/zstd"] +zstd = ["dep:vortex-zstd", "vortex-file?/zstd"] pretty = ["vortex-array/table-display"] serde = ["vortex-array/serde", "vortex-buffer/serde", "vortex-mask/serde"] # This feature enabled unstable encodings for which we don't guarantee stability.