50 releases (14 breaking)
new 0.21.10 | Dec 11, 2024 |
---|---|
0.21.6 | Nov 30, 2024 |
0.10.2 | Jul 29, 2024 |
0.1.4 | Feb 12, 2024 |
#66 in Database interfaces
1,534 downloads per month
1MB
22K
SLoC
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
- Bump the versions in
sqruff-lib/Cargo.toml
andsqruff/Cargo.toml
. - Commit the changes.
- Push the changes.
- Tag the commit with the new version
- Release
sqruff-lib
crate
cargo publish -p sqruff-lib
- 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
~16–27MB
~405K SLoC