hyperstack 0.3.14

Real-time streaming data pipelines for Solana - transform on-chain events into typed state projections
Documentation

hyperstack

crates.io docs.rs License

Real-time streaming data pipelines for Solana - transform on-chain events into typed state projections.

Installation

[dependencies]
hyperstack = "0.2"

Or with all features:

[dependencies]
hyperstack = { version = "0.1", features = ["full"] }

Features

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

Sub-crates

This is an umbrella crate that re-exports:

Usage

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,
    }
}

License

Apache-2.0