entidb_ffi

Crates.ioentidb_ffi
lib.rsentidb_ffi
version2.0.0-alpha.3
created_at2025-12-25 14:50:23.252413+00
updated_at2026-01-03 03:30:47.096664+00
descriptionStable C ABI for EntiDB bindings
homepage
repositoryhttps://github.com/Tembocs/entidb
max_upload_size
id2004624
size206,843
Tembo (Tembocs)

documentation

README

entidb_ffi

Stable C ABI for EntiDB bindings.

Overview

This crate provides a stable C ABI interface for EntiDB, enabling language bindings (Dart, Python, and others) to interact with the EntiDB core engine safely.

Features

  • Stable C ABI: Consistent interface across different Rust compiler versions
  • Memory-safe FFI: Explicit ownership and buffer management
  • Error codes: ABI-safe error handling without panics across FFI boundary
  • Encryption support: Optional AES-256-GCM encryption APIs

Usage

This crate is intended for binding authors. See the Dart and Python bindings for reference implementations.

Building

The crate produces both cdylib (shared library) and staticlib outputs:

cargo build --release -p entidb_ffi

Safety

This crate contains unsafe code as required for FFI. All unsafe operations are carefully documented and reviewed.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Commit count: 0

cargo fmt