#orm #mysql #postgresql #database-driver #sqlite

rbdc

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

31 stable releases

4.5.45 Dec 12, 2024
4.5.41 Nov 16, 2024
4.5.34 Jul 26, 2024
4.5.30 Mar 28, 2024
0.1.22 Sep 15, 2022

#123 in #database-driver

Download history 542/week @ 2024-09-28 1307/week @ 2024-10-05 697/week @ 2024-10-12 807/week @ 2024-10-19 445/week @ 2024-10-26 721/week @ 2024-11-02 387/week @ 2024-11-09 563/week @ 2024-11-16 602/week @ 2024-11-23 1115/week @ 2024-11-30 1247/week @ 2024-12-07 631/week @ 2024-12-14 311/week @ 2024-12-21 300/week @ 2024-12-28 642/week @ 2025-01-04 459/week @ 2025-01-11

1,804 downloads per month
Used in 30 crates (14 directly)

Apache-2.0

170KB
5K SLoC

RBDC driver abstract

  • an database driver abstract for rbatis
  • supported database drivers see rbatis

how to define my driver to support rbdc driver?

should impl trait and load driver

  • impl trait rbdc::db::{Driver, MetaData, Row, Connection, ConnectOptions, Placeholder};

Dependencies

~7–20MB
~307K SLoC