sqruff-lib 0.21.12

A high-speed SQL linter.
Documentation
[[bench]]
harness = false
name = "depth_map"
path = "benches/depth_map.rs"

[[bench]]
harness = false
name = "fix"
path = "benches/fix.rs"

[[bench]]
harness = false
name = "parsing"
path = "benches/parsing.rs"

[dependencies.ahash]
features = ["compile-time-rng", "serde"]
version = "0.8.11"

[dependencies.anstyle]
version = "1.0"

[dependencies.append-only-vec]
version = "0.1.5"

[dependencies.common-path]
version = "1.0.0"

[dependencies.configparser]
version = "3.1.0"

[dependencies.dyn-clone]
version = "1"

[dependencies.enum_dispatch]
version = "0.3.13"

[dependencies.fancy-regex]
version = "0.14.0"

[dependencies.indexmap]
version = "2.7.0"

[dependencies.itertools]
version = "0.13.0"

[dependencies.lazy-regex]
version = "3.2.0"

[dependencies.nohash-hasher]
version = "0.2.0"

[dependencies.phf]
features = ["macros", "unicase"]
version = "0.11.2"

[dependencies.pretty_assertions]
version = "1.4.0"

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

[dependencies.rayon]
version = "1.10.0"

[dependencies.regex]
version = "1"

[dependencies.rustc-hash]
version = "2.1.0"

[dependencies.serde]
features = ["derive"]
version = "1.0"

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
optional = true
version = "0.9.34"

[dependencies.smol_str]
version = "0.3.1"

[dependencies.sqruff-lib-core]
version = "0.21.12"

[dependencies.sqruff-lib-dialects]
version = "0.21.12"

[dependencies.strum]
version = "0.26.3"

[dependencies.strum_macros]
version = "0.26.4"

[dependencies.tracing]
version = "0.1.41"

[dependencies.unicase]
version = "2.7.0"

[dependencies.walkdir]
version = "2.5.0"

[dev-dependencies.criterion]
version = "0.5"

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

[dev-dependencies.glob]
version = "0.3"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.serde_with]
version = "3.9"

[dev-dependencies.serde_yaml]
version = "0.9.34"

[features]
python = ["pyo3"]

[lib]
bench = false
crate-type = ["cdylib", "rlib"]
doctest = false
name = "sqruff_lib"
path = "src/lib.rs"

[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
description = "A high-speed SQL linter."
edition = "2021"
license = "Apache-2.0"
name = "sqruff-lib"
readme = false
repository = "https://github.com/quarylabs/sqruff"
version = "0.21.12"

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

[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dependencies.getrandom]
features = ["js"]
version = "0.2"

[target.'cfg(all(not(target_os = "windows"), not(target_os = "openbsd"), any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "powerpc64")))'.dependencies.jemallocator]
package = "tikv-jemallocator"
version = "0.6.0"

[target."cfg(unix)".dev-dependencies.pprof]
features = ["flamegraph", "criterion"]
version = "0.14"

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