cruster 0.0.27

A Rust framework for building distributed, stateful entity systems with durable workflows
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use cruster::{entity, entity_impl};

#[entity]
#[derive(Clone)]
struct VisibilityEntity;

#[entity_impl]
impl VisibilityEntity {
    #[private]
    async fn helper(&self) -> Result<(), cruster::error::ClusterError> {
        Ok(())
    }
}

fn main() {}