datafusion-optimizer 52.1.0

DataFusion Query Optimizer
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88.0"
name = "datafusion-optimizer"
version = "52.1.0"
authors = ["Apache DataFusion <dev@datafusion.apache.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DataFusion Query Optimizer"
homepage = "https://datafusion.apache.org"
readme = "README.md"
keywords = [
    "datafusion",
    "query",
    "optimizer",
]
license = "Apache-2.0"
repository = "https://github.com/apache/datafusion"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
recursive_protection = ["dep:recursive"]

[lib]
name = "datafusion_optimizer"
path = "src/lib.rs"

[[test]]
name = "optimizer_integration"
path = "tests/optimizer_integration.rs"

[[bench]]
name = "projection_unnecessary"
path = "benches/projection_unnecessary.rs"
harness = false

[dependencies.arrow]
version = "57.1.0"
features = [
    "prettyprint",
    "chrono-tz",
]

[dependencies.chrono]
version = "0.4.42"
default-features = false

[dependencies.datafusion-common]
version = "52.1.0"
default-features = true

[dependencies.datafusion-expr]
version = "52.1.0"
default-features = false

[dependencies.datafusion-expr-common]
version = "52.1.0"

[dependencies.datafusion-physical-expr]
version = "52.1.0"
default-features = false

[dependencies.indexmap]
version = "2.12.1"

[dependencies.itertools]
version = "0.14"

[dependencies.log]
version = "^0.4"

[dependencies.recursive]
version = "0.1.1"
optional = true

[dependencies.regex]
version = "1.12"

[dependencies.regex-syntax]
version = "0.8.6"

[dev-dependencies.async-trait]
version = "0.1.89"

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.ctor]
version = "0.6.3"

[dev-dependencies.datafusion-functions-aggregate]
version = "52.1.0"

[dev-dependencies.datafusion-functions-window]
version = "52.1.0"

[dev-dependencies.datafusion-functions-window-common]
version = "52.1.0"

[dev-dependencies.datafusion-sql]
version = "52.1.0"

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.insta]
version = "1.46.0"
features = [
    "glob",
    "filters",
]

[lints.clippy]
inefficient_to_string = "warn"
large_futures = "warn"
needless_pass_by_value = "warn"
or_fun_call = "warn"
uninlined_format_args = "warn"
unnecessary_lazy_evaluations = "warn"
used_underscore_binding = "warn"

[lints.rust]
unused_qualifications = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    'cfg(datafusion_coop, values("tokio", "tokio_fallback", "per_stream"))',
    "cfg(tarpaulin)",
    "cfg(tarpaulin_include)",
]