swimos/swim-rust

Loading agents from a dynamic library.

horned-sphere opened this issue · 0 comments

The swim_api::agent::Agent trait is object safe so it should be possible to load an agent instance from a dynamic library. Define a way for creating agent plugin crates and extend the swim_server_app to allow loading dynamic libraries (put this behind a feature flag).