arete 0.1.0

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

arete

crates.io docs.rs License

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

Installation

[dependencies]
arete = "0.2"

Or with all features:

[dependencies]
arete = { 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 Arete servers
full Enables all features

Sub-crates

This is an umbrella crate that re-exports:

Usage

use arete_macros::arete;

// Define a stream
#[arete(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