helix-rs
A Rust SDK for interacting with HelixDB - providing a simple, type-safe interface for database operations.
Features
- Type-safe query interface using Serde serialization/deserialization
- Async/await support
- Configurable port settings
- Custom client implementation support via
HelixDBClient
trait
Installation
Add this to your Cargo.toml
:
[]
= "0.1.0"
Quick Start
use HelixDB;
use ;
// Define your data structures
async
Configuration
Custom Port
You can specify a custom port when initializing the client:
let client = new; // Uses port 8080
Custom Client
You can implement your own client by implementing the HelixDBClient
trait:
use HelixDBClient;
Requirements
- Rust 1.56 or higher
- Running HelixDB instance
- Tokio runtime for async operations