psqlfmt 0.2.0

An opinionated Rust PostgreSQL SQL formatter
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 = "psqlfmt"
version = "0.2.0"
authors = ["psqlfmt contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An opinionated Rust PostgreSQL SQL formatter"
homepage = "https://github.com/psqlfmt/psqlfmt"
documentation = "https://docs.rs/psqlfmt"
readme = "README.md"
keywords = [
    "postgresql",
    "sql",
    "formatter",
    "cli",
    "plpgsql",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "PostgreSQL"
repository = "https://github.com/psqlfmt/psqlfmt"

[lib]
name = "psqlfmt"
path = "src/lib.rs"

[[bin]]
name = "psqlfmt"
path = "src/main.rs"

[[test]]
name = "cli"
path = "tests/cli.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "wrap_help",
]

[dependencies.globset]
version = "0.4"

[dependencies.ignore]
version = "0.4"

[dependencies.once_cell]
version = "1.21"

[dependencies.regex]
version = "1.11"

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.pretty_assertions]
version = "1.4"

[dev-dependencies.tempfile]
version = "3.20"