10 releases (6 breaking)

0.26.0 Oct 19, 2025
0.25.0 Aug 28, 2024
0.24.0 Jan 10, 2024
0.23.2 Nov 2, 2023
0.21.0 Oct 12, 2022

#2771 in Database interfaces

Download history 2/week @ 2025-07-23 3/week @ 2025-08-20 109/week @ 2025-10-15 27/week @ 2025-10-22

136 downloads per month
Used in r2d2_firebird

MIT license

250KB
5.5K SLoC

The Firebird Diesel

This crate only implements the firebird backend for Diesel. To use diesel features, you must import it.

By default the lib will use the native client. If you want use the pure rust client, enable the pure_rust feature.

Establishing a connection

use diesel::prelude::*;
use rsfbclient_diesel::FbConnection;

let conn = FbConnection::establish("firebird://SYSDBA:masterkey@localhost/test.fdb");

Firebird adapter for diesel ORM

Diesel is a safe, extensible ORM and Query Builder for Rust. With this crate you can use it for access the Firebird database.

This crate only implements the firebird backend for Diesel. To use diesel features, you must import it.

By default the lib will use the native client. If you want use the pure rust client, enable the pure_rust feature.

Establishing a connection

use diesel::prelude::*;
use rsfbclient_diesel::FbConnection;

let conn = FbConnection::establish("firebird://SYSDBA:masterkey@localhost/test.fdb");

CRUD example

We also provide a CRUD example with employee.fdb database.

Dependencies

~15MB
~255K SLoC