[[bench]]
harness = false
name = "advanced_benchmarks"
path = "benches/advanced_benchmarks.rs"
[[bench]]
harness = false
name = "performance"
path = "benches/performance.rs"
[[bin]]
name = "xqpath"
path = "src/cli.rs"
[dependencies.anyhow]
optional = true
version = "1.0"
[dependencies.clap]
features = ["derive", "color", "help", "usage", "error-context"]
optional = true
version = "4.0"
[dependencies.colored]
optional = true
version = "2.0"
[dependencies.criterion]
features = ["html_reports"]
optional = true
version = "0.5"
[dependencies.crossterm]
optional = true
version = "0.27"
[dependencies.dirs]
optional = true
version = "5.0"
[dependencies.pprof]
features = ["flamegraph", "protobuf-codec"]
optional = true
version = "0.13"
[dependencies.rustyline]
optional = true
version = "13.0"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
optional = true
version = "1.0"
[dependencies.serde_yaml]
optional = true
version = "0.9"
[dependencies.sysinfo]
optional = true
version = "0.30"
[dependencies.thiserror]
version = "1.0"
[dependencies.toml]
optional = true
version = "0.8"
[dependencies.tracing]
optional = true
version = "0.1"
[dependencies.tracing-appender]
optional = true
version = "0.2"
[dependencies.tracing-subscriber]
features = ["json", "env-filter"]
optional = true
version = "0.3"
[dependencies.winnow]
version = "0.5"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"
[dev-dependencies.tempfile]
version = "3.8"
[[example]]
name = "advanced_functions_demo"
path = "examples/advanced_functions_demo.rs"
[[example]]
name = "api_integration"
path = "examples/api_integration.rs"
[[example]]
name = "builtin_functions_demo"
path = "examples/builtin_functions_demo.rs"
[[example]]
name = "conditional_expressions_demo"
path = "examples/conditional_expressions_demo.rs"
[[example]]
name = "error_handling_demo"
path = "examples/error_handling_demo.rs"
[[example]]
name = "expression_demo"
path = "examples/expression_demo.rs"
[[example]]
name = "performance_demo"
path = "examples/performance_demo.rs"
[[example]]
name = "readme_api_demo"
path = "examples/readme_api_demo.rs"
[features]
benchmark = ["profiling"]
cli = ["dep:clap", "dep:colored", "dep:anyhow"]
cli-debug = ["cli", "debug"]
cli-full = ["cli-debug", "config-management", "interactive-debug"]
config-management = ["yaml", "dep:dirs", "dep:toml"]
debug = ["dep:tracing", "dep:tracing-subscriber", "dep:tracing-appender"]
default = ["json", "yaml", "cli", "config-management", "interactive-debug"]
interactive-debug = ["debug", "dep:crossterm", "dep:rustyline"]
json = ["serde_json"]
profiling = ["debug", "dep:sysinfo", "dep:pprof", "dep:criterion"]
update = ["serde_json/preserve_order"]
yaml = ["serde_yaml"]
[lib]
name = "xqpath"
path = "src/lib.rs"
[package]
authors = ["Thne"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["command-line-utilities", "parsing"]
description = "A high-performance jq-inspired path extractor and updater for structured data in Rust with advanced debugging, configuration management and interactive debugging capabilities"
edition = "2021"
keywords = ["json", "yaml", "path", "query", "jq"]
license = "Apache-2.0"
name = "xqpath"
readme = "README.md"
repository = "https://github.com/ThneS/xqpath"
version = "1.4.3"
[[test]]
name = "advanced_functions"
path = "tests/advanced_functions.rs"
[[test]]
name = "builtin_functions"
path = "tests/builtin_functions.rs"
[[test]]
name = "conditional_expressions"
path = "tests/conditional_expressions.rs"
[[test]]
name = "config_debug_features"
path = "tests/config_debug_features.rs"
[[test]]
name = "enhanced_debugger"
path = "tests/enhanced_debugger.rs"
[[test]]
name = "error_handling"
path = "tests/error_handling.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "readme_verification"
path = "tests/readme_verification.rs"