2 releases

0.1.1 Sep 27, 2024
0.1.0 Jun 26, 2024

#5 in #swim-os-agent

Download history 21/week @ 2025-07-30 4/week @ 2025-08-06 24/week @ 2025-08-20 54/week @ 2025-08-27 74/week @ 2025-09-03 34/week @ 2025-09-10 14/week @ 2025-09-17 45/week @ 2025-09-24 66/week @ 2025-10-01 17/week @ 2025-10-08 46/week @ 2025-10-15 64/week @ 2025-10-22 15/week @ 2025-10-29 35/week @ 2025-11-05 29/week @ 2025-11-12

152 downloads per month
Used in 15 crates

Apache-2.0

795KB
19K SLoC

SwimOS API

This crate provides the API for implementing components that can be executed by the SwimOS runtime.

  • The agent module contains the agent::Agent trait that can be implemented to add new kinds of agent to the runtime. The canonical Rust implementation of this trait can be found in the swimos_agent crate.
  • The persistence module contains the persistence::PlanePersistence trait that can be implemented to add new storage implementations to allow a Swim server to maintain an external persistent state that can outlive a single execution of the server process.

Dependencies

~8–13MB
~213K SLoC