Re-export RosParams macro.

This commit is contained in:
Martin Dahl 2023-10-05 11:30:54 +02:00
parent f2c8a67c0c
commit ae20d3c33b
3 changed files with 4 additions and 2 deletions

View File

@ -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"
@ -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]

View File

@ -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

View File

@ -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};