Haystack HTTP API server with SCRAM auth and WebSocket watches.
Provides [HaystackServer] — an Axum-based HTTP server implementing
the full Project Haystack REST API with 30+ standard operations.
Features
- 30+ Haystack ops — about, read, nav, hisRead, hisWrite, pointWrite, watchSub, watchPoll, watchUnsub, invokeAction, defs, libs, formats, and more
- SCRAM SHA-256 auth — Token-based authentication with configurable TTL
- WebSocket watches — Real-time entity change subscriptions
- History store — In-memory time-series storage for his-tagged points
- Content negotiation — Zinc, JSON, JSON v3, CSV via Accept header
Quick Start
use ;
use HaystackServer;
# async