#database #orm #mysql #postgres #sqlite

rbdc-mssql

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

10 releases (4 stable)

new 4.3.6 Jun 1, 2023
4.3.5 May 31, 2023
4.3.1 Apr 25, 2023
4.3.0 Mar 21, 2023
0.1.15 Aug 29, 2022

#384 in Database interfaces

Download history 26/week @ 2023-02-09 41/week @ 2023-02-16 3/week @ 2023-02-23 14/week @ 2023-03-02 4/week @ 2023-03-09 78/week @ 2023-03-16 9/week @ 2023-03-23 3/week @ 2023-03-30 9/week @ 2023-04-06 23/week @ 2023-04-13 30/week @ 2023-04-20 15/week @ 2023-04-27 45/week @ 2023-05-04 17/week @ 2023-05-11 8/week @ 2023-05-18 21/week @ 2023-05-25

93 downloads per month

Apache-2.0

110KB
3K SLoC

RBDC

  • an database driver abstract

  • support zero copy serde-ser/de

Database -> bytes ->rbs::Value-> Struct(User Define) Struct(User Define) -> rbs::ValueRef -> ref clone() -> Database

how to define my driver?

should impl trait and load driver

  • impl trait Driver
  • impl trait Connection
  • impl trait Statement
  • impl trait ResultSet
  • impl trait MetaData
  • impl trait ConnectOptions

Dependencies

~6–16MB
~295K SLoC