Expand description
§HeroLib Clients Package
The herolib-clients package provides a unified interface for various client libraries
including database clients, messaging clients, and API clients.
§Modules
redis: Redis client with connection managementpostgres: PostgreSQL client with connection poolingmqtt: MQTT messaging client for pub/submycelium: Mycelium mesh network clientherodb: HeroDB modular database clienthetzner: Hetzner Cloud API client
§Example
use herolib_clients::{redis, postgres, mqtt};
// Use Redis client
redis::set("key", "value").unwrap();
// Use PostgreSQL client
postgres::execute("SELECT 1", &[]).unwrap();Modules§
- geoip
- hero_
embedder - Hero Embedder Client - JSON-RPC client for RAG operations.
- herodb
- SAL HeroDB Client
- hetzner
- Hetzner Robot API Client
- mqtt
- SAL MQTT Client - MQTT messaging client with reliable delivery support
- mycelium
- SAL Mycelium - Client interface for interacting with Mycelium node’s HTTP API
- ntp
- opencode_
api - OpenCode API client with high-level builder pattern interface.
- openrpc
- OpenRPC Client Transport Layer
- postgres
- SAL PostgreSQL Client
- redis
- SAL Redis Client
- rhai
- Rhai integration for the HeroLib Clients package
- vastai
- Herovast - Rust client library for Vast.ai GPU rental API