jmespath_extensions 0.9.0

Extended functions for JMESPath queries - 400+ functions for strings, arrays, dates, hashing, encoding, geo, and more
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"
name = "jmespath_extensions"
version = "0.9.0"
authors = ["Josh Rotenberg <joshrotenberg@gmail.com>"]
build = "build.rs"
exclude = ["python/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Extended functions for JMESPath queries - 400+ functions for strings, arrays, dates, hashing, encoding, geo, and more"
homepage = "https://github.com/joshrotenberg/jmespath-extensions"
documentation = "https://docs.rs/jmespath_extensions"
readme = "README.md"
keywords = [
    "jmespath",
    "json",
    "query",
    "transform",
    "filter",
]
categories = [
    "data-structures",
    "parsing",
    "text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/joshrotenberg/jmespath-extensions"

[features]
array = []
color = []
computing = []
core = [
    "string",
    "array",
    "object",
    "math",
    "type",
    "utility",
    "validation",
    "path",
    "expression",
]
datetime = [
    "dep:chrono",
    "dep:chrono-tz",
    "dep:chrono-english",
    "dep:dateparser",
]
default = ["full"]
discovery = ["dep:strsim"]
duration = []
encoding = [
    "dep:base64",
    "dep:hex",
]
env = []
expression = []
format = ["dep:csv"]
full = [
    "string",
    "array",
    "object",
    "math",
    "type",
    "utility",
    "validation",
    "path",
    "hash",
    "encoding",
    "regex",
    "url",
    "uuid",
    "rand",
    "datetime",
    "fuzzy",
    "expression",
    "phonetic",
    "geo",
    "semver",
    "network",
    "ids",
    "text",
    "duration",
    "color",
    "computing",
    "jsonpatch",
    "multi-match",
    "format",
    "language",
    "discovery",
]
fuzzy = ["dep:strsim"]
geo = ["dep:geoutils"]
hash = [
    "dep:md-5",
    "dep:sha1",
    "dep:sha2",
    "dep:hmac",
    "dep:crc32fast",
]
ids = [
    "dep:nanoid",
    "dep:ulid",
]
jsonpatch = ["dep:json-patch"]
language = ["dep:whatlang"]
math = []
multi-match = ["dep:aho-corasick"]
network = ["dep:ipnetwork"]
object = []
path = []
phonetic = ["dep:rphonetic"]
query-library = []
rand = ["dep:rand"]
regex = ["dep:regex"]
semver = ["dep:semver_crate"]
string = []
text = [
    "dep:rust-stemmers",
    "dep:stop-words",
    "dep:unicode-normalization",
]
type = []
url = [
    "dep:url",
    "dep:urlencoding",
]
utility = []
uuid = ["dep:uuid"]
validation = [
    "dep:chrono",
    "dep:base64",
]

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

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

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

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

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

[dependencies.aho-corasick]
version = "1.1"
optional = true

[dependencies.base64]
version = "0.22"
optional = true

[dependencies.chrono]
version = "0.4"
optional = true

[dependencies.chrono-english]
version = "0.1"
optional = true

[dependencies.chrono-tz]
version = "0.10"
optional = true

[dependencies.crc32fast]
version = "1.5"
optional = true

[dependencies.csv]
version = "1.3"
optional = true

[dependencies.dateparser]
version = "0.2"
optional = true

[dependencies.geoutils]
version = "0.5"
optional = true

[dependencies.heck]
version = "0.5"

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

[dependencies.hmac]
version = "0.12"
optional = true

[dependencies.ipnetwork]
version = "0.21"
optional = true

[dependencies.jmespath]
version = "0.4"

[dependencies.json-patch]
version = "4.0"
optional = true

[dependencies.md-5]
version = "0.10"
optional = true

[dependencies.nanoid]
version = "0.4"
optional = true

[dependencies.rand]
version = "0.8"
optional = true

[dependencies.regex]
version = "1.5"
optional = true

[dependencies.rphonetic]
version = "3.0"
optional = true

[dependencies.rust-stemmers]
version = "1.2"
optional = true

[dependencies.semver_crate]
version = "1.0"
optional = true
package = "semver"

[dependencies.serde_json]
version = "1.0"

[dependencies.sha1]
version = "0.10"
optional = true

[dependencies.sha2]
version = "0.10"
optional = true

[dependencies.stop-words]
version = "0.9"
optional = true

[dependencies.strsim]
version = "0.11"
optional = true

[dependencies.ulid]
version = "1.1"
optional = true

[dependencies.unicode-normalization]
version = "0.1"
optional = true

[dependencies.url]
version = "2.5"
optional = true

[dependencies.urlencoding]
version = "2.1"
optional = true

[dependencies.uuid]
version = "1"
features = ["v4"]
optional = true

[dependencies.whatlang]
version = "0.18"
optional = true

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]

[build-dependencies.serde]
version = "1.0"
features = ["derive"]

[build-dependencies.toml]
version = "0.8"