# 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.4.1"
authors = ["Josh Rotenberg <joshrotenberg@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Extended functions for JMESPath queries - 150+ 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"
resolver = "2"

[features]
array = []
color = []
computing = []
core = [
    "string",
    "array",
    "object",
    "math",
    "type",
    "utility",
    "validation",
    "path",
    "expression",
]
datetime = [
    "dep:chrono",
    "dep:chrono-tz",
]
default = ["full"]
duration = []
encoding = [
    "dep:base64",
    "dep:hex",
]
expression = []
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",
]
fuzzy = ["dep:strsim"]
geo = ["dep:geoutils"]
hash = [
    "dep:md-5",
    "dep:sha1",
    "dep:sha2",
    "dep:crc32fast",
]
ids = [
    "dep:nanoid",
    "dep:ulid",
]
jsonpatch = ["dep:json-patch"]
math = []
network = ["dep:ipnetwork"]
object = []
path = []
phonetic = ["dep:rphonetic"]
rand = ["dep:rand"]
regex = ["dep:regex"]
semver = ["dep:semver_crate"]
string = []
text = []
type = []
url = [
    "dep:url",
    "dep:urlencoding",
]
utility = []
uuid = ["dep:uuid"]
validation = []

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

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

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

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

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

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

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

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

[dependencies.ipnetwork]
version = "0.20"
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.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.strsim]
version = "0.11"
optional = true

[dependencies.ulid]
version = "1.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

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