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

#1784 in Procedural macros

29 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

~275–730KB
~17K SLoC