Packages

Elixir NIF bindings for LadybugDB - an embedded property graph database with Cypher query support

Current section

Files

Jump to
ladybug_ex native ladybug_nif Cargo.toml
Raw

native/ladybug_nif/Cargo.toml

[package]
name = "ladybug_nif"
version = "0.1.0"
edition = "2021"
authors = []
[lib]
name = "ladybug_nif"
path = "src/lib.rs"
crate-type = ["cdylib"]
[dependencies]
rustler = "0.35.0"
lbug = "0.18.1"
# Additional dependencies for thread safety and error handling
thiserror = "2.0"
once_cell = "1.20"
parking_lot = "0.12"
# Note: do not enable LTO. Fat LTO internalizes the lbug C++ engine symbols,
# so they are not exported from the NIF cdylib — and Ladybug extensions
# (vector, fts, llm, ...) resolve engine symbols from the host process at
# dlopen time. LTO breaks all extension loading.