17 releases

new 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

#20 in Development tools

Download history 305486/week @ 2024-07-18 326973/week @ 2024-07-25 317099/week @ 2024-08-01 353873/week @ 2024-08-08 362021/week @ 2024-08-15 385067/week @ 2024-08-22 357055/week @ 2024-08-29 399679/week @ 2024-09-05 389260/week @ 2024-09-12 386639/week @ 2024-09-19 401629/week @ 2024-09-26 419763/week @ 2024-10-03 410113/week @ 2024-10-10 442621/week @ 2024-10-17 472313/week @ 2024-10-24 427557/week @ 2024-10-31

1,841,887 downloads per month
Used in 1,303 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