[package]
edition = "2024"
rust-version = "1.95"
name = "spg-sql"
version = "7.11.5"
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]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "deny"
unused_must_use = "deny"