#orm #sqlite #mysql #postgresql

rbdc-pool-fast

The Rust SQL Toolkit and ORM Library. An async, pure Rust SQL crate featuring compile-time Dynamic SQL

15 stable releases

4.7.0 Jan 4, 2026
4.6.3 Dec 18, 2025
4.6.2 Nov 2, 2025
4.6.0 May 22, 2025
4.5.4 Dec 29, 2023

#2657 in Database interfaces

Download history 600/week @ 2025-10-07 666/week @ 2025-10-14 896/week @ 2025-10-21 653/week @ 2025-10-28 697/week @ 2025-11-04 655/week @ 2025-11-11 740/week @ 2025-11-18 693/week @ 2025-11-25 1003/week @ 2025-12-02 891/week @ 2025-12-09 752/week @ 2025-12-16 634/week @ 2025-12-23 660/week @ 2025-12-30 605/week @ 2026-01-06 449/week @ 2026-01-13 709/week @ 2026-01-20

2,500 downloads per month
Used in 28 crates (3 directly)

Apache-2.0

190KB
5.5K SLoC

rbdc driver connection pool based on FastPool

way fast_pool?

  • fast get() method performance
//windows:
//---- bench_pool stdout ----
//Time: 4.0313ms ,each:40 ns/op
//QPS: 24749412 QPS/s
//macos:
//---- bench_pool stdout ----
// Time: 6.373708ms ,each:63 ns/op
// QPS: 15683710 QPS/s
  • for example:
 use rbatis::RBatis;
 use rbdc_pool_fast::FastPool;
 use rbdc_sqlite::{SqliteConnectOptions, SqliteDriver};
 let rb=RBatis::new();

 let opts=SqliteConnectOptions::new();
 let _ = rb.init_option::<SqliteDriver, SqliteConnectOptions, FastPool>(SqliteDriver{},opts);

Dependencies

~8–21MB
~235K SLoC