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

#1772 in Procedural macros

Download history 34/week @ 2024-02-20 12/week @ 2024-02-27 5/week @ 2024-03-12 164/week @ 2024-03-19 7/week @ 2024-03-26 31/week @ 2024-04-02

202 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

~315–760KB
~18K SLoC