| Crates.io | tank-duckdb |
| lib.rs | tank-duckdb |
| version | 0.16.0 |
| created_at | 2025-05-10 14:11:50.557769+00 |
| updated_at | 2026-01-20 23:41:49.055625+00 |
| description | DuckDB driver implementation for Tank: the Rust data layer |
| homepage | |
| repository | https://github.com/TankHQ/tank |
| max_upload_size | |
| id | 1668403 |
| size | 130,512 |
DuckDB driver implementation for Tank: the Rust data layer.
Implements Tank’s Driver and related traits for DuckDB, mapping Tank operations and queries into direct DuckDB commands. It does not replace the main tank crate. you still use it to define entities, manage schemas, and build queries.
https://tankhq.github.io/tank/
https://github.com/TankHQ/tank ⭐
cargo add tank
cargo add tank-duckdb
Optional feature flags:
bundled (default): uses the bundled DuckDB library.Disable it if you want a system DuckDB:
cargo add tank-duckdb --no-default-features
use tank::{Connection, Driver, Executor};
use tank_duckdb::DuckDBDriver;
let driver = DuckDBDriver::new();
let connection = driver
.connect("duckdb://path/to/database.duckdb?mode=rw".into())
.await?;