sqruff 0.29.1

A high-speed SQL linter.
[[bin]]
bench = false
name = "bench"
path = "src/bin/bench.rs"

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

[dependencies.pyo3]
features = ["auto-initialize"]
optional = true
version = "0.25.1"

[dependencies.sqruff-cli-lib]
version = "0.29.1"

[dev-dependencies.assert_cmd]
version = "2.0.16"

[dev-dependencies.expect-test]
version = "1.5.0"

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

[features]
codegen-docs = ["sqruff-cli-lib/codegen-docs"]
python = ["sqruff-cli-lib/python", "pyo3"]

[lints.clippy]
cloned_instead_of_copied = "warn"
perf = "warn"

[lints.rust]
unreachable_pub = "warn"
unused_qualifications = "warn"

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
default-run = "sqruff"
description = "A high-speed SQL linter."
edition = "2024"
license = "Apache-2.0"
name = "sqruff"
readme = false
repository = "https://github.com/quarylabs/sqruff"
resolver = "2"
rust-version = "1.88"
version = "0.29.1"

[package.metadata.binbstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"
pkg-url = "{ repo }/releases/download/v{ version }/sqruff-windows-x86_64.zip"

[package.metadata.binstall]
pkg-fmt = "tgz"
pkg-url = "{ repo }/releases/download/v{ version }/sqruff-{ target-family }-{ target-arch }.tar.gz"

[package.metadata.cargo-machete]
ignored = ["pyo3"]

[target.'cfg(target_os = "windows")'.dependencies.mimalloc]
version = "0.1"

[[test]]
harness = false
name = "config_not_found"
path = "tests/config_not_found.rs"

[[test]]
harness = false
name = "configure_rule"
path = "tests/configure_rule.rs"

[[test]]
harness = false
name = "fix_parse_errors"
path = "tests/fix_parse_errors.rs"

[[test]]
harness = false
name = "fix_return_code"
path = "tests/fix_return_code.rs"

[[test]]
harness = false
name = "ui"
path = "tests/ui.rs"

[[test]]
harness = false
name = "ui_github"
path = "tests/ui_github.rs"

[[test]]
harness = false
name = "ui_json"
path = "tests/ui_json.rs"