pgenum_parser 0.2.1

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.
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"
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"