[[bin]]
name = "sql-query-analyzer"
path = "src/main.rs"
[dependencies.clap]
features = ["derive", "env"]
version = "4.5"
[dependencies.colored]
version = "3"
[dependencies.compact_str]
features = ["serde"]
version = "0.9"
[dependencies.indexmap]
features = ["serde"]
version = "2.12"
[dependencies.indicatif]
version = "0.18"
[dependencies.masterror]
version = "0.25"
[dependencies.rayon]
version = "1.11"
[dependencies.reqwest]
default-features = false
features = ["json", "stream", "rustls-tls"]
version = "0.12"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.smallvec]
features = ["serde"]
version = "1.15"
[dependencies.sqlparser]
version = "0.59"
[dependencies.tokio]
features = ["full"]
version = "1.48"
[dependencies.toml]
version = "0.9"
[lib]
name = "sql_query_analyzer"
path = "src/lib.rs"
[package]
authors = ["RAprogramm <andrey.rozanov.vl@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools", "command-line-utilities", "database"]
description = "Static analysis tool for SQL queries with 20 built-in rules for performance, security, and style"
documentation = "https://docs.rs/sql-query-analyzer"
edition = "2024"
exclude = [".github", "target", ".git"]
homepage = "https://github.com/RAprogramm/sql-query-analyzer"
keywords = ["sql", "analyzer", "linter", "performance", "database"]
license = "MIT"
name = "sql_query_analyzer"
readme = "README.md"
repository = "https://github.com/RAprogramm/sql-query-analyzer"
rust-version = "1.90"
version = "0.4.0"
[profile.release]
codegen-units = 1
lto = true
opt-level = 3
[[test]]
name = "cache_tests"
path = "tests/cache_tests.rs"
[[test]]
name = "cli_tests"
path = "tests/cli_tests.rs"
[[test]]
name = "config_tests"
path = "tests/config_tests.rs"
[[test]]
name = "error_tests"
path = "tests/error_tests.rs"
[[test]]
name = "output_tests"
path = "tests/output_tests.rs"
[[test]]
name = "query_tests"
path = "tests/query_tests.rs"
[[test]]
name = "rules_tests"
path = "tests/rules_tests.rs"
[[test]]
name = "schema_tests"
path = "tests/schema_tests.rs"
[[test]]
name = "types_tests"
path = "tests/types_tests.rs"