4 releases (stable)

4.1.0 Mar 21, 2024
4.0.0 Feb 28, 2023
2.0.0 Sep 8, 2022
2.0.0-rc.0 Jul 30, 2022

#1744 in Procedural macros

Download history 6/week @ 2024-03-24 37/week @ 2024-03-31 1/week @ 2024-04-07 9/week @ 2024-05-12 11/week @ 2024-05-19 23/week @ 2024-05-26 24/week @ 2024-06-02 23/week @ 2024-06-09 6/week @ 2024-06-16 19/week @ 2024-06-23 13/week @ 2024-06-30 22/week @ 2024-07-07

60 downloads per month
Used in diesel-connection

MIT license

3KB

License Cargo Documentation

Simple static diesel r2d2 connection pooling.

ENV Configuration

  • DATABASE_URL sets connection url

  • MAX_DB_CONNECTIONS sets max connections within connection pool

The dotenv feature flag enables dotenv loading during pre-main static initialization via dotenvy.

Dependencies

~280–730KB
~17K SLoC