# 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 = "jiq"
version = "2.3.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Interactive JSON query tool with real-time filtering using jq"
homepage = "https://github.com/bellicose100xp/jiq"
readme = "README.md"
keywords = [
    "json",
    "jq",
    "cli",
    "interactive",
    "tui",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bellicose100xp/jiq"

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

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

[dependencies.ansi-to-tui]
version = "7"

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

[dependencies.color-eyre]
version = "0.6"

[dependencies.crossterm]
version = "0.28.1"
features = ["use-dev-tty"]

[dependencies.ratatui]
version = "0.29"

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tui-textarea]
version = "0.7"

[dependencies.which]
version = "6.0"

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

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

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

[profile.dist]
lto = "thin"
inherits = "release"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
