{"id":34238485,"url":"https://github.com/helixdb/helix-rs","last_synced_at":"2026-04-04T12:58:53.187Z","repository":{"id":287300284,"uuid":"964271993","full_name":"HelixDB/helix-rs","owner":"HelixDB","description":"Rust SDK to use HelixDB","archived":false,"fork":false,"pushed_at":"2025-09-26T18:56:37.000Z","size":131,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-26T20:51:15.975Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://helix-db.com","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HelixDB.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-11T00:36:03.000Z","updated_at":"2025-09-26T18:56:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"f0baf811-0a10-4094-bb70-9adb8f978816","html_url":"https://github.com/HelixDB/helix-rs","commit_stats":null,"previous_names":["helixdb/helix-rs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HelixDB/helix-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelixDB%2Fhelix-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelixDB%2Fhelix-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelixDB%2Fhelix-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelixDB%2Fhelix-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HelixDB","download_url":"https://codeload.github.com/HelixDB/helix-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelixDB%2Fhelix-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27758770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-16T02:00:10.477Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-12-16T03:04:25.622Z","updated_at":"2025-12-16T03:04:30.684Z","avatar_url":"https://github.com/HelixDB.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# helix-rs\n\nA Rust SDK for interacting with HelixDB - providing a simple, type-safe interface for database operations.\n\n## Features\n\n- Type-safe query interface using Serde serialization/deserialization\n- Async/await support\n- Configurable port settings\n- Custom client implementation support via `HelixDBClient` trait\n\n## Quick Start\n\n```bash\ncargo add helix-rs\ncargo add serde\ncargo add tokio\n```\n\n```rust\nuse helix_rs::HelixDB;\nuse serde::{Serialize, Deserialize};\n\n// Define your data structures\n#[derive(Serialize)]\nstruct UserInput {\n    name: String,\n    age: i32,\n}\n\n#[derive(Deserialize)]\nstruct UserOutput {\n    id: String,\n    name: String,\n    age: i32,\n}\n\n#[tokio::main]\nasync fn main() -\u003e Result\u003c(), HelixError\u003e {\n    // Initialize the client\n    let client = HelixDB::new(None, None, None); // Uses default port 6969\n\n    // Create a user\n    \n    let input = AddUserInput {\n        name: \"John\".to_string(),\n        age: 20,\n    };\n\n    // Define the output structure\n    #[derive(Deserialize)]\n    struct Result {\n        user: AddUserOutput,\n    }\n\n    let result = client.query::\u003cUserInput, Result\u003e(\"add_user\", \u0026input).await?;\n    println!(\"Created user with ID: {}\", result.user.id);\n    Ok(())\n}\n```\n\n## Configuration\n\n### Custom Port\n\nYou can specify a custom port when initializing the client:\n\n```rust\nlet client = HelixDB::new(None, Some(8080), None); // Uses port 8080\n```\n\n### Custom Client\n\nYou can implement your own client by implementing the `HelixDBClient` trait:\n\n```rust\nuse helix_rs::{HelixDBClient, HelixError};\n\nstruct MyCustomClient {\n    // Your implementation details\n}\n\nimpl HelixDBClient for MyCustomClient {\n    type Err = HelixError;\n    fn new(endpoint: Option\u003c\u0026str\u003e, port: Option\u003cu16\u003e, api_key: Option\u003c\u0026str\u003e) -\u003e Self {\n        // Your initialization logic\n    }\n\n    async fn query\u003cT, R\u003e(\u0026self, endpoint: \u0026str, data: \u0026T) -\u003e Result\u003cR, HelixError\u003e\n    where\n        T: Serialize + Sync,\n        R: for\u003c'de\u003e Deserialize\u003c'de\u003e\n    {\n        // Your query implementation\n    }\n}\n```\n\n## Requirements\n\n- Rust 1.88.0 or higher\n- Running HelixDB instance\n- Tokio runtime for async operations\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelixdb%2Fhelix-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelixdb%2Fhelix-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelixdb%2Fhelix-rs/lists"}