datafusion-sql 52.1.0

DataFusion SQL Query Planner
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-sql"
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 SQL Query Planner"
homepage = "https://datafusion.apache.org"
readme = "README.md"
keywords = [
    "datafusion",
    "sql",
    "parser",
    "planner",
]
license = "Apache-2.0"
repository = "https://github.com/apache/datafusion"
resolver = "2"

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

[features]
default = [
    "unicode_expressions",
    "unparser",
]
recursive_protection = ["dep:recursive"]
unicode_expressions = []
unparser = []

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

[[example]]
name = "sql"
path = "examples/sql.rs"

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

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

[dependencies.bigdecimal]
version = "0.4.8"

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

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

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

[dependencies.indexmap]
version = "2.12.1"

[dependencies.log]
version = "^0.4"

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

[dependencies.regex]
version = "1.12"

[dependencies.sqlparser]
version = "0.59.0"
features = [
    "std",
    "visitor",
]
default-features = false

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

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

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

[dev-dependencies.datafusion-functions-nested]
version = "52.1.0"
features = ["sql"]
default-features = false

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

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

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

[dev-dependencies.itertools]
version = "0.14"

[dev-dependencies.paste]
version = "1.0.15"

[dev-dependencies.rstest]
version = "0.26.1"

[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)",
]