Skip to content

Commit

Permalink
chore: tracking zenoh fix/1059-add-plugin-id branch (eclipse-zenoh#245)
Browse files Browse the repository at this point in the history
* chore: tracking zenoh fix/1059-add-plugin-id branch

Signed-off-by: gabrik <[email protected]>

* chore: \sync Cargo.lock

---------

Signed-off-by: gabrik <[email protected]>
  • Loading branch information
gabrik authored Jun 3, 2024
1 parent 4bf25a0 commit 44e5958
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 29 deletions.
54 changes: 27 additions & 27 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions zenoh-bridge-dds/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,13 @@ async fn main() {

// declare REST plugin if specified in conf
if config.plugin("rest").is_some() {
plugins_mgr = plugins_mgr.declare_static_plugin::<zenoh_plugin_rest::RestPlugin>(true);
plugins_mgr =
plugins_mgr.declare_static_plugin::<zenoh_plugin_rest::RestPlugin, &str>("rest", true);
}

// declare DDS plugin
plugins_mgr = plugins_mgr.declare_static_plugin::<zenoh_plugin_dds::DDSPlugin>(true);
plugins_mgr =
plugins_mgr.declare_static_plugin::<zenoh_plugin_dds::DDSPlugin, &str>("dds", true);

// create a zenoh Runtime.
let mut runtime = match RuntimeBuilder::new(config)
Expand Down

0 comments on commit 44e5958

Please sign in to comment.