Skip to content

Rust FFI example binding for chDB, an embedded SQL Engine powered by ClickHouse

License

Notifications You must be signed in to change notification settings

chdb-io/chdb-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

fac0fa3 · Apr 7, 2025

History

45 Commits
Apr 7, 2025
Apr 6, 2025
Apr 6, 2025
Apr 6, 2025
Apr 6, 2025
Jul 3, 2023
Apr 6, 2025
Apr 6, 2025
Apr 7, 2025
Apr 6, 2025

Repository files navigation

Rust

chdb-rust

Experimental chDB FFI bindings for Rust

Status

  • Experimental, unstable, subject to changes
  • Requires libchdb on the system. You can install the compatible version from install_libchdb.sh

Usage

Install libchdb

You can install it system-wide

./update_libchdb.sh --global

or use it in a local directory

./update_libchdb.sh --local

Build

RUST_BACKTRACE=full cargo build --verbose

Run tests

cargo test

Examples

See tests directory.