Apache DataFusion SQL Query Engine
chore: deduplicate workspace fields in Cargo.toml (#5519)
Ruihang Xia8b5c1c729d85
diff --git a/Cargo.toml b/Cargo.tomlindex c1f068eb33..e7eb05ca1f 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -35,6 +35,22 @@ members = ["benchmarks",]+[workspace.package]+version = "19.0.0"+edition = "2021"+readme = "README.md"+authors = ["Apache Arrow <[email protected]>"]+license = "Apache-2.0"+homepage = "https://github.com/apache/arrow-datafusion"+repository = "https://github.com/apache/arrow-datafusion"+rust-version = "1.64"++[workspace.dependencies]+arrow = { version = "34.0.0", features = ["prettyprint"] }+arrow-buffer = "34.0.0"+arrow-schema = "34.0.0"+parquet = { version = "34.0.0", features = ["arrow", "async"] }+[profile.release]codegen-units = 1lto = truediff --git a/benchmarks/Cargo.toml b/benchmarks/Cargo.tomlindex 37b6bfc4ea..ad21cb2a39 100644--- a/benchmarks/Cargo.toml+++ b/benchmarks/Cargo.toml@@ -33,14 +33,14 @@ simd = ["datafusion/simd"]snmalloc = ["snmalloc-rs"][dependencies]-arrow = "34.0.0"+arrow = { workspace = true }datafusion = { path = "../datafusion/core", version = "19.0.0", features = ["scheduler"] }env_logger = "0.10"futures = "0.3"mimalloc = { version = "0.1", optional = true, default-features = false }num_cpus = "1.13.0"object_store = "0.5.4"-parquet = "34.0.0"+parquet = { workspace = true }parquet-test-utils = { path = "../parquet-test-utils/", version = "0.1.0" }rand = "0.8.4"serde = { version = "1.0.136", features = ["derive"] }diff --git a/datafusion-examples/Cargo.toml b/datafusion-examples/Cargo.tomlindex 4cccad47b9..613d3e934a 100644--- a/datafusion-examples/Cargo.toml+++ b/datafusion-examples/Cargo.toml@@ -18,15 +18,16 @@[package]name = "datafusion-examples"description = "DataFusion usage examples"-version = "19.0.0"-homepage = "https://github.com/apache/arrow-datafusion"-repository = "https://github.com/apache/arrow-datafusion"-authors = ["Apache Arrow <[email protected]>"]-license = "Apache-2.0"keywords = [ "arrow", "query", "sql" ]-edition = "2021"publish = false-rust-version = "1.62"+version = { workspace = true }+edition = { workspace = true }+readme = { workspace = true }+homepage = { workspace = true }+repository = { workspace = true }+license = { workspace = true }+authors = { workspace = true }+rust-version = { workspace = true }[[example]]name = "avro_sql"@@ -34,9 +35,9 @@ path = "examples/avro_sql.rs"required-features = ["datafusion/avro"][dev-dependencies]-arrow = "34.0.0"+arrow = { workspace = true }arrow-flight = { version = "34.0.0", features = ["flight-sql-experimental"] }-arrow-schema = "34.0.0"+arrow-schema = { workspace = true }async-trait = "0.1.41"dashmap = "5.4"datafusion = { path = "../datafusion/core" }diff --git a/datafusion/common/Cargo.toml b/datafusion/common/Cargo.tomlindex f8bdd72e77..8a0a7042fc 100644--- a/datafusion/common/Cargo.toml+++ b/datafusion/common/Cargo.toml@@ -18,15 +18,15 @@[package]name = "datafusion-common"description = "Common functionality for DataFusion query engine"-version = "19.0.0"-homepage = "https://github.com/apache/arrow-datafusion"-repository = "https://github.com/apache/arrow-datafusion"-readme = "README.md"-authors = ["Apache Arrow <[email protected]>"]-license = "Apache-2.0"keywords = ["arrow", "query", "sql"]-edition = "2021"-rust-version = "1.62"+version = { workspace = true }+edition = { workspace = true }+readme = { workspace = true }+homepage = { workspace = true }+repository = { workspace = true }+license = { workspace = true }+authors = { workspace = true }+rust-version = { workspace = true }[lib]name = "datafusion_common"@@ -40,11 +40,11 @@ pyarrow = ["pyo3", "arrow/pyarrow"][dependencies]apache-avro = { version = "0.14", default-features = false, features = ["snappy"], optional = true }-arrow = { version = "34.0.0", default-features = false }+arrow = { workspace = true, default-features = false }chrono = { version = "0.4", default-features = false }cranelift-module = { version = "0.92.0", optional = true }num_cpus = "1.13.0"object_store = { version = "0.5.4", default-features = false, optional = true }-parquet = { version = "34.0.0", default-features = false, optional = true }+parquet = { workspace = true, default-features = false, optional = true }pyo3 = { version = "0.18.0", optional = true }sqlparser = "0.32"diff --git a/datafusion/core/Cargo.toml b/datafusion/core/Cargo.tomlindex a17028723d..616f9a52b3 100644--- a/datafusion/core/Cargo.toml+++ b/datafusion/core/Cargo.toml@@ -18,20 +18,20 @@[package]name = "datafusion"description = "DataFusion is an in-memory query engine that uses Apache Arrow as the memory model"-version = "19.0.0"-homepage = "https://github.com/apache/arrow-datafusion"-repository = "https://github.com/apache/arrow-datafusion"-readme = "../../README.md"-authors = ["Apache Arrow <[email protected]>"]-license = "Apache-2.0"keywords = ["arrow", "query", "sql"]include = ["benches/*.rs","src/**/*.rs","Cargo.toml",]-edition = "2021"-rust-version = "1.62"+version = { workspace = true }+edition = { workspace = true }+readme = { workspace = true }+homepage = { workspace = true }+repository = { workspace = true }+license = { workspace = true }+authors = { workspace = true }+rust-version = { workspace = true }[lib]name = "datafusion"@@ -60,7 +60,7 @@ unicode_expressions = ["datafusion-physical-expr/unicode_expressions", "datafusi[dependencies]ahash = { version = "0.8", default-features = false, features = ["runtime-rng"] }apache-avro = { version = "0.14", optional = true }-arrow = { version = "34.0.0", features = ["prettyprint"] }+arrow = { workspace = true }async-compression = { version = "0.3.14", features = ["bzip2", "gzip", "xz", "zstd", "futures-io", "tokio"], optional = true }async-trait = "0.1.41"bytes = "1.4"@@ -87,7 +87,7 @@ num-traits = { version = "0.2", optional = true }num_cpus = "1.13.0"object_store = "0.5.4"parking_lot = "0.12"-parquet = { version = "34.0.0", features = ["arrow", "async"] }+parquet = { workspace = true }paste = "^1.0"percent-encoding = "2.2.0"pin-project-lite = "^0.2.7"diff --git a/datafusion/execution/Cargo.toml b/datafusion/execution/Cargo.tomlindex 9e68acc7d9..9530d77ec0 100644--- a/datafusion/execution/Cargo.toml+++ b/datafusion/execution/Cargo.toml@@ -18,21 +18,20 @@[package]name = "datafusion-execution"description = "Execution configuration support for DataFusion query engine"-version = "19.0.0"-homepage = "https://github.com/apache/arrow-datafusion"-repository = "https://github.com/apache/arrow-datafusion"-readme = "README.md"-authors = ["Apache Arrow <[email protected]>"]-license = "Apache-2.0"keywords = [ "arrow", "query", "sql" ]-edition = "2021"-rust-version = "1.62"+version = { workspace = true }+edition = { workspace = true }+readme = { workspace = true }+homepage = { workspace = true }+repository = { workspace = true }+license = { workspace = true }+authors = { workspace = true }+rust-version = { workspace = true }[lib]name = "datafusion_execution"path = "src/lib.rs"-[dependencies]dashmap = "5.4.0"datafusion-common = { path = "../common", version = "19.0.0" }diff --git a/datafusion/expr/Cargo.toml b/datafusion/expr/Cargo.tomlindex da1caaa9f9..ed17fc6d83 100644--- a/datafusion/expr/Cargo.toml+++ b/datafusion/expr/Cargo.toml@@ -18,15 +18,15 @@[package]name = "datafusion-expr"description = "Logical plan and expression representation for DataFusion query engine"-version = "19.0.0"-homepage = "https://github.com/apache/arrow-datafusion"-repository = "https://github.com/apache/arrow-datafusion"-readme = "README.md"-authors = ["Apache Arrow <[email protected]>"]-license = "Apache-2.0"keywords = [ "datafusion", "logical", "plan", "expressions" ]-edition = "2021"-rust-version = "1.62"+version = { workspace = true }+edition = { workspace = true }+readme = { workspace = true }+homepage = { workspace = true }+repository = { workspace = true }+license = { workspace = true }+authors = { workspace = true }+rust-version = { workspace = true }[lib]name = "datafusion_expr"@@ -36,7 +36,7 @@ path = "src/lib.rs"[dependencies]ahash = { version = "0.8", default-features = false, features = ["runtime-rng"] }-arrow = { version = "34.0.0", default-features = false }+arrow = { workspace = true, default-features = false }datafusion-common = { path = "../common", version = "19.0.0" }log = "^0.4"sqlparser = "0.32"diff --git a/datafusion/jit/Cargo.toml b/datafusion/jit/Cargo.tomlindex 83db698dae..b2bd1b16d2 100644--- a/datafusion/jit/Cargo.toml+++ b/datafusion/jit/Cargo.toml@@ -18,15 +18,15 @@[package]name = "datafusion-jit"description = "Just In Time (JIT) compilation support for DataFusion query engine"-version = "19.0.0"-homepage = "https://github.com/apache/arrow-datafusion"-repository = "https://github.com/apache/arrow-datafusion"-readme = "README.md"-authors = ["Apache Arrow <[email protected]>"]-license = "Apache-2.0"keywords = [ "arrow", "query", "sql" ]-edition = "2021"-rust-version = "1.62"+version = { workspace = true }+edition = { workspace = true }+readme = { workspace = true }+homepage = { workspace = true }+repository = { workspace = true }+license = { workspace = true }+authors = { workspace = true }+rust-version = { workspace = true }[lib]name = "datafusion_jit"@@ -36,7 +36,7 @@ path = "src/lib.rs"jit = [][dependencies]-arrow = { version = "34.0.0", default-features = false }+arrow = { workspace = true, default-features = false }cranelift = "0.89.0"cranelift-jit = "0.89.0"cranelift-module = "0.89.0"diff --git a/datafusion/optimizer/Cargo.toml b/datafusion/optimizer/Cargo.tomlindex 12a01e5d29..0b1b467330 100644--- a/datafusion/optimizer/Cargo.toml+++ b/datafusion/optimizer/Cargo.toml@@ -18,15 +18,15 @@[package]name = "datafusion-optimizer"description = "DataFusion Query Optimizer"-version = "19.0.0"-homepage = "https://github.com/apache/arrow-datafusion"-repository = "https://github.com/apache/arrow-datafusion"-readme = "README.md"-authors = ["Apache Arrow <[email protected]>"]-license = "Apache-2.0"keywords = [ "datafusion", "query", "optimizer" ]-edition = "2021"-rust-version = "1.62"+version = { workspace = true }+edition = { workspace = true }+readme = { workspace = true }+homepage = { workspace = true }+repository = { workspace = true }+license = { workspace = true }+authors = { workspace = true }+rust-version = { workspace = true }[lib]name = "datafusion_optimizer"@@ -40,7 +40,7 @@ regex_expressions = ["datafusion-physical-expr/regex_expressions"]unicode_expressions = ["datafusion-physical-expr/unicode_expressions"][dependencies]-arrow = { version = "34.0.0", features = ["prettyprint"] }+arrow = { workspace = true }async-trait = "0.1.41"chrono = { version = "0.4.23", default-features = false }datafusion-common = { path = "../common", version = "19.0.0" }diff --git a/datafusion/physical-expr/Cargo.toml b/datafusion/physical-expr/Cargo.tomlindex 460a58be51..49c2498ec8 100644--- a/datafusion/physical-expr/Cargo.toml+++ b/datafusion/physical-expr/Cargo.toml@@ -18,15 +18,15 @@[package]name = "datafusion-physical-expr"description = "Physical expression implementation for DataFusion query engine"-version = "19.0.0"-homepage = "https://github.com/apache/arrow-datafusion"-repository = "https://github.com/apache/arrow-datafusion"-readme = "README.md"-authors = ["Apache Arrow <[email protected]>"]-license = "Apache-2.0"keywords = ["arrow", "query", "sql"]-edition = "2021"-rust-version = "1.62"+version = { workspace = true }+edition = { workspace = true }+readme = { workspace = true }+homepage = { workspace = true }+repository = { workspace = true }+license = { workspace = true }+authors = { workspace = true }+rust-version = { workspace = true }[lib]name = "datafusion_physical_expr"@@ -43,9 +43,9 @@ unicode_expressions = ["unicode-segmentation"][dependencies]ahash = { version = "0.8", default-features = false, features = ["runtime-rng"] }-arrow = { version = "34.0.0", features = ["prettyprint"] }-arrow-buffer = "34.0.0"-arrow-schema = "34.0.0"+arrow = { workspace = true }+arrow-buffer = { workspace = true }+arrow-schema = { workspace = true }blake2 = { version = "^0.10.2", optional = true }blake3 = { version = "1.0", optional = true }chrono = { version = "0.4.23", default-features = false }diff --git a/datafusion/proto/Cargo.toml b/datafusion/proto/Cargo.tomlindex bcf0dac02d..eaadf59f9f 100644--- a/datafusion/proto/Cargo.toml+++ b/datafusion/proto/Cargo.toml@@ -18,15 +18,15 @@[package]name = "datafusion-proto"description = "Protobuf serialization of DataFusion logical plan expressions"-version = "19.0.0"-homepage = "https://github.com/apache/arrow-datafusion"-repository = "https://github.com/apache/arrow-datafusion"-readme = "README.md"-authors = ["Apache Arrow <[email protected]>"]-license = "Apache-2.0"keywords = ["arrow", "query", "sql"]-edition = "2021"-rust-version = "1.62"+version = { workspace = true }+edition = { workspace = true }+readme = { workspace = true }+homepage = { workspace = true }+repository = { workspace = true }+license = { workspace = true }+authors = { workspace = true }+rust-version = { workspace = true }# Exclude proto files so crates.io consumers don't need protocexclude = ["*.proto"]@@ -40,7 +40,7 @@ default = []json = ["pbjson", "serde", "serde_json"][dependencies]-arrow = "34.0.0"+arrow = { workspace = true }chrono = { version = "0.4", default-features = false }datafusion = { path = "../core", version = "19.0.0" }datafusion-common = { path = "../common", version = "19.0.0" }diff --git a/datafusion/row/Cargo.toml b/datafusion/row/Cargo.tomlindex 0d7c313e5d..cff99ed35b 100644--- a/datafusion/row/Cargo.toml+++ b/datafusion/row/Cargo.toml@@ -18,15 +18,15 @@[package]name = "datafusion-row"description = "Row backed by raw bytes for DataFusion query engine"-version = "19.0.0"-homepage = "https://github.com/apache/arrow-datafusion"-repository = "https://github.com/apache/arrow-datafusion"-readme = "README.md"-authors = ["Apache Arrow <[email protected]>"]-license = "Apache-2.0"keywords = [ "arrow", "query", "sql" ]-edition = "2021"-rust-version = "1.62"+version = { workspace = true }+edition = { workspace = true }+readme = { workspace = true }+homepage = { workspace = true }+repository = { workspace = true }+license = { workspace = true }+authors = { workspace = true }+rust-version = { workspace = true }[lib]name = "datafusion_row"@@ -37,7 +37,7 @@ path = "src/lib.rs"jit = ["datafusion-jit"][dependencies]-arrow = "34.0.0"+arrow = { workspace = true }datafusion-common = { path = "../common", version = "19.0.0" }datafusion-jit = { path = "../jit", version = "19.0.0", optional = true }paste = "^1.0"diff --git a/datafusion/sql/Cargo.toml b/datafusion/sql/Cargo.tomlindex c637a7dd28..2c5d14b7e7 100644--- a/datafusion/sql/Cargo.toml+++ b/datafusion/sql/Cargo.toml@@ -18,15 +18,15 @@[package]name = "datafusion-sql"description = "DataFusion SQL Query Planner"-version = "19.0.0"-homepage = "https://github.com/apache/arrow-datafusion"-repository = "https://github.com/apache/arrow-datafusion"-readme = "README.md"-authors = ["Apache Arrow <[email protected]>"]-license = "Apache-2.0"keywords = ["datafusion", "sql", "parser", "planner"]-edition = "2021"-rust-version = "1.62"+version = { workspace = true }+edition = { workspace = true }+readme = { workspace = true }+homepage = { workspace = true }+repository = { workspace = true }+license = { workspace = true }+authors = { workspace = true }+rust-version = { workspace = true }[lib]name = "datafusion_sql"@@ -37,7 +37,7 @@ default = ["unicode_expressions"]unicode_expressions = [][dependencies]-arrow-schema = "34.0.0"+arrow-schema = { workspace = true }datafusion-common = { path = "../common", version = "19.0.0" }datafusion-expr = { path = "../expr", version = "19.0.0" }log = "^0.4"diff --git a/datafusion/substrait/Cargo.toml b/datafusion/substrait/Cargo.tomlindex 8cd5ee4cad..4060ad4ab8 100644--- a/datafusion/substrait/Cargo.toml+++ b/datafusion/substrait/Cargo.toml@@ -18,10 +18,14 @@[package]name = "datafusion-substrait"description = "DataFusion Substrait Producer and Consumer"-license = "Apache-2.0"-version = "19.0.0"-edition = "2021"-rust-version = "1.62"+version = { workspace = true }+edition = { workspace = true }+readme = { workspace = true }+homepage = { workspace = true }+repository = { workspace = true }+license = { workspace = true }+authors = { workspace = true }+rust-version = { workspace = true }[dependencies]async-recursion = "1.0"diff --git a/parquet-test-utils/Cargo.toml b/parquet-test-utils/Cargo.tomlindex 0d41aa823d..9b5835a336 100644--- a/parquet-test-utils/Cargo.toml+++ b/parquet-test-utils/Cargo.toml@@ -25,4 +25,4 @@ edition = "2021"[dependencies]datafusion = { path = "../datafusion/core" }object_store = "0.5.4"-parquet = "34.0.0"+parquet = { workspace = true }diff --git a/test-utils/Cargo.toml b/test-utils/Cargo.tomlindex b7863a385f..19ffb59403 100644--- a/test-utils/Cargo.toml+++ b/test-utils/Cargo.toml@@ -23,7 +23,7 @@ edition = "2021"# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html[dependencies]-arrow = { version = "34.0.0", features = ["prettyprint"] }+arrow = { workspace = true }datafusion-common = { path = "../datafusion/common" }env_logger = "0.10.0"rand = "0.8"