[package]
edition = "2024"
name = "pgenum_parser"
version = "0.2.1"
authors = ["Alexa Grey <devel@mouse.vc>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A parser for PostgreSQL enum types, intended to allow static analysis
of enum definitions in SQL dumps (such as provided by Rails' `structure.sql`).
It uses pg_query.rs for the analysis of the SQL and can output a structured
representation of the enum types defined in the SQL for later consumption.
"""
readme = "README.md"
keywords = [
"postgresql",
"ruby",
"rails",
"enum",
]
license = "MIT OR Apache-2.0"
[lib]
name = "pgenum_parser"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1.0.102"
[dependencies.pg_query]
version = "6.1.1"
[dependencies.ron]
version = "0.12.0"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.thiserror]
version = "2"