29 stable releases

Uses new Rust 2024

new 2.52.1 May 13, 2026
2.49.0 Apr 27, 2026
2.44.0 Mar 20, 2026
2.34.0 Dec 23, 2025
0.3.0 Jul 10, 2020

#721 in Database interfaces

Download history 129/week @ 2026-01-18 69/week @ 2026-01-25 65/week @ 2026-02-01 187/week @ 2026-02-08 278/week @ 2026-02-15 119/week @ 2026-02-22 113/week @ 2026-03-01 163/week @ 2026-03-08 79/week @ 2026-03-15 63/week @ 2026-03-22 38/week @ 2026-03-29 4/week @ 2026-04-05 4/week @ 2026-04-12 58/week @ 2026-04-19 280/week @ 2026-04-26 116/week @ 2026-05-03

458 downloads per month
Used in 4 crates

Apache-2.0 OR MIT

1.5MB
46K SLoC

linter

Error message style guide

Lock messages

Each lock name should be:

  • accompanied by an explanation of its meaning in simple terms
  • tables that are affected

Instead of:

Changing the size of a `varchar` field requires an `ACCESS EXCLUSIVE` lock.

include a lock description & table name:

Changing the size of a `varchar` field requires an `ACCESS EXCLUSIVE` lock, which prevents reads and writes to `users`.

Help

A help message should be short an actionable.

Instead of:

You can remove the `CASCADE` keyword and then specify exactly which tables you want to truncate directly.

tell the user what to change (add, update, remove):

Remove the `CASCADE` and specify exactly which tables you want to truncate.

Dependencies

~4.5MB
~82K SLoC