You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ji...@apache.org on 2021/10/15 06:06:19 UTC
[arrow-datafusion] 01/01: use 2021 edition
This is an automated email from the ASF dual-hosted git repository.
jiayuliu pushed a commit to branch try-out-2021
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git
commit c5004a0836dc5de86390ba3a808cd9527657ae29
Author: Jiayu Liu <ji...@hey.com>
AuthorDate: Fri Oct 8 13:39:47 2021 +0800
use 2021 edition
---
ballista-examples/Cargo.toml | 2 +-
ballista/rust/client/Cargo.toml | 2 +-
ballista/rust/core/Cargo.toml | 2 +-
ballista/rust/executor/Cargo.toml | 2 +-
ballista/rust/scheduler/Cargo.toml | 2 +-
benchmarks/Cargo.toml | 2 +-
datafusion-cli/Cargo.toml | 2 +-
datafusion-examples/Cargo.toml | 2 +-
datafusion/Cargo.toml | 2 +-
python/Cargo.toml | 2 +-
rustfmt.toml | 2 +-
11 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/ballista-examples/Cargo.toml b/ballista-examples/Cargo.toml
index e0989b9..aecc994 100644
--- a/ballista-examples/Cargo.toml
+++ b/ballista-examples/Cargo.toml
@@ -24,7 +24,7 @@ repository = "https://github.com/apache/arrow-datafusion"
authors = ["Apache Arrow <de...@arrow.apache.org>"]
license = "Apache-2.0"
keywords = [ "arrow", "distributed", "query", "sql" ]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
diff --git a/ballista/rust/client/Cargo.toml b/ballista/rust/client/Cargo.toml
index d381085..bd9f1a4 100644
--- a/ballista/rust/client/Cargo.toml
+++ b/ballista/rust/client/Cargo.toml
@@ -23,7 +23,7 @@ version = "0.6.0"
homepage = "https://github.com/apache/arrow-datafusion"
repository = "https://github.com/apache/arrow-datafusion"
authors = ["Apache Arrow <de...@arrow.apache.org>"]
-edition = "2018"
+edition = "2021"
[dependencies]
ballista-core = { path = "../core", version = "0.6.0" }
diff --git a/ballista/rust/core/Cargo.toml b/ballista/rust/core/Cargo.toml
index ac53aa0..56a4de3 100644
--- a/ballista/rust/core/Cargo.toml
+++ b/ballista/rust/core/Cargo.toml
@@ -23,7 +23,7 @@ version = "0.6.0"
homepage = "https://github.com/apache/arrow-datafusion"
repository = "https://github.com/apache/arrow-datafusion"
authors = ["Apache Arrow <de...@arrow.apache.org>"]
-edition = "2018"
+edition = "2021"
build = "build.rs"
[features]
diff --git a/ballista/rust/executor/Cargo.toml b/ballista/rust/executor/Cargo.toml
index c6e0ab8..70d6423 100644
--- a/ballista/rust/executor/Cargo.toml
+++ b/ballista/rust/executor/Cargo.toml
@@ -23,7 +23,7 @@ version = "0.6.0"
homepage = "https://github.com/apache/arrow-datafusion"
repository = "https://github.com/apache/arrow-datafusion"
authors = ["Apache Arrow <de...@arrow.apache.org>"]
-edition = "2018"
+edition = "2021"
[features]
snmalloc = ["snmalloc-rs"]
diff --git a/ballista/rust/scheduler/Cargo.toml b/ballista/rust/scheduler/Cargo.toml
index c840772..f88e3a6 100644
--- a/ballista/rust/scheduler/Cargo.toml
+++ b/ballista/rust/scheduler/Cargo.toml
@@ -23,7 +23,7 @@ version = "0.6.0"
homepage = "https://github.com/apache/arrow-datafusion"
repository = "https://github.com/apache/arrow-datafusion"
authors = ["Apache Arrow <de...@arrow.apache.org>"]
-edition = "2018"
+edition = "2021"
[features]
default = ["etcd", "sled"]
diff --git a/benchmarks/Cargo.toml b/benchmarks/Cargo.toml
index 19a67a5..40d1814 100644
--- a/benchmarks/Cargo.toml
+++ b/benchmarks/Cargo.toml
@@ -19,7 +19,7 @@
name = "arrow-benchmarks"
description = "Apache Arrow Benchmarks"
version = "4.0.0-SNAPSHOT"
-edition = "2018"
+edition = "2021"
authors = ["Apache Arrow <de...@arrow.apache.org>"]
homepage = "https://github.com/apache/arrow-datafusion"
repository = "https://github.com/apache/arrow-datafusion"
diff --git a/datafusion-cli/Cargo.toml b/datafusion-cli/Cargo.toml
index 3b9be67..173cb24 100644
--- a/datafusion-cli/Cargo.toml
+++ b/datafusion-cli/Cargo.toml
@@ -19,7 +19,7 @@
name = "datafusion-cli"
version = "5.1.0-SNAPSHOT"
authors = ["Apache Arrow <de...@arrow.apache.org>"]
-edition = "2018"
+edition = "2021"
keywords = [ "arrow", "datafusion", "ballista", "query", "sql", "cli", "repl" ]
license = "Apache-2.0"
homepage = "https://github.com/apache/arrow-datafusion"
diff --git a/datafusion-examples/Cargo.toml b/datafusion-examples/Cargo.toml
index 113cd5b..4c65157 100644
--- a/datafusion-examples/Cargo.toml
+++ b/datafusion-examples/Cargo.toml
@@ -24,7 +24,7 @@ repository = "https://github.com/apache/arrow-datafusion"
authors = ["Apache Arrow <de...@arrow.apache.org>"]
license = "Apache-2.0"
keywords = [ "arrow", "query", "sql" ]
-edition = "2018"
+edition = "2021"
publish = false
[[example]]
diff --git a/datafusion/Cargo.toml b/datafusion/Cargo.toml
index 0c0b366..d79469f 100644
--- a/datafusion/Cargo.toml
+++ b/datafusion/Cargo.toml
@@ -30,7 +30,7 @@ include = [
"src/**/*.rs",
"Cargo.toml",
]
-edition = "2018"
+edition = "2021"
[lib]
name = "datafusion"
diff --git a/python/Cargo.toml b/python/Cargo.toml
index 731edcb..f93b9e5 100644
--- a/python/Cargo.toml
+++ b/python/Cargo.toml
@@ -24,7 +24,7 @@ authors = ["Apache Arrow <de...@arrow.apache.org>"]
description = "Build and run queries against data"
readme = "README.md"
license = "Apache-2.0"
-edition = "2018"
+edition = "2021"
[dependencies]
libc = "0.2"
diff --git a/rustfmt.toml b/rustfmt.toml
index c49cccd..4522e52 100644
--- a/rustfmt.toml
+++ b/rustfmt.toml
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
-edition = "2018"
+edition = "2021"
max_width = 90
# ignore generated files