From 679090d0c7ced5fc7a1845925580eb3039ff2227 Mon Sep 17 00:00:00 2001 From: yangjiang Date: Sun, 24 Jul 2022 00:19:45 +0800 Subject: [PATCH] update rust version to 1.62 --- arrow-flight/Cargo.toml | 2 +- arrow-pyarrow-integration-testing/Cargo.toml | 2 +- arrow/Cargo.toml | 2 +- integration-testing/Cargo.toml | 2 +- object_store/src/throttle.rs | 4 ++++ parquet/Cargo.toml | 2 +- parquet_derive/Cargo.toml | 2 +- parquet_derive_test/Cargo.toml | 2 +- 8 files changed, 11 insertions(+), 7 deletions(-) diff --git a/arrow-flight/Cargo.toml b/arrow-flight/Cargo.toml index 4007a1d93fc..1400d913e79 100644 --- a/arrow-flight/Cargo.toml +++ b/arrow-flight/Cargo.toml @@ -20,7 +20,7 @@ name = "arrow-flight" description = "Apache Arrow Flight" version = "19.0.0" edition = "2021" -rust-version = "1.57" +rust-version = "1.62" authors = ["Apache Arrow "] homepage = "https://github.com/apache/arrow-rs" repository = "https://github.com/apache/arrow-rs" diff --git a/arrow-pyarrow-integration-testing/Cargo.toml b/arrow-pyarrow-integration-testing/Cargo.toml index c46bc5cf3cb..6139ff7702c 100644 --- a/arrow-pyarrow-integration-testing/Cargo.toml +++ b/arrow-pyarrow-integration-testing/Cargo.toml @@ -25,7 +25,7 @@ authors = ["Apache Arrow "] license = "Apache-2.0" keywords = [ "arrow" ] edition = "2021" -rust-version = "1.57" +rust-version = "1.62" [lib] name = "arrow_pyarrow_integration_testing" diff --git a/arrow/Cargo.toml b/arrow/Cargo.toml index 70d19bebd32..d0a7c73ae3d 100644 --- a/arrow/Cargo.toml +++ b/arrow/Cargo.toml @@ -30,7 +30,7 @@ include = [ "Cargo.toml", ] edition = "2021" -rust-version = "1.57" +rust-version = "1.62" [lib] name = "arrow" diff --git a/integration-testing/Cargo.toml b/integration-testing/Cargo.toml index 954a4120754..5d98dc9eb96 100644 --- a/integration-testing/Cargo.toml +++ b/integration-testing/Cargo.toml @@ -25,7 +25,7 @@ authors = ["Apache Arrow "] license = "Apache-2.0" edition = "2021" publish = false -rust-version = "1.57" +rust-version = "1.62" [features] logging = ["tracing-subscriber"] diff --git a/object_store/src/throttle.rs b/object_store/src/throttle.rs index e91d55a5e7f..6560296516d 100644 --- a/object_store/src/throttle.rs +++ b/object_store/src/throttle.rs @@ -430,6 +430,7 @@ mod tests { path } + #[allow(dead_code)] async fn place_test_objects( store: &ThrottledStore, n_entries: usize, @@ -472,6 +473,7 @@ mod tests { t0.elapsed() } + #[allow(dead_code)] async fn measure_get( store: &ThrottledStore, n_bytes: Option, @@ -498,6 +500,7 @@ mod tests { t0.elapsed() } + #[allow(dead_code)] async fn measure_list( store: &ThrottledStore, n_entries: usize, @@ -516,6 +519,7 @@ mod tests { t0.elapsed() } + #[allow(dead_code)] async fn measure_list_with_delimiter( store: &ThrottledStore, n_entries: usize, diff --git a/parquet/Cargo.toml b/parquet/Cargo.toml index 5f6ae65d114..eb620773325 100644 --- a/parquet/Cargo.toml +++ b/parquet/Cargo.toml @@ -27,7 +27,7 @@ keywords = ["arrow", "parquet", "hadoop"] readme = "README.md" build = "build.rs" edition = "2021" -rust-version = "1.57" +rust-version = "1.62" [dependencies] parquet-format = { version = "4.0.0", default-features = false } diff --git a/parquet_derive/Cargo.toml b/parquet_derive/Cargo.toml index 16a42807ce7..16e19df57af 100644 --- a/parquet_derive/Cargo.toml +++ b/parquet_derive/Cargo.toml @@ -26,7 +26,7 @@ authors = ["Apache Arrow "] keywords = [ "parquet" ] readme = "README.md" edition = "2021" -rust-version = "1.57" +rust-version = "1.62" [lib] proc-macro = true diff --git a/parquet_derive_test/Cargo.toml b/parquet_derive_test/Cargo.toml index e6c3d6ccf61..d03ea235984 100644 --- a/parquet_derive_test/Cargo.toml +++ b/parquet_derive_test/Cargo.toml @@ -26,7 +26,7 @@ authors = ["Apache Arrow "] keywords = [ "parquet" ] edition = "2021" publish = false -rust-version = "1.57" +rust-version = "1.62" [dependencies] parquet = { path = "../parquet", version = "19.0.0", default-features = false }