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

#14 in #pooling


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

~210–640KB
~15K SLoC