34 stable releases

Uses new Rust 2024

new 2.57.0 Jun 6, 2026
2.55.0 May 27, 2026
2.44.0 Mar 20, 2026
2.34.0 Dec 23, 2025
0.3.0 Jul 10, 2020

#2732 in Database interfaces

Download history 276/week @ 2026-02-18 74/week @ 2026-02-25 138/week @ 2026-03-04 121/week @ 2026-03-11 76/week @ 2026-03-18 76/week @ 2026-03-25 8/week @ 2026-04-01 8/week @ 2026-04-15 205/week @ 2026-04-22 183/week @ 2026-04-29 75/week @ 2026-05-06 108/week @ 2026-05-13 40/week @ 2026-05-20 170/week @ 2026-05-27 270/week @ 2026-06-03

597 downloads per month
Used in 4 crates

Apache-2.0 OR MIT

1.5MB
51K 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