Skip to content

Commit b8b3188

Browse files
committed
2018 -> 2021
1 parent 898924f commit b8b3188

File tree

17 files changed

+42
-20
lines changed

17 files changed

+42
-20
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,8 @@ jobs:
287287
export ARROW_TEST_DATA=$(pwd)/testing/data
288288
export PARQUET_TEST_DATA=$(pwd)/parquet-testing/data
289289
290+
rustup toolchain install stable
291+
rustup default stable
290292
cargo install --version 0.18.2 cargo-tarpaulin
291293
cargo tarpaulin --all --out Xml
292294
- name: Report coverage

arrow-flight/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
name = "arrow-flight"
2020
description = "Apache Arrow Flight"
2121
version = "7.0.0-SNAPSHOT"
22-
edition = "2018"
22+
edition = "2021"
23+
rust-version = "1.56"
2324
authors = ["Apache Arrow <dev@arrow.apache.org>"]
2425
homepage = "https://github.com/apache/arrow-rs"
2526
repository = "https://github.com/apache/arrow-rs"

arrow-pyarrow-integration-testing/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ repository = "https://github.com/apache/arrow-rs"
2424
authors = ["Apache Arrow <dev@arrow.apache.org>"]
2525
license = "Apache-2.0"
2626
keywords = [ "arrow" ]
27-
edition = "2018"
27+
edition = "2021"
28+
rust-version = "1.56"
2829

2930
[lib]
3031
name = "arrow_pyarrow_integration_testing"

arrow/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ include = [
2929
"src/**/*.rs",
3030
"Cargo.toml",
3131
]
32-
edition = "2018"
32+
edition = "2021"
33+
rust-version = "1.56"
3334

3435
[lib]
3536
name = "arrow"

arrow/src/array/transform/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,6 @@ fn build_extend_dictionary(
182182
max: usize,
183183
) -> Option<Extend> {
184184
use crate::datatypes::*;
185-
use std::convert::TryInto;
186-
187185
match array.data_type() {
188186
DataType::Dictionary(child_data_type, _) => match child_data_type.as_ref() {
189187
DataType::UInt8 => {

arrow/src/compute/kernels/comparison.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2039,7 +2039,9 @@ mod tests {
20392039

20402040
macro_rules! test_flag_utf8_scalar {
20412041
($test_name:ident, $left:expr, $right:expr, $op:expr, $expected:expr) => {
2042+
/// TODO bring back when miri failure is resolved
20422043
#[test]
2044+
#[cfg_attr(miri, ignore)]
20432045
fn $test_name() {
20442046
let left = StringArray::from($left);
20452047
let res = $op(&left, $right, None).unwrap();

arrow/test/dependency/default-features/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
name = "defeault-features"
2020
description = "Models a user application of arrow that uses default features of arrow"
2121
version = "0.1.0"
22-
edition = "2018"
22+
edition = "2021"
23+
rust-version = "1.56"
2324

2425
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2526

arrow/test/dependency/no-default-features/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
name = "no-default-features"
2020
description = "Models a user application of arrow that specifies no-default-features=true"
2121
version = "0.1.0"
22-
edition = "2018"
22+
edition = "2021"
23+
rust-version = "1.56"
2324

2425
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2526

arrow/test/dependency/simd/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
name = "defeault-features"
2020
description = "Models a user application of arrow that uses the simd feature of arrow"
2121
version = "0.1.0"
22-
edition = "2018"
22+
edition = "2021"
23+
rust-version = "1.56"
2324

2425
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2526

integration-testing/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ homepage = "https://github.com/apache/arrow-rs"
2323
repository = "https://github.com/apache/arrow-rs"
2424
authors = ["Apache Arrow <dev@arrow.apache.org>"]
2525
license = "Apache-2.0"
26-
edition = "2018"
26+
edition = "2021"
2727
publish = false
28+
rust-version = "1.56"
2829

2930
[features]
3031
logging = ["tracing-subscriber"]

0 commit comments

Comments
 (0)