Apache DataFusion SQL Query Engine
Increase minimum supported Rust version (MSRV) to 1.79 (#12962)
Piotr Findeisen56946b4d5df8
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.ymlindex 4527d047e4..39b7b2b178 100644--- a/.github/workflows/rust.yml+++ b/.github/workflows/rust.yml@@ -574,9 +574,9 @@ jobs:## To reproduce:# 1. Install the version of Rust that is failing. Example:- # rustup install 1.78.0+ # rustup install 1.79.0# 2. Run the command that failed with that version. Example:- # cargo +1.78.0 check -p datafusion+ # cargo +1.79.0 check -p datafusion## To resolve, either:# 1. Change your code to use older Rust features,diff --git a/Cargo.toml b/Cargo.tomlindex 448607257c..2c142c87c8 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -58,7 +58,7 @@ homepage = "https://datafusion.apache.org"license = "Apache-2.0"readme = "README.md"repository = "https://github.com/apache/datafusion"-rust-version = "1.78"+rust-version = "1.79"version = "42.0.0"[workspace.dependencies]diff --git a/datafusion-cli/Cargo.toml b/datafusion-cli/Cargo.tomlindex b86dbd2a38..fe929495aa 100644--- a/datafusion-cli/Cargo.toml+++ b/datafusion-cli/Cargo.toml@@ -26,7 +26,7 @@ license = "Apache-2.0"homepage = "https://datafusion.apache.org"repository = "https://github.com/apache/datafusion"# Specify MSRV here as `cargo msrv` doesn't support workspace version-rust-version = "1.78"+rust-version = "1.79"readme = "README.md"[dependencies]diff --git a/datafusion-cli/Dockerfile b/datafusion-cli/Dockerfileindex 7adead64db..79c24f6baf 100644--- a/datafusion-cli/Dockerfile+++ b/datafusion-cli/Dockerfile@@ -15,7 +15,7 @@# specific language governing permissions and limitations# under the License.-FROM rust:1.78-bookworm AS builder+FROM rust:1.79-bookworm AS builderCOPY . /usr/src/datafusionCOPY ./datafusion /usr/src/datafusion/datafusiondiff --git a/datafusion/core/Cargo.toml b/datafusion/core/Cargo.tomlindex 28d0d136bd..8c4ad80e29 100644--- a/datafusion/core/Cargo.toml+++ b/datafusion/core/Cargo.toml@@ -30,7 +30,7 @@ authors = { workspace = true }# Specify MSRV here as `cargo msrv` doesn't support workspace version and fails with# "Unable to find key 'package.rust-version' (or 'package.metadata.msrv') in 'arrow-datafusion/Cargo.toml'"# https://github.com/foresterre/cargo-msrv/issues/590-rust-version = "1.78"+rust-version = "1.79"[lints]workspace = truediff --git a/datafusion/proto-common/Cargo.toml b/datafusion/proto-common/Cargo.tomlindex 5051c8f932..6c53e1b1ce 100644--- a/datafusion/proto-common/Cargo.toml+++ b/datafusion/proto-common/Cargo.toml@@ -26,7 +26,7 @@ homepage = { workspace = true }repository = { workspace = true }license = { workspace = true }authors = { workspace = true }-rust-version = "1.78"+rust-version = "1.79"# Exclude proto files so crates.io consumers don't need protocexclude = ["*.proto"]diff --git a/datafusion/proto-common/gen/Cargo.toml b/datafusion/proto-common/gen/Cargo.tomlindex 0914669f82..6e5783f467 100644--- a/datafusion/proto-common/gen/Cargo.toml+++ b/datafusion/proto-common/gen/Cargo.toml@@ -20,7 +20,7 @@ name = "gen-common"description = "Code generation for proto"version = "0.1.0"edition = { workspace = true }-rust-version = "1.78"+rust-version = "1.79"authors = { workspace = true }homepage = { workspace = true }repository = { workspace = true }diff --git a/datafusion/proto/Cargo.toml b/datafusion/proto/Cargo.tomlindex d65c6ccaa6..3ffe5e3e76 100644--- a/datafusion/proto/Cargo.toml+++ b/datafusion/proto/Cargo.toml@@ -27,7 +27,7 @@ repository = { workspace = true }license = { workspace = true }authors = { workspace = true }# Specify MSRV here as `cargo msrv` doesn't support workspace version-rust-version = "1.78"+rust-version = "1.79"# Exclude proto files so crates.io consumers don't need protocexclude = ["*.proto"]diff --git a/datafusion/proto/gen/Cargo.toml b/datafusion/proto/gen/Cargo.tomlindex ea28ac86e8..aee8fac4a1 100644--- a/datafusion/proto/gen/Cargo.toml+++ b/datafusion/proto/gen/Cargo.toml@@ -20,7 +20,7 @@ name = "gen"description = "Code generation for proto"version = "0.1.0"edition = { workspace = true }-rust-version = "1.78"+rust-version = "1.79"authors = { workspace = true }homepage = { workspace = true }repository = { workspace = true }diff --git a/datafusion/substrait/Cargo.toml b/datafusion/substrait/Cargo.tomlindex 6f8f81401f..4175501828 100644--- a/datafusion/substrait/Cargo.toml+++ b/datafusion/substrait/Cargo.toml@@ -26,7 +26,7 @@ repository = { workspace = true }license = { workspace = true }authors = { workspace = true }# Specify MSRV here as `cargo msrv` doesn't support workspace version-rust-version = "1.78"+rust-version = "1.79"[lints]workspace = true