13 releases

0.2.3 Dec 6, 2023
0.2.2 Sep 4, 2023
0.2.1 Jan 13, 2023
0.2.0 May 5, 2022
0.1.0 Apr 18, 2020

#46 in Development tools

Download history 237917/week @ 2023-12-06 229000/week @ 2023-12-13 158041/week @ 2023-12-20 126159/week @ 2023-12-27 218206/week @ 2024-01-03 226322/week @ 2024-01-10 254394/week @ 2024-01-17 232792/week @ 2024-01-24 239127/week @ 2024-01-31 256482/week @ 2024-02-07 227765/week @ 2024-02-14 237963/week @ 2024-02-21 254900/week @ 2024-02-28 266257/week @ 2024-03-06 260451/week @ 2024-03-13 209677/week @ 2024-03-20

1,038,626 downloads per month
Used in 954 crates (24 directly)

MIT/Apache

105KB
2.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

~2MB
~30K SLoC