[package]
edition = "2021"
rust-version = "1.84"
name = "rustcmdpev"
version = "0.2.0"
authors = ["Bruce Park <treble37@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Visualize PostgreSQL EXPLAIN JSON output in a terminal-friendly tree"
homepage = "https://github.com/treble37/rustcmdpev"
documentation = "https://docs.rs/rustcmdpev"
readme = "README.md"
keywords = [
"postgres",
"explain",
"cli",
"query-plan",
]
categories = [
"command-line-utilities",
"database",
]
license = "MIT"
repository = "https://github.com/treble37/rustcmdpev"
resolver = "3"
[[bin]]
name = "rustcmdpev"
path = "src/main.rs"
[[test]]
name = "cli_color"
path = "tests/cli_color.rs"
[[test]]
name = "cli_compat"
path = "tests/cli_compat.rs"
[[test]]
name = "cli_exit_codes"
path = "tests/cli_exit_codes.rs"
[[test]]
name = "cli_formats"
path = "tests/cli_formats.rs"
[[test]]
name = "cli_input_file"
path = "tests/cli_input_file.rs"
[[test]]
name = "cli_invalid_json"
path = "tests/cli_invalid_json.rs"
[[test]]
name = "cli_logging"
path = "tests/cli_logging.rs"
[[test]]
name = "cli_postgres_version"
path = "tests/cli_postgres_version.rs"
[[test]]
name = "cli_stdin_contract"
path = "tests/cli_stdin_contract.rs"
[[test]]
name = "cli_structure_validation"
path = "tests/cli_structure_validation.rs"
[[test]]
name = "cli_summary"
path = "tests/cli_summary.rs"
[[test]]
name = "cli_theme_and_mode"
path = "tests/cli_theme_and_mode.rs"
[[test]]
name = "cli_tree_style"
path = "tests/cli_tree_style.rs"
[[test]]
name = "diverse_plan_types"
path = "tests/diverse_plan_types.rs"
[[test]]
name = "example_fixture"
path = "tests/example_fixture.rs"
[[test]]
name = "parity_exit_codes"
path = "tests/parity_exit_codes.rs"
[[test]]
name = "parity_snapshots"
path = "tests/parity_snapshots.rs"
[[test]]
name = "stability_posture_docs"
path = "tests/stability_posture_docs.rs"
[dependencies.clap]
version = "4.5"
features = ["derive"]
[dependencies.colored]
version = "3.0"
[dependencies.rustcmdpev-core]
version = "0.2.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[lints.clippy]
arithmetic_side_effects = "allow"
bool_to_int_with_if = "allow"
borrow_as_ptr = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
collapsible_else_if = "allow"
collapsible_if = "allow"
default_trait_access = "allow"
doc_markdown = "allow"
expect_used = "allow"
explicit_deref_methods = "allow"
explicit_into_iter_loop = "allow"
explicit_iter_loop = "allow"
float_cmp = "allow"
fn_params_excessive_bools = "allow"
if_not_else = "allow"
ignored_unit_patterns = "allow"
implicit_clone = "allow"
implicit_hasher = "allow"
indexing_slicing = "allow"
inefficient_to_string = "allow"
items_after_statements = "allow"
let_and_return = "allow"
let_underscore_untyped = "allow"
manual_assert = "allow"
manual_let_else = "allow"
manual_range_contains = "allow"
manual_string_new = "allow"
manual_strip = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
must_use_unit = "allow"
needless_borrow = "allow"
needless_borrows_for_generic_args = "allow"
needless_collect = "allow"
needless_for_each = "allow"
needless_lifetimes = "allow"
needless_pass_by_value = "allow"
needless_raw_string_hashes = "allow"
needless_return = "allow"
no_effect_replace = "allow"
no_effect_underscore_binding = "allow"
non_send_fields_in_send_ty = "allow"
option_if_let_else = "allow"
or_fun_call = "allow"
panic = "allow"
ptr_as_ptr = "allow"
range_plus_one = "allow"
redundant_closure_for_method_calls = "allow"
redundant_else = "allow"
ref_option = "allow"
return_self_not_must_use = "allow"
similar_names = "allow"
single_match = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
uninlined_format_args = "allow"
unnecessary_box_returns = "allow"
unnecessary_wraps = "allow"
unnested_or_patterns = "allow"
unused_async = "allow"
unused_self = "allow"
unwrap_in_result = "allow"
unwrap_used = "allow"
useless_let_if_seq = "allow"
wildcard_imports = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"