17 releases

0.3.1 Nov 5, 2024
0.2.7 Oct 4, 2024
0.2.4 Jun 12, 2024
0.2.3 Dec 6, 2023
0.1.0 Apr 18, 2020

#19 in Development tools

Download history 318549/week @ 2024-07-29 323172/week @ 2024-08-05 357804/week @ 2024-08-12 373775/week @ 2024-08-19 392472/week @ 2024-08-26 358526/week @ 2024-09-02 408629/week @ 2024-09-09 360486/week @ 2024-09-16 411532/week @ 2024-09-23 399644/week @ 2024-09-30 425822/week @ 2024-10-07 419246/week @ 2024-10-14 457990/week @ 2024-10-21 452763/week @ 2024-10-28 446138/week @ 2024-11-04 437101/week @ 2024-11-11

1,809,263 downloads per month
Used in 1,319 crates (29 directly)

MIT/Apache

115KB
3.5K SLoC

sqlformat

Build Status unsafe forbidden Version Docs

This crate is a port of https://github.com/kufii/sql-formatter-plus written in Rust. It is intended to be usable as a pure-Rust library for formatting SQL queries.

There is currently no binary interface. This crate was written for formatting queries to logs within sqlx, but it may be useful to other crates in the Rust ecosystem.


lib.rs:

This crate is a port of https://github.com/kufii/sql-formatter-plus written in Rust. It is intended to be usable as a pure-Rust library for formatting SQL queries.

Dependencies

~3.5–4.5MB
~77K SLoC