better-duck-core 0.1.0-beta.3

Rust DuckDB client with Diesel ORM support
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Async facade over [`Connection`](crate::connection::Connection), gated by the
//! `async` feature.
//!
//! This module is tokio-only: every method dispatches to
//! `tokio::task::spawn_blocking`. There is no runtime-agnostic abstraction here —
//! an async-std or smol user can reimplement [`AsyncConnection`] over their own
//! blocking-task primitive in place of `spawn_blocking`; see its source for the
//! pattern, which is small.

mod connection;
mod database;
#[cfg(feature = "pool")]
mod pool;

pub use connection::AsyncConnection;
pub use database::AsyncDatabase;
#[cfg(feature = "pool")]
pub use pool::AsyncPool;