Skip to content

Commit c2e4747

Browse files
authored
Use workspace rust-version for all workspace crates (#14009)
1 parent 2848aaf commit c2e4747

File tree

8 files changed

+7
-14
lines changed

8 files changed

+7
-14
lines changed

datafusion-cli/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ keywords = ["arrow", "datafusion", "query", "sql"]
2525
license = "Apache-2.0"
2626
homepage = "https://datafusion.apache.org"
2727
repository = "https://github.com/apache/datafusion"
28-
# Specify MSRV here as `cargo msrv` doesn't support workspace version
2928
rust-version = "1.80.1"
3029
readme = "README.md"
3130

datafusion/core/Cargo.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@ homepage = { workspace = true }
2727
repository = { workspace = true }
2828
license = { workspace = true }
2929
authors = { workspace = true }
30-
# Specify MSRV here as `cargo msrv` doesn't support workspace version and fails with
31-
# "Unable to find key 'package.rust-version' (or 'package.metadata.msrv') in 'arrow-datafusion/Cargo.toml'"
32-
# https://github.com/foresterre/cargo-msrv/issues/590
33-
rust-version = "1.80.1"
30+
rust-version = { workspace = true }
3431

3532
[lints]
3633
workspace = true

datafusion/ffi/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ homepage = { workspace = true }
2525
repository = { workspace = true }
2626
license = { workspace = true }
2727
authors = { workspace = true }
28-
# Specify MSRV here as `cargo msrv` doesn't support workspace version
29-
rust-version = "1.80.1"
28+
rust-version = { workspace = true }
3029

3130
[lints]
3231
workspace = true

datafusion/proto-common/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ homepage = { workspace = true }
2626
repository = { workspace = true }
2727
license = { workspace = true }
2828
authors = { workspace = true }
29-
rust-version = "1.80.1"
29+
rust-version = { workspace = true }
3030

3131
# Exclude proto files so crates.io consumers don't need protoc
3232
exclude = ["*.proto"]

datafusion/proto-common/gen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ name = "gen-common"
2020
description = "Code generation for proto"
2121
version = "0.1.0"
2222
edition = { workspace = true }
23-
rust-version = "1.80.1"
23+
rust-version = { workspace = true }
2424
authors = { workspace = true }
2525
homepage = { workspace = true }
2626
repository = { workspace = true }

datafusion/proto/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ homepage = { workspace = true }
2626
repository = { workspace = true }
2727
license = { workspace = true }
2828
authors = { workspace = true }
29-
# Specify MSRV here as `cargo msrv` doesn't support workspace version
30-
rust-version = "1.80.1"
29+
rust-version = { workspace = true }
3130

3231
# Exclude proto files so crates.io consumers don't need protoc
3332
exclude = ["*.proto"]

datafusion/proto/gen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ name = "gen"
2020
description = "Code generation for proto"
2121
version = "0.1.0"
2222
edition = { workspace = true }
23-
rust-version = "1.80.1"
23+
rust-version = { workspace = true }
2424
authors = { workspace = true }
2525
homepage = { workspace = true }
2626
repository = { workspace = true }

datafusion/substrait/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ homepage = { workspace = true }
2525
repository = { workspace = true }
2626
license = { workspace = true }
2727
authors = { workspace = true }
28-
# Specify MSRV here as `cargo msrv` doesn't support workspace version
29-
rust-version = "1.80.1"
28+
rust-version = { workspace = true }
3029

3130
[lints]
3231
workspace = true

0 commit comments

Comments
 (0)