Apache DataFusion SQL Query Engine
Increase minimum supported Rust version (MSRV) to 1.80 (#13622)
Piotr Findeisendc4ae209c116
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.ymlindex 50bebc5b40..afc9c05864 100644--- a/.github/workflows/rust.yml+++ b/.github/workflows/rust.yml@@ -582,9 +582,9 @@ jobs:## To reproduce:# 1. Install the version of Rust that is failing. Example:- # rustup install 1.79.0+ # rustup install 1.80.0# 2. Run the command that failed with that version. Example:- # cargo +1.79.0 check -p datafusion+ # cargo +1.80.0 check -p datafusion## To resolve, either:# 1. Change your code to use older Rust features,diff --git a/Cargo.toml b/Cargo.tomlindex 1ca6cdfdb1..651fe77049 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -65,7 +65,7 @@ homepage = "https://datafusion.apache.org"license = "Apache-2.0"readme = "README.md"repository = "https://github.com/apache/datafusion"-rust-version = "1.79"+rust-version = "1.80"version = "43.0.0"[workspace.dependencies]diff --git a/datafusion-cli/Cargo.toml b/datafusion-cli/Cargo.tomlindex 743ec1b4a7..8e0ae01457 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.79"+rust-version = "1.80"readme = "README.md"[dependencies]diff --git a/datafusion-cli/Dockerfile b/datafusion-cli/Dockerfileindex 79c24f6baf..faf345660d 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.79-bookworm AS builder+FROM rust:1.80-bookworm AS builderCOPY . /usr/src/datafusionCOPY ./datafusion /usr/src/datafusion/datafusiondiff --git a/datafusion/core/Cargo.toml b/datafusion/core/Cargo.tomlindex 6c5a31e362..90b8abc622 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.79"+rust-version = "1.80"[lints]workspace = truediff --git a/datafusion/ffi/Cargo.toml b/datafusion/ffi/Cargo.tomlindex 1197473425..6393fb31e3 100644--- a/datafusion/ffi/Cargo.toml+++ b/datafusion/ffi/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.76"+rust-version = "1.80"[lints]workspace = truediff --git a/datafusion/proto-common/Cargo.toml b/datafusion/proto-common/Cargo.tomlindex 6c53e1b1ce..0aacc6d993 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.79"+rust-version = "1.80"# 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 6e5783f467..29f238903f 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.79"+rust-version = "1.80"authors = { workspace = true }homepage = { workspace = true }repository = { workspace = true }diff --git a/datafusion/proto/Cargo.toml b/datafusion/proto/Cargo.tomlindex 9e4b331a01..da28cad93a 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.79"+rust-version = "1.80"# 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 aee8fac4a1..dc72848952 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.79"+rust-version = "1.80"authors = { workspace = true }homepage = { workspace = true }repository = { workspace = true }diff --git a/datafusion/substrait/Cargo.toml b/datafusion/substrait/Cargo.tomlindex 79e5a3206c..42fd8f9f24 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.79"+rust-version = "1.80"[lints]workspace = true