diff --git a/Cargo.lock b/Cargo.lock index 337a7c9a2e9..13973540900 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4926,6 +4926,7 @@ dependencies = [ "prost-build", "protobuf-src", "snafu", + "substrait", "tokio", "tracing", ] diff --git a/python/Cargo.lock b/python/Cargo.lock index d26a1daf054..7f461c0348e 100644 --- a/python/Cargo.lock +++ b/python/Cargo.lock @@ -4070,6 +4070,7 @@ dependencies = [ "prost", "prost-build", "snafu", + "substrait", "tokio", "tracing", ] diff --git a/rust/lance-datafusion/Cargo.toml b/rust/lance-datafusion/Cargo.toml index 36ea639e13d..2a79173c0c0 100644 --- a/rust/lance-datafusion/Cargo.toml +++ b/rust/lance-datafusion/Cargo.toml @@ -35,6 +35,8 @@ prost.workspace = true snafu.workspace = true tokio.workspace = true tracing.workspace = true +# We only need this to pin the substrait version to 0.62.2 for now. +substrait = {version = "=0.62.2", optional = true} [build-dependencies] prost-build.workspace = true @@ -45,7 +47,7 @@ lance-datagen.workspace = true [features] geo = ["dep:lance-geo"] -substrait = ["dep:datafusion-substrait"] +substrait = ["dep:datafusion-substrait", "dep:substrait"] protoc = ["dep:protobuf-src"] [lints]