datafusion-common 52.1.0

Common functionality for DataFusion query engine
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-common"
version = "52.1.0"
authors = ["Apache DataFusion <dev@datafusion.apache.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Common functionality for DataFusion query engine"
homepage = "https://datafusion.apache.org"
readme = "README.md"
keywords = [
    "arrow",
    "query",
    "sql",
]
license = "Apache-2.0"
repository = "https://github.com/apache/datafusion"
resolver = "2"

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

[features]
avro = ["apache-avro"]
backtrace = []
force_hash_collisions = []
parquet = ["dep:parquet"]
parquet_encryption = [
    "parquet",
    "parquet/encryption",
    "dep:hex",
]
recursive_protection = ["dep:recursive"]
sql = ["sqlparser"]

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

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

[dependencies.ahash]
version = "0.8"
features = ["runtime-rng"]
default-features = false

[dependencies.apache-avro]
version = "0.21"
features = [
    "bzip",
    "snappy",
    "xz",
    "zstandard",
]
optional = true
default-features = false

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

[dependencies.arrow-ipc]
version = "57.1.0"
features = ["lz4"]
default-features = false

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

[dependencies.half]
version = "2.7.0"
default-features = false

[dependencies.hashbrown]
version = "0.16.1"

[dependencies.hex]
version = "0.4.3"
optional = true

[dependencies.indexmap]
version = "2.12.1"

[dependencies.libc]
version = "0.2.177"

[dependencies.log]
version = "^0.4"

[dependencies.object_store]
version = "0.12.4"
optional = true
default-features = false

[dependencies.parquet]
version = "57.1.0"
features = [
    "arrow",
    "async",
    "object_store",
]
optional = true
default-features = true

[dependencies.paste]
version = "1.0.15"

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

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

[dependencies.tokio]
version = "1.48"
features = [
    "macros",
    "rt",
    "sync",
]

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

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

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

[dev-dependencies.rand]
version = "0.9"

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

[target.'cfg(target_family = "wasm")'.dependencies.web-time]
version = "1.1.0"

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