rustcmdpev-core 0.2.0

Core parsing, analysis, and rendering primitives for rustcmdpev
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.84"
name = "rustcmdpev-core"
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 = "Core parsing, analysis, and rendering primitives for rustcmdpev"
homepage = "https://github.com/treble37/rustcmdpev"
documentation = "https://docs.rs/rustcmdpev-core"
readme = "README.md"
keywords = [
    "postgres",
    "explain",
    "rendering",
]
categories = [
    "command-line-utilities",
    "database",
]
license = "MIT"
repository = "https://github.com/treble37/rustcmdpev"
resolver = "3"

[lib]
name = "rustcmdpev_core"
path = "src/lib.rs"

[[test]]
name = "display_format"
path = "tests/display_format.rs"

[[test]]
name = "parser_oddities"
path = "tests/parser_oddities.rs"

[[test]]
name = "parser_pipeline"
path = "tests/parser_pipeline.rs"

[[test]]
name = "plan_invariants_property"
path = "tests/plan_invariants_property.rs"

[[test]]
name = "test"
path = "tests/test.rs"

[[test]]
name = "testing_helpers_usage"
path = "tests/testing_helpers_usage.rs"

[[bench]]
name = "parse_render"
path = "benches/parse_render.rs"
harness = false

[dependencies.colored]
version = "3.0"

[dependencies.phf]
version = "0.13.1"
features = ["macros"]

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.textwrap]
version = "0.16"
features = ["terminal_size"]

[dev-dependencies.criterion]
version = "0.5"
features = [
    "plotters",
    "cargo_bench_support",
]
default-features = false

[dev-dependencies.proptest]
version = "1"

[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"