≈ the.bay.news

How to make app plugins/extensions?

The Rust Programming Language Forum
How to make app plugins/extensions?
I don't know if this is possible. If I create an application, distributed as a closed-source native binary, can I also distribute plugins a separate binary files that extend the functionality of that app? Or is there not enough stable ABI for this? The plugin would need to be able to use types in the application, and implement traits defined in the application. // Define in app binary pub trait Plugin { fn name(&self) -> String; fn startup(&self) -> anyhow::Result<()>; ... } pub st...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.