| # 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. |
| |
| [package] |
| name = "datafusion-physical-expr" |
| description = "Physical expression implementation for DataFusion query engine" |
| keywords = ["arrow", "query", "sql"] |
| readme = "README.md" |
| version = { workspace = true } |
| edition = { workspace = true } |
| homepage = { workspace = true } |
| repository = { workspace = true } |
| license = { workspace = true } |
| authors = { workspace = true } |
| rust-version = { workspace = true } |
| |
| [package.metadata.docs.rs] |
| all-features = true |
| |
| # Note: add additional linter rules in lib.rs. |
| # Rust does not support workspace + new linter rules in subcrates yet |
| # https://github.com/rust-lang/cargo/issues/13157 |
| [lints] |
| workspace = true |
| |
| [lib] |
| name = "datafusion_physical_expr" |
| |
| [dependencies] |
| ahash = { workspace = true } |
| arrow = { workspace = true } |
| datafusion-common = { workspace = true } |
| datafusion-expr = { workspace = true } |
| datafusion-expr-common = { workspace = true } |
| datafusion-functions-aggregate-common = { workspace = true } |
| datafusion-physical-expr-common = { workspace = true } |
| half = { workspace = true } |
| hashbrown = { workspace = true } |
| indexmap = { workspace = true } |
| itertools = { workspace = true, features = ["use_std"] } |
| parking_lot = { workspace = true } |
| paste = "^1.0" |
| petgraph = "0.8.3" |
| |
| [dev-dependencies] |
| arrow = { workspace = true, features = ["test_utils"] } |
| criterion = { workspace = true } |
| datafusion-functions = { workspace = true } |
| insta = { workspace = true } |
| rand = { workspace = true } |
| rstest = { workspace = true } |
| |
| [[bench]] |
| harness = false |
| name = "in_list" |
| |
| [[bench]] |
| harness = false |
| name = "case_when" |
| |
| [[bench]] |
| harness = false |
| name = "is_null" |
| |
| [[bench]] |
| harness = false |
| name = "binary_op" |