[package]
name = "datafusion-optimizer"
description = "DataFusion Query Optimizer"
keywords = [ "datafusion", "query", "optimizer" ]
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"
path = "src/lib.rs"
[features]
crypto_expressions = ["datafusion-physical-expr/crypto_expressions"]
default = ["unicode_expressions", "crypto_expressions", "regex_expressions"]
dictionary_expressions = ["datafusion-physical-expr/dictionary_expressions"]
regex_expressions = ["datafusion-physical-expr/regex_expressions"]
unicode_expressions = ["datafusion-physical-expr/unicode_expressions"]
[dependencies]
arrow = { workspace = true }
async-trait = "0.1.41"
chrono = { version = "0.4.27", default-features = false }
datafusion-common = { path = "../common", version = "31.0.0" }
datafusion-expr = { path = "../expr", version = "31.0.0" }
datafusion-physical-expr = { path = "../physical-expr", version = "31.0.0", default-features = false }
hashbrown = { version = "0.14", features = ["raw"] }
itertools = "0.11"
log = "^0.4"
regex-syntax = "0.7.1"
[dev-dependencies]
ctor = "0.2.0"
datafusion-sql = { path = "../sql", version = "31.0.0" }
env_logger = "0.10.0"