spg-sql 7.11.17

Self-built SQL front-end for SPG: PG-dialect lexer + parser. no_std + alloc.
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 = "2024"
rust-version = "1.95"
name = "spg-sql"
version = "7.11.17"
authors = ["GOLIA K.K. <lihao@golia.jp>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Self-built SQL front-end for SPG: PG-dialect lexer + parser. no_std + alloc."
readme = false
keywords = [
    "spg",
    "sql",
    "parser",
    "postgres",
    "no-std",
]
categories = [
    "parsing",
    "database",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/goliajp/spg"

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

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

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

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

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

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

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

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

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

[lints.clippy]
approx_constant = "allow"
assigning_clones = "allow"
bool_assert_comparison = "allow"
case_sensitive_file_extension_comparisons = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
collapsible_if = "allow"
collapsible_match = "allow"
comparison_chain = "allow"
doc_lazy_continuation = "allow"
doc_markdown = "allow"
doc_overindented_list_items = "allow"
duration_suboptimal_units = "allow"
duration_subsec = "allow"
elidable_lifetime_names = "allow"
explicit_iter_loop = "allow"
float_cmp = "allow"
float_cmp_const = "allow"
for_kv_map = "allow"
format_push_string = "allow"
from_iter_instead_of_collect = "allow"
if_not_else = "allow"
ignore_without_reason = "allow"
ignored_unit_patterns = "allow"
items_after_statements = "allow"
len_zero = "allow"
let_and_return = "allow"
manual_assert = "allow"
manual_checked_ops = "allow"
manual_clamp = "allow"
manual_contains = "allow"
manual_div_ceil = "allow"
manual_is_multiple_of = "allow"
manual_let_else = "allow"
manual_midpoint = "allow"
many_single_char_names = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_collect = "allow"
needless_continue = "allow"
needless_option_as_deref = "allow"
needless_pass_by_value = "allow"
needless_range_loop = "allow"
needless_raw_string_hashes = "allow"
no_effect_underscore_binding = "allow"
range_plus_one = "allow"
redundant_closure = "allow"
redundant_closure_for_method_calls = "allow"
ref_option = "allow"
return_self_not_must_use = "allow"
semicolon_if_nothing_returned = "allow"
should_panic_without_expect = "allow"
similar_names = "allow"
single_char_pattern = "allow"
single_match_else = "allow"
stable_sort_primitive = "allow"
struct_field_names = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
unnecessary_lazy_evaluations = "allow"
unnecessary_map_or = "allow"
unnecessary_to_owned = "allow"
unnecessary_wraps = "allow"
unnested_or_patterns = "allow"
unreadable_literal = "allow"
unused_self = "allow"
useless_format = "allow"
wildcard_imports = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
dead_code = "allow"
missing_debug_implementations = "warn"
non_snake_case = "allow"
unsafe_code = "deny"
unused_must_use = "deny"
unused_mut = "allow"
unused_variables = "allow"