[package]
edition = "2021"
rust-version = "1.91.0"
name = "rsonpath"
version = "0.10.1"
authors = ["Mateusz Gienieczko <mat@gienieczko.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Blazing fast JSONPath CLI tool powered by SIMD"
homepage = "https://rsonquery.github.io/rsonpath/"
readme = "README.md"
keywords = [
"json",
"jsonpath",
"query",
"search",
"cli",
]
categories = [
"command-line-utilities",
"text-processing",
"parser-implementations",
]
license = "MIT"
repository = "https://github.com/rsonquery/rsonpath"
[features]
default = ["simd"]
simd = ["rsonpath-lib/simd"]
[[bin]]
name = "rq"
path = "src/main.rs"
bench = false
[[test]]
name = "cli_tests"
path = "tests/cli_tests.rs"
[dependencies.clap]
version = "4.6.1"
features = [
"derive",
"wrap_help",
]
[dependencies.color-eyre]
version = "0.6.5"
default-features = false
[dependencies.eyre]
version = "0.6.12"
[dependencies.log]
version = "0.4.30"
[dependencies.rsonpath-lib]
version = "0.10.1"
default-features = false
package = "rsonpath-lib"
[dependencies.rsonpath-syntax]
version = "0.4.2"
features = ["color"]
[dependencies.simple_logger]
version = "5.2.0"
[dev-dependencies.trycmd]
version = "1.2.0"
[build-dependencies.rustflags]
version = "0.1.7"
[build-dependencies.vergen]
version = "9.1.0"
features = [
"cargo",
"rustc",
]
[build-dependencies.vergen-git2]
version = "9.1.0"
[lints.clippy]
allow_attributes_without_reason = "warn"
byte_char_slices = "allow"
cargo_common_metadata = "warn"
cast_lossless = "warn"
cloned_instead_of_copied = "warn"
derive_partial_eq_without_eq = "warn"
empty_drop = "warn"
empty_line_after_outer_attr = "warn"
equatable_if_let = "warn"
exit = "warn"
expl_impl_clone_on_copy = "warn"
explicit_deref_methods = "warn"
explicit_into_iter_loop = "warn"
explicit_iter_loop = "warn"
fallible_impl_from = "warn"
flat_map_option = "warn"
if_then_some_else_none = "warn"
ignore_without_reason = "warn"
inconsistent_struct_constructor = "warn"
large_digit_groups = "warn"
let_underscore_must_use = "warn"
manual_is_power_of_two = "warn"
manual_is_variant_and = "warn"
manual_midpoint = "warn"
manual_ok_or = "warn"
map_err_ignore = "warn"
map_unwrap_or = "warn"
map_with_unused_argument_over_ranges = "warn"
match_same_arms = "warn"
match_wildcard_for_single_variants = "warn"
missing_assert_message = "warn"
missing_inline_in_public_items = "warn"
mod_module_files = "warn"
must_use_candidate = "warn"
needless_continue = "warn"
needless_for_each = "warn"
needless_pass_by_ref_mut = "warn"
needless_pass_by_value = "warn"
needless_raw_string_hashes = "warn"
needless_raw_strings = "warn"
no_mangle_with_rust_abi = "warn"
non_zero_suggestions = "warn"
option_as_ref_cloned = "warn"
precedence_bits = "warn"
ptr_as_ptr = "warn"
pub_underscore_fields = "warn"
pub_without_shorthand = "warn"
redundant_closure_for_method_calls = "warn"
redundant_test_prefix = "warn"
ref_as_ptr = "warn"
ref_binding_to_reference = "warn"
ref_option = "warn"
ref_option_ref = "warn"
rest_pat_in_fully_bound_structs = "warn"
return_and_then = "warn"
significant_drop_tightening = "warn"
single_option_map = "warn"
string_lit_chars_any = "warn"
undocumented_unsafe_blocks = "warn"
unnecessary_box_returns = "warn"
unnecessary_literal_bound = "warn"
unnecessary_semicolon = "warn"
unnecessary_struct_initialization = "warn"
unneeded_field_pattern = "warn"
unreadable_literal = "warn"
unseparated_literal_suffix = "warn"
unused_result_ok = "warn"
unused_self = "warn"
unused_trait_names = "warn"
use_self = "warn"
used_underscore_items = "warn"
while_float = "warn"
[lints.rust]
explicit_outlives_requirements = "warn"
semicolon_in_expressions_from_macros = "warn"
unreachable_pub = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"