# 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.94"
name = "squawk-parser"
version = "2.52.0"
authors = ["Squawk Team & Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Linter for Postgres migrations & SQL"
homepage = "https://squawkhq.com"
documentation = "https://squawkhq.com/docs/"
readme = "README.md"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/sbdchd/squawk"
resolver = "2"

[lib]
name = "squawk_parser"
path = "src/lib.rs"
doctest = false

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

[dependencies.drop_bomb]
version = "0.1.5"

[dependencies.squawk-lexer]
version = "2.52.0"

[dev-dependencies.annotate-snippets]
version = "0.12.4"

[dev-dependencies.camino]
version = "1.1.9"

[dev-dependencies.dir-test]
version = "0.4"

[dev-dependencies.insta]
version = "1.39.0"

[dev-dependencies.xshell]
version = "0.2.7"

[lints.clippy]
collapsible_else_if = "allow"
collapsible_if = "allow"
disallowed_types = "deny"
doc_markdown = "deny"
explicit_iter_loop = "deny"
manual_let_else = "deny"
needless_return = "allow"
too_many_arguments = "allow"
