sql_query_analyzer 0.15.0

Static analysis tool for SQL queries with 34 built-in rules for performance, security, and style
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"
rust-version = "1.97"
name = "sql_query_analyzer"
version = "0.15.0"
authors = ["RAprogramm <andrey.rozanov.vl@gmail.com>"]
build = false
exclude = [
    ".github",
    "target",
    ".git",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Static analysis tool for SQL queries with 34 built-in rules for performance, security, and style"
homepage = "https://github.com/RAprogramm/sql-query-analyzer"
documentation = "https://docs.rs/sql-query-analyzer"
readme = "README.md"
keywords = [
    "sql",
    "analyzer",
    "linter",
    "performance",
    "database",
]
categories = [
    "development-tools",
    "command-line-utilities",
    "database",
]
license = "MIT"
repository = "https://github.com/RAprogramm/sql-query-analyzer"

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

[[bin]]
name = "sql-query-analyzer"
path = "src/main.rs"

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

[[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"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[dependencies.colored]
version = "3"

[dependencies.compact_str]
version = "0.10"
features = ["serde"]

[dependencies.indexmap]
version = "2"
features = ["serde"]

[dependencies.indicatif]
version = "0.18"

[dependencies.masterror]
version = "0.29"

[dependencies.rayon]
version = "1"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "stream",
    "rustls",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.smallvec]
version = "1"
features = ["serde"]

[dependencies.sqlparser]
version = "0.62"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.toml]
version = "1"

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

[dev-dependencies.predicates]
version = "3"

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

[profile.release]
opt-level = 3
lto = true
codegen-units = 1