2 releases

0.1.1 Sep 27, 2024
0.1.0 Jun 27, 2024

#673 in HTTP server

Download history 129/week @ 2024-06-27 10/week @ 2024-07-04 6/week @ 2024-07-25 7/week @ 2024-09-12 7/week @ 2024-09-19 149/week @ 2024-09-26 21/week @ 2024-10-03

184 downloads per month

Apache-2.0

1.5MB
33K SLoC

SwimOS

A framework for building real-time streaming applications that model the state of an external system. The state of a SwimOS application is split across a number of "agents", identified by URI. Agents consists of some number of named "lanes", each of which is individually addressable. An external client of the application can modify the value of lanes, to update the model, and subscribe the changes to the state of those lanes. State updates are pushed to the clients so it is not necessary to poll for changes.

Feature Flags

This crate has a number of feature flags, none of which are enabled by default:

  1. agent - The API for defining your own agents.
  2. server - The SwimOS server, necessary for running a SwimOS application.
  3. json - Enables JSON serialization support for HTTP lanes.

Dependencies

~8–21MB
~293K SLoC