# 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 = "2021" rust-version = "1.79" name = "datafusion-functions" version = "43.0.0" authors = ["Apache DataFusion "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Function packages for the 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" [lib] name = "datafusion_functions" path = "src/lib.rs" [[bench]] name = "character_length" path = "benches/character_length.rs" harness = false required-features = ["unicode_expressions"] [[bench]] name = "concat" path = "benches/concat.rs" harness = false required-features = ["string_expressions"] [[bench]] name = "cot" path = "benches/cot.rs" harness = false required-features = ["math_expressions"] [[bench]] name = "date_bin" path = "benches/date_bin.rs" harness = false required-features = ["datetime_expressions"] [[bench]] name = "encoding" path = "benches/encoding.rs" harness = false required-features = ["encoding_expressions"] [[bench]] name = "isnan" path = "benches/isnan.rs" harness = false required-features = ["math_expressions"] [[bench]] name = "iszero" path = "benches/iszero.rs" harness = false required-features = ["math_expressions"] [[bench]] name = "lower" path = "benches/lower.rs" harness = false required-features = ["string_expressions"] [[bench]] name = "ltrim" path = "benches/ltrim.rs" harness = false required-features = ["string_expressions"] [[bench]] name = "make_date" path = "benches/make_date.rs" harness = false required-features = ["datetime_expressions"] [[bench]] name = "nullif" path = "benches/nullif.rs" harness = false required-features = ["core_expressions"] [[bench]] name = "pad" path = "benches/pad.rs" harness = false required-features = ["unicode_expressions"] [[bench]] name = "random" path = "benches/random.rs" harness = false required-features = ["math_expressions"] [[bench]] name = "regx" path = "benches/regx.rs" harness = false required-features = ["regex_expressions"] [[bench]] name = "repeat" path = "benches/repeat.rs" harness = false required-features = ["string_expressions"] [[bench]] name = "signum" path = "benches/signum.rs" harness = false required-features = ["math_expressions"] [[bench]] name = "strpos" path = "benches/strpos.rs" harness = false required-features = ["unicode_expressions"] [[bench]] name = "substr" path = "benches/substr.rs" harness = false required-features = ["unicode_expressions"] [[bench]] name = "substr_index" path = "benches/substr_index.rs" harness = false required-features = ["unicode_expressions"] [[bench]] name = "to_char" path = "benches/to_char.rs" harness = false required-features = ["datetime_expressions"] [[bench]] name = "to_timestamp" path = "benches/to_timestamp.rs" harness = false required-features = ["datetime_expressions"] [[bench]] name = "trunc" path = "benches/trunc.rs" harness = false required-features = ["math_expressions"] [[bench]] name = "upper" path = "benches/upper.rs" harness = false required-features = ["string_expressions"] [dependencies.arrow] version = "53.2.0" features = ["prettyprint"] [dependencies.arrow-buffer] version = "53.2.0" default-features = false [dependencies.base64] version = "0.22" optional = true [dependencies.blake2] version = "^0.10.2" optional = true [dependencies.blake3] version = "1.0" optional = true [dependencies.chrono] version = "0.4.38" default-features = false [dependencies.datafusion-common] version = "43.0.0" default-features = false [dependencies.datafusion-execution] version = "43.0.0" [dependencies.datafusion-expr] version = "43.0.0" [dependencies.hashbrown] version = "0.14.5" features = ["raw"] optional = true [dependencies.hex] version = "0.4" optional = true [dependencies.itertools] version = "0.13" [dependencies.log] version = "^0.4" [dependencies.md-5] version = "^0.10.0" optional = true [dependencies.rand] version = "0.8" [dependencies.regex] version = "1.8" optional = true [dependencies.sha2] version = "^0.10.1" optional = true [dependencies.unicode-segmentation] version = "^1.7.1" optional = true [dependencies.uuid] version = "1.7" features = ["v4"] optional = true [dev-dependencies.arrow] version = "53.2.0" features = [ "prettyprint", "test_utils", ] [dev-dependencies.criterion] version = "0.5" [dev-dependencies.rand] version = "0.8" [dev-dependencies.rstest] version = "0.23.0" [dev-dependencies.tokio] version = "1.36" features = [ "macros", "rt", "sync", "macros", "rt", "sync", ] [features] core_expressions = [] crypto_expressions = [ "md-5", "sha2", "blake2", "blake3", ] datetime_expressions = [] default = [ "core_expressions", "datetime_expressions", "encoding_expressions", "math_expressions", "regex_expressions", "string_expressions", "unicode_expressions", ] encoding_expressions = [ "base64", "hex", ] math_expressions = [] regex_expressions = ["regex"] string_expressions = ["uuid"] unicode_expressions = [ "hashbrown", "unicode-segmentation", ] [lints.clippy] large_futures = "warn" [lints.rust] unused_qualifications = "deny" [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(tarpaulin)"]