[package]
edition = "2024"
name = "sqlx-inline-fmt"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Format inline sqlx query strings in Rust"
readme = "README.md"
keywords = [
"cli",
"formatter",
"sqlx",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT"
repository = "https://github.com/code-trust/sqlx-inline-fmt"
[[bin]]
name = "sqlx-inline-fmt"
path = "src/main.rs"
[dependencies.anyhow]
version = "1"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.litrs]
version = "1.0"
[dependencies.shlex]
version = "1"
[dependencies.tree-sitter]
version = "0.26"
[dependencies.tree-sitter-rust]
version = "0.24"
[dependencies.walkdir]
version = "2"
[lints.clippy]
branches_sharing_code = "warn"
cloned_instead_of_copied = "warn"
elidable_lifetime_names = "warn"
explicit_into_iter_loop = "warn"
explicit_iter_loop = "warn"
flat_map_option = "warn"
from_iter_instead_of_collect = "warn"
ignored_unit_patterns = "warn"
manual_string_new = "warn"
map_unwrap_or = "warn"
needless_pass_by_value = "warn"
needless_raw_string_hashes = "warn"
non_std_lazy_statics = "warn"
or_fun_call = "warn"
redundant_clone = "warn"
redundant_else = "warn"
semicolon_if_nothing_returned = "warn"
str_to_string = "warn"
type_repetition_in_bounds = "warn"
uninlined_format_args = "warn"
unnecessary_semicolon = "warn"
use_self = "warn"