[package]
edition = "2024"
rust-version = "1.97.0"
name = "crabka-pgparser"
version = "0.3.9"
authors = ["The Crabka Authors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hand-written PostgreSQL SQL lexer and parser producing the Crabka Gres AST"
homepage = "https://github.com/robot-head/crabka"
documentation = "https://docs.rs/crabka-pgparser"
readme = "README.md"
keywords = [
"postgres",
"sql",
"parser",
"crabka",
"gres",
]
categories = [
"database-implementations",
"parser-implementations",
]
license = "Apache-2.0"
repository = "https://github.com/robot-head/crabka"
resolver = "2"
[features]
oracle = ["dep:pg_query"]
[lib]
name = "crabka_pgparser"
path = "src/lib.rs"
[[test]]
name = "libpg_query_oracle"
path = "tests/libpg_query_oracle.rs"
[dependencies.crabka-pgtypes]
version = "0.3.9"
[dependencies.pg_query]
version = "6"
optional = true
[dependencies.thiserror]
version = "2"
[dev-dependencies.proptest]
version = "1"
[lints.clippy]
clone_on_copy = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"