18 releases

new 0.3.2 Nov 22, 2024
0.3.0 Oct 5, 2024
0.2.4 Jun 12, 2024
0.2.3 Dec 6, 2023
0.1.0 Apr 18, 2020

#20 in Development tools

Download history 319116/week @ 2024-08-02 353385/week @ 2024-08-09 371337/week @ 2024-08-16 389875/week @ 2024-08-23 353891/week @ 2024-08-30 403732/week @ 2024-09-06 362887/week @ 2024-09-13 416159/week @ 2024-09-20 393764/week @ 2024-09-27 429420/week @ 2024-10-04 411230/week @ 2024-10-11 445135/week @ 2024-10-18 478646/week @ 2024-10-25 427350/week @ 2024-11-01 443506/week @ 2024-11-08 458220/week @ 2024-11-15

1,895,779 downloads per month
Used in 1,325 crates (29 directly)

MIT/Apache

120KB
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
~78K SLoC