[package]
edition = "2024"
name = "jjpwrgem-parse"
version = "0.13.2"
authors = ["Jacob Asper <jacobasper191@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "JSON parser and formatter with rich errors"
documentation = "https://docs.rs/jjpwrgem-parse"
readme = "readme.md"
keywords = [
"json",
"parser",
"formatter",
"diagnostics",
]
categories = [
"parser-implementations",
"text-processing",
]
license = "MIT"
repository = "https://github.com/20jasper/jjpwrgem"
[features]
serde = ["dep:serde"]
[lib]
name = "jjpwrgem_parse"
path = "src/lib.rs"
[dependencies.bytes2chars]
version = "0.2"
[dependencies.displaydoc]
version = "0.2"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true
[dependencies.thiserror]
version = "2"
[dev-dependencies.rstest]
version = "0.26"
[dev-dependencies.rstest_reuse]
version = "0.7"
[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
as_underscore = "warn"
assertions_on_result_states = "allow"
cast_lossless = "warn"
cfg_not_test = "warn"
clone_on_ref_ptr = "warn"
create_dir = "warn"
dbg_macro = "warn"
default_union_representation = "warn"
doc_markdown = "allow"
empty_drop = "warn"
empty_enum_variants_with_brackets = "warn"
empty_structs_with_brackets = "warn"
exit = "warn"
float_cmp_const = "warn"
fn_to_numeric_cast_any = "warn"
format_push_string = "warn"
get_unwrap = "warn"
if_not_else = "allow"
if_then_some_else_none = "warn"
infinite_loop = "warn"
match_same_arms = "allow"
mem_forget = "warn"
missing_assert_message = "warn"
missing_asserts_for_indexing = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
mod_module_files = "deny"
must_use_candidate = "allow"
negative_feature_names = "warn"
pathbuf_init_then_push = "warn"
print_stderr = "warn"
print_stdout = "warn"
pub_underscore_fields = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
redundant_closure_for_method_calls = "allow"
redundant_feature_names = "warn"
redundant_test_prefix = "warn"
rest_pat_in_fully_bound_structs = "warn"
same_name_method = "warn"
semicolon_outside_block = "warn"
set_contains_or_insert = "warn"
string_lit_as_bytes = "warn"
string_lit_chars_any = "warn"
suspicious_xor_used_as_pow = "warn"
todo = "warn"
too_many_lines = "allow"
try_err = "warn"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
unnecessary_debug_formatting = "allow"
unnecessary_get_then_check = "warn"
unnecessary_map_or = "warn"
unnecessary_safety_comment = "warn"
unnecessary_self_imports = "warn"
unneeded_field_pattern = "warn"
unused_result_ok = "warn"
useless_concat = "warn"
verbose_file_reads = "warn"
wildcard_dependencies = "deny"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
absolute_paths_not_starting_with_crate = "warn"
ffi-unwind-calls = "warn"
let-underscore-drop = "warn"
macro_use_extern_crate = "deny"
missing-abi = "warn"
missing_debug_implementations = "warn"
non-ascii-idents = "warn"
rust-2018-compatibility = "warn"
rust-2018-idioms = "warn"
rust-2021-compatibility = "warn"
rust-2024-compatibility = "warn"
tail_expr_drop_order = "warn"
unit-bindings = "warn"
unsafe-code = "deny"
unsafe-op-in-unsafe-fn = "forbid"
variant-size-differences = "warn"
[lints.rust.unused]
level = "warn"
priority = -1
[lints.rustdoc]
broken_intra_doc_links = "warn"
missing_crate_level_docs = "warn"