[package]
edition = "2021"
rust-version = "1.89.0"
name = "rsonpath-lib"
version = "0.10.0"
authors = ["Mateusz Gienieczko <mat@gienieczko.com>"]
build = false
exclude = [
"/tests",
"/proptest-regressions",
"/src/classification/classifier_correctness_tests.rs",
"/src/classification/classifier_correctness_tests.proptest-regressions",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Blazing fast JSONPath query engine powered by SIMD. Core library of `rsonpath`."
homepage = "https://rsonquery.github.io/rsonpath/"
readme = "README.md"
keywords = [
"json",
"jsonpath",
"query",
"search",
"simd",
]
categories = ["text-processing"]
license = "MIT"
repository = "https://github.com/rsonquery/rsonpath"
[package.metadata.docs.rs]
rustdoc-args = [
"--cfg",
"docsrs",
]
all-features = true
[features]
default = ["simd"]
serde = [
"dep:serde",
"smallvec/serde",
"rsonpath-syntax/serde",
]
simd = []
[lib]
name = "rsonpath"
path = "src/lib.rs"
bench = false
[[example]]
name = "approx_spans_usage"
path = "examples/approx_spans_usage.rs"
doc-scrape-examples = true
[dependencies.cfg-if]
version = "1.0.4"
[dependencies.log]
version = "0.4.29"
[dependencies.memmap2]
version = "0.9.9"
[dependencies.rsonpath-syntax]
version = "0.4.1"
[dependencies.serde]
version = "1.0.228"
features = [
"derive",
"rc",
]
optional = true
[dependencies.smallvec]
version = "1.15.1"
features = ["union"]
[dependencies.static_assertions]
version = "1.1.0"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.vector-map]
version = "1.0.2"
[dev-dependencies.ciborium]
version = "0.2.2"
default-features = true
[dev-dependencies.insta]
version = "1.46.3"
features = ["ron"]
[dev-dependencies.itertools]
version = "0.14.0"
[dev-dependencies.pretty_assertions]
version = "1.4.1"
[dev-dependencies.proptest]
version = "1.10.0"
[dev-dependencies.rmp-serde]
version = "1.3.1"
[dev-dependencies.rsonpath-syntax-proptest]
version = "0.4.1"
[dev-dependencies.serde_json]
version = "1.0.149"
features = [
"std",
"float_roundtrip",
]
default-features = true
[dev-dependencies.test-case]
version = "3.3.1"
[lints.clippy]
allow_attributes_without_reason = "warn"
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"