Real-time streaming data pipelines for Solana - transform on-chain events into typed state projections.
[dependencies]
hyperstack = "0.2"Or with all features:
[dependencies]
hyperstack = { version = "0.1", features = ["full"] }| Feature | Default | Description |
|---|---|---|
interpreter |
✅ | AST transformation runtime and VM |
macros |
✅ | Proc-macros for defining streams |
server |
✅ | WebSocket server and projection handlers |
sdk |
❌ | Rust client for connecting to HyperStack servers |
full |
❌ | Enables all features |
This is an umbrella crate that re-exports:
hyperstack-interpreter- AST transformation runtimehyperstack-macros- Stream definition macroshyperstack-server- WebSocket serverhyperstack-sdk- Rust client SDK
use hyperstack_macros::hyperstack;
// Define a stream
#[hyperstack(idl = "idl.json")]
pub mod my_stream {
#[entity(name = "MyEntity")]
#[derive(Stream)]
struct MyEntity {
#[map(from = Account::field, primary_key)]
pub id: String,
}
}Apache-2.0