-
Notifications
You must be signed in to change notification settings - Fork 194
Allow applications to load plugins #953
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -364,6 +364,8 @@ | |||
/// Configure the Admin Space | |||
/// Unstable: this configuration part works as advertised, but may change in a future release | |||
adminspace: { | |||
// Enables the admin space | |||
enabled: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we make this a mode dependent value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's always disabled by default. zenohd
activates it but if an application starts in router mode admin space is not activated by default if not explicitly requested.
Plugins loading is moved from
zenohd
intoRuntime::init
.This allows any application, written in any language, to load Rust plugins by passing the right configuration.
This approach does not require the addition of any API in the bindings since everything is handled via the configuration.
Sister PRs: