# 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"
rust-version = "1.90"
name = "jpx"
version = "0.4.2"
authors = ["Josh Rotenberg <joshrotenberg@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "JMESPath CLI with 400+ extended functions - a powerful jq alternative"
homepage = "https://github.com/joshrotenberg/jpx"
documentation = "https://github.com/joshrotenberg/jpx"
readme = "README.md"
keywords = [
    "jmespath",
    "json",
    "cli",
    "query",
    "jq",
]
categories = [
    "command-line-utilities",
    "parsing",
    "text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/joshrotenberg/jpx"

[features]
default = []
let-expr = ["jpx-engine/let-expr"]
parquet = [
    "dep:parquet",
    "jpx-engine/arrow",
]

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

[[bin]]
name = "jpx"
path = "src/main.rs"

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.atty]
version = "0.2"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.clap_complete]
version = "4"

[dependencies.colored]
version = "3"

[dependencies.colored_json]
version = "5"

[dependencies.csv]
version = "1.3"

[dependencies.dirs]
version = "6.0.0"

[dependencies.jpx-engine]
version = "0.3.3"

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

[dependencies.parquet]
version = "54"
features = [
    "arrow",
    "snap",
]
optional = true
default-features = false

[dependencies.rustyline]
version = "17"

[dependencies.serde]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.tabled]
version = "0.20"

[dependencies.toml]
version = "0.9"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.tempfile]
version = "3"

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

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