Cargo Features

[dependencies]
datafusion-functions = { version = "43.0.0", default-features = false, features = ["core_expressions", "crypto_expressions", "datetime_expressions", "encoding_expressions", "math_expressions", "regex_expressions", "string_expressions", "unicode_expressions"] }
core_expressions default

enable core functions

Affects datafusion-functions::core

crypto_expressions = blake2, blake3, md-5, sha2

Affects datafusion-functions::crypto

datetime_expressions default

enable datetime functions

Affects datafusion-functions::datetime, datafusion-functions::planner

default = core_expressions, datetime_expressions, encoding_expressions, math_expressions, regex_expressions, string_expressions, unicode_expressions

Enable encoding by default so the doctests work. In general don't automatically enable all packages.

encoding_expressions default = base64, hex

enable encode/decode functions

Affects datafusion-functions::encoding

math_expressions default

enable math functions

Affects datafusion-functions::math

regex_expressions default = regex

enable regular expressions

Affects datafusion-functions::regex

string_expressions default = uuid

enable string functions

Affects datafusion-functions::string

unicode_expressions default = hashbrown, unicode-segmentation

enable unicode functions

Affects datafusion-functions::unicode, datafusion-functions::planner

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

base64 encoding_expressions
blake2 crypto_expressions?
blake3 crypto_expressions?
hashbrown unicode_expressions

Enables hashbrown ^0.14.5

hex encoding_expressions
md-5 crypto_expressions?
regex regex_expressions
sha2 crypto_expressions?
unicode-segmentation unicode_expressions
uuid string_expressions