14 releases

new 0.4.9 May 15, 2024
0.4.8 May 15, 2024
0.2.2 May 11, 2024
0.1.4 Feb 12, 2024

#168 in Database interfaces

Download history 63/week @ 2024-02-12 14/week @ 2024-02-19 7/week @ 2024-02-26 3/week @ 2024-03-11 79/week @ 2024-03-25 2/week @ 2024-04-01 141/week @ 2024-05-06

141 downloads per month

Apache-2.0

15KB
144 lines

sqruff

SQRUFF is an innovative SQL linter and formatter for modern development environments, written in Rust. Key features include:

  • Linting: Advanced, customizable SQL linting capabilities to ensure query quality.
  • Formatting: Automated, configurable formatting for SQL code consistency.
  • Portability: Designed to be easily integrated into various development workflows.

Getting Started

Visit sqruff's official site to learn more about installation and usage.

Contributing

Contributions are welcome! See CONTRIBUTING.md for guidelines on how to contribute.

Releasing

  1. Bump the versions in sqruff-lib/Cargo.toml and sqruff/Cargo.toml.
  2. Commit the changes.
  3. Push the changes.
  4. Tag the commit with the new version
  5. Release sqruff-lib crate
cargo publish -p sqruff-lib
  1. Release sqruff crate
cargo publish -p sqruff

Installation

rustup override set nightly
cargo install sqruff
sqruff --help

Community

Join the sqruff community on GitHub Discussions to ask questions, suggest features, or share your projects.

Dependencies

~10–21MB
~280K SLoC