Skip to content

Commit

Permalink
deps: align zenoh #1415 (#258)
Browse files Browse the repository at this point in the history
* deps: align zenoh #1415

Signed-off-by: Gabriele Baldoni <[email protected]>

* deps: zenoh

Signed-off-by: Gabriele Baldoni <[email protected]>

---------

Signed-off-by: Gabriele Baldoni <[email protected]>
  • Loading branch information
gabrik authored Sep 13, 2024
1 parent cbcd1df commit dc95c28
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 31 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: 2 additions & 4 deletions zenoh-bridge-ros2dds/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,11 @@ 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, &str>("rest", true);
plugins_mgr.declare_static_plugin::<zenoh_plugin_rest::RestPlugin, &str>("rest", true);
}

// declare ROS2DDS plugin
plugins_mgr = plugins_mgr
.declare_static_plugin::<zenoh_plugin_ros2dds::ROS2Plugin, &str>("ros2dds", true);
plugins_mgr.declare_static_plugin::<zenoh_plugin_ros2dds::ROS2Plugin, &str>("ros2dds", true);

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

0 comments on commit dc95c28

Please sign in to comment.