Crates.io | sqlformat |
lib.rs | sqlformat |
version | 0.2.4 |
source | src |
created_at | 2020-04-18 23:00:30.535387 |
updated_at | 2024-06-12 02:53:58.485507 |
description | Formats whitespace in a SQL string to make it easier to read |
homepage | https://github.com/shssoichiro/sqlformat-rs |
repository | https://github.com/shssoichiro/sqlformat-rs |
max_upload_size | |
id | 231701 |
size | 123,006 |
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.