[package]
edition = "2021"
name = "turso_pg_parser"
version = "0.8.0-pre.11"
authors = ["the Turso authors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostgreSQL parser for Turso"
readme = false
license = "MIT"
repository = "https://github.com/tursodatabase/turso"
[features]
default = []
validate_psql = []
[lib]
name = "turso_pg_parser"
path = "lib.rs"
[[test]]
name = "parse_invalid"
path = "tests/parse_invalid.rs"
[[test]]
name = "parse_valid"
path = "tests/parse_valid.rs"
[dependencies.miette]
version = "7.6.0"
[dependencies.pg_query]
version = "6.1"
[dependencies.thiserror]
version = "2.0.16"
[dependencies.turso_parser]
version = "0.8.0-pre.11"
[dev-dependencies.criterion]
version = "0.5.0"
[lints.clippy]
assigning_clones = "deny"
await_holding_lock = "deny"
clear_with_drain = "deny"
collection_is_never_read = "deny"
large_stack_frames = "deny"
large_types_passed_by_value = "deny"
naive_bytecount = "deny"
or_fun_call = "deny"
redundant_clone = "deny"
stable_sort_primitive = "deny"
[lints.rust]
unstable_name_collisions = "allow"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(loom)",
"cfg(shuttle)",
"cfg(antithesis)",
"cfg(nightly)",
]