Skip to content
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

feat(zenoh-plugin-zenoh-flow): provide "dynamic_plugin" feature #252

Merged
merged 1 commit into from
May 24, 2024

Conversation

J-Loudet
Copy link
Contributor

Having this feature and, in particular, the ability to disable it, allows statically linking the Zenoh-Flow plugin to Zenoh.

This feature is enabled by default.

  • zenoh-plugin-zenoh-flow/Cargo.toml: added the dynamic_plugin feature.
  • zenoh-plugin-zenoh-flow/src/lib.rs: only call the macro declare_plugin! if the feature dynamic_plugin is enabled.

Having this feature and, in particular, the ability to disable it,
allows statically linking the Zenoh-Flow plugin to Zenoh.

This feature is enabled by default.

* zenoh-plugin-zenoh-flow/Cargo.toml: added the `dynamic_plugin`
  feature.
* zenoh-plugin-zenoh-flow/src/lib.rs: only call the macro
  `declare_plugin!` if the feature `dynamic_plugin` is enabled.

Signed-off-by: Julien Loudet <[email protected]>
@J-Loudet J-Loudet merged commit 6ea5296 into main May 24, 2024
9 checks passed
@J-Loudet J-Loudet deleted the feat/dynamic-plugin branch June 4, 2024 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant