Skip to main content
Guide
The published helix-db 3.0.0 crate provides the query DSL, request types, async HTTP client, native graph helpers, and a feature-gated embedded client.
The package is published as helix-db and imported as helix_db.

Install

Or add the dependency directly:
Cargo.toml

Define a query

#[query] converts typed arguments into request parameters and sets query_name to the function name.

Execute

Use .with_api_key(Some("hx_...")) for Helix Cloud. Request-builder options can require the writer, require a warm read, or control durability waiting.

Build without the macro

Embedded runtime

Enable the embedded feature:
See Embedded database for storage, cache, and handle configuration.

Verify

Rust SDK documentation examples are doctests:

Next steps

Query tutorial

Learn the batch and traversal model.

Reading data

Select data by ID, label, or indexed property.