crabka-pgparser 0.3.9

Hand-written PostgreSQL SQL lexer and parser producing the Crabka Gres AST
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.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"