chdb-rust 1.1.0

chDB FFI bindings for Rust(Experimental)
docs.rs failed to build chdb-rust-1.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

Rust

chdb-rust

Experimental chDB FFI bindings for Rust

Status

  • Experimental, unstable, subject to changes
  • Automatically downloads and manages libchdb dependencies during build

Usage

The library automatically downloads the required libchdb binary during the build process.

Supported platforms:

  • Linux x86_64
  • Linux aarch64
  • macOS x86_64
  • macOS arm64 (Apple Silicon)

Manual Installation (Optional)

If you prefer to install libchdb manually, 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.