deepstore-client 1.0.5

Rust client SDK for DeepStore distributed storage platform
docs.rs failed to build deepstore-client-1.0.5
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: deepstore-client-1.1.2

DeepStore Rust Client

High-level client for DeepStore that orchestrates control plane and data plane calls. Mirrors the TypeScript @deepstore/client package but uses auto-generated Rust SDKs.

Architecture

DeepstoreClient
  ├─ Control Plane (deepstore-server-client)
  │   └─ List splits, SSE streaming
  └─ Data Plane (deepstore-agent-client via auth proxy)
      └─ Search, draft documents

Usage

use deepstore_client::{DeepstoreClient, SearchParams};
use chrono::Utc;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let client = DeepstoreClient::builder()
        .control_plane_url("https://deepstore.example.com")
        .auth_proxy_url("https://agent-manager.example.com")
        .query_token_provider(|| async { Ok("jwt_token".to_string()) })
        .build()?;

    let results = client.search(SearchParams {
        database_id: "db_abc123".to_string(),
        query: "level:error".to_string(),
        start_time: Utc::now() - chrono::Duration::hours(1),
        end_time: Utc::now(),
        max_hits: Some(100),
        ..Default::default()
    }).await?;

    println!("Found {} hits", results.num_hits);
    Ok(())
}