Skip to content

Commit

Permalink
Re-export RosParams macro.
Browse files Browse the repository at this point in the history
  • Loading branch information
m-dahl committed Oct 5, 2023
1 parent f2c8a67 commit ae20d3c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion r2r/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ r2r_common = { path = "../r2r_common", version = "0.3.8" }
r2r_rcl = { path = "../r2r_rcl", version = "0.3.9" }
r2r_msg_gen = { path = "../r2r_msg_gen", version = "0.3.13" }
r2r_actions = { path = "../r2r_actions", version = "0.3.12" }
r2r_macros = { path = "../r2r_macros", version = "0.1.0" }
uuid = { version = "1.2.2", features = ["serde", "v4"] }
futures = "0.3.25"
log = "0.4.18"
Expand All @@ -31,7 +32,6 @@ phf = "0.11.1"
serde_json = "1.0.89"
futures = "0.3.25"
tokio = { version = "1.22.0", features = ["rt-multi-thread", "macros"] }
r2r_macros = { path = "../r2r_macros", version = "0.1.0" }
rand = "0.8.5"

[build-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion r2r/examples/parameters_derive.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use futures::executor::LocalPool;
use futures::prelude::*;
use futures::task::LocalSpawnExt;
use r2r_macros::RosParams;
use r2r::RosParams;
use std::sync::{Arc, Mutex};

// try to run like this
Expand Down
2 changes: 2 additions & 0 deletions r2r/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ pub use context::Context;
mod parameters;
pub use parameters::{Parameter, ParameterValue, RosParams};

pub use r2r_macros::RosParams;

mod clocks;
pub use clocks::{Clock, ClockType};

Expand Down

0 comments on commit ae20d3c

Please sign in to comment.