| # Licensed to the Apache Software Foundation (ASF) under one |
| # or more contributor license agreements. See the NOTICE file |
| # distributed with this work for additional information |
| # regarding copyright ownership. The ASF licenses this file |
| # to you under the Apache License, Version 2.0 (the |
| # "License"); you may not use this file except in compliance |
| # with the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, |
| # software distributed under the License is distributed on an |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| # KIND, either express or implied. See the License for the |
| # specific language governing permissions and limitations |
| # under the License. |
| |
| [workspace] |
| exclude = ["datafusion-cli"] |
| members = ["datafusion/common", "datafusion/core", "datafusion/expr", "datafusion/execution", "datafusion/optimizer", "datafusion/physical-expr", "datafusion/physical-plan", "datafusion/proto", "datafusion/proto/gen", "datafusion/sql", "datafusion/sqllogictest", "datafusion/substrait", "datafusion-examples", "test-utils", "benchmarks", |
| ] |
| resolver = "2" |
| |
| [workspace.package] |
| authors = ["Apache Arrow <dev@arrow.apache.org>"] |
| edition = "2021" |
| homepage = "https://github.com/apache/arrow-datafusion" |
| license = "Apache-2.0" |
| readme = "README.md" |
| repository = "https://github.com/apache/arrow-datafusion" |
| rust-version = "1.70" |
| version = "31.0.0" |
| |
| [workspace.dependencies] |
| arrow = { version = "46.0.0", features = ["prettyprint", "dyn_cmp_dict"] } |
| arrow-array = { version = "46.0.0", default-features = false, features = ["chrono-tz"] } |
| arrow-buffer = { version = "46.0.0", default-features = false } |
| arrow-flight = { version = "46.0.0", features = ["flight-sql-experimental"] } |
| arrow-schema = { version = "46.0.0", default-features = false } |
| parquet = { version = "46.0.0", features = ["arrow", "async", "object_store"] } |
| sqlparser = { version = "0.37.0", features = ["visitor"] } |
| |
| [profile.release] |
| codegen-units = 1 |
| lto = true |
| |
| # the release profile takes a long time to build so we can use this profile during development to save time |
| # cargo build --profile release-nonlto |
| [profile.release-nonlto] |
| codegen-units = 16 |
| debug = false |
| debug-assertions = false |
| incremental = false |
| inherits = "release" |
| lto = false |
| opt-level = 3 |
| overflow-checks = false |
| panic = 'unwind' |
| rpath = false |