[package]
edition = "2024"
rust-version = "1.95.0"
name = "datafusion-expr-common"
version = "56.0.0"
authors = ["Apache DataFusion <dev@datafusion.apache.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Logical plan and expression representation for DataFusion query engine"
homepage = "https://datafusion.apache.org"
readme = "README.md"
keywords = [
"datafusion",
"logical",
"plan",
"expressions",
]
license = "Apache-2.0"
repository = "https://github.com/apache/datafusion"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
[lib]
name = "datafusion_expr_common"
path = "src/lib.rs"
[dependencies.arrow]
version = "60.1.0"
features = [
"prettyprint",
"chrono-tz",
]
[dependencies.datafusion-common]
version = "56.0.0"
default-features = false
[dependencies.indexmap]
version = "2.14.0"
[dependencies.itertools]
version = "0.15"
[dev-dependencies.insta]
version = "1.47.2"
features = [
"glob",
"filters",
]
[dev-dependencies.rstest]
version = "0.28.0"
[lints.clippy]
allow_attributes = "warn"
as_ptr_cast_mut = "warn"
assert_is_empty = "allow"
branches_sharing_code = "warn"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
clear_with_drain = "warn"
coerce_container_to_any = "warn"
debug_assert_with_mut_call = "warn"
default_trait_access = "allow"
default_union_representation = "warn"
doc_include_without_cfg = "warn"
doc_markdown = "allow"
empty_enum_variants_with_brackets = "warn"
enum_glob_use = "allow"
equatable_if_let = "warn"
exit = "warn"
explicit_into_iter_loop = "allow"
explicit_iter_loop = "allow"
float_cmp = "allow"
fn_to_numeric_cast_any = "warn"
if_not_else = "allow"
ignored_unit_patterns = "allow"
implicit_clone = "allow"
implicit_hasher = "allow"
imprecise_flops = "warn"
infinite_loop = "warn"
inline_always = "allow"
items_after_statements = "allow"
iter_on_empty_collections = "warn"
iter_on_single_items = "warn"
large_include_file = "warn"
large_stack_frames = "warn"
literal_string_with_formatting_args = "warn"
manual_string_new = "allow"
many_single_char_names = "allow"
map_unwrap_or = "allow"
match_bool = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
mem_forget = "warn"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
needless_raw_string_hashes = "allow"
needless_type_cast = "warn"
negative_feature_names = "warn"
non_zero_suggestions = "warn"
nonstandard_macro_braces = "warn"
or_fun_call = "warn"
path_buf_push_overwrite = "warn"
pathbuf_init_then_push = "warn"
precedence_bits = "warn"
pub_without_shorthand = "warn"
rc_mutex = "warn"
redundant_closure_for_method_calls = "allow"
redundant_else = "allow"
rest_pat_in_fully_bound_structs = "warn"
return_self_not_must_use = "allow"
semicolon_if_nothing_returned = "allow"
set_contains_or_insert = "warn"
similar_names = "allow"
single_match_else = "allow"
single_option_map = "warn"
string_lit_as_bytes = "warn"
string_lit_chars_any = "warn"
struct_excessive_bools = "allow"
struct_field_names = "allow"
suspicious_xor_used_as_pow = "warn"
too_many_lines = "allow"
trailing_empty_array = "warn"
trait_duplication_in_bounds = "warn"
trivially_copy_pass_by_ref = "allow"
uninhabited_references = "warn"
unnecessary_literal_bound = "allow"
unnecessary_safety_doc = "warn"
unnecessary_self_imports = "warn"
unnecessary_struct_initialization = "warn"
unnecessary_wraps = "allow"
unnested_or_patterns = "allow"
unreadable_literal = "allow"
unused_peekable = "warn"
unused_rounding = "warn"
unused_self = "allow"
used_underscore_items = "allow"
verbose_file_reads = "warn"
wildcard_dependencies = "warn"
wildcard_imports = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[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(coverage)",
"cfg(coverage_nightly)",
"cfg(datafusion_loom)",
]