Browse docs

Jump to core topics without leaving the page.

Rust SDK

Track server-side analytics from Rust services with a type-safe SDK.

The Rust SDK is built for high-performance backends and event pipelines where reliability and type safety matter.

Best for

  • Rust microservices and APIs
  • Systems that need async event delivery
  • Infrastructure-level analytics pipelines

Install

Add the SDK crate and configure your credentials.

Install FlashAnalytics

Initialize

use flash_analytics::Client;

let fa = Client::new("YOUR_CLIENT_ID", "YOUR_CLIENT_SECRET");

Track events

fa.track("job_completed", json!({
  "job_type": "export",
  "duration_ms": 1280,
}));

Reliability

Use retries and background workers for high-throughput event pipelines.