diff --git a/README.md b/README.md index 0ed878b7e..3066b71b0 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ These bindings are being written organically when things are needed by me and ot How to use -------------------- 1. Make sure you have libclang installed. (e.g. libclang-dev on ubuntu) -2. Depend on this package in Cargo.toml: `r2r = "0.8.4"` +2. Depend on this package in Cargo.toml: `r2r = "0.9.0"` 3. You need to source your ROS2 installation before building/running. 4. The bindings will rebuild automatically if/when you source your workspace(s). 5. If you make changes to existing message types, run `cargo clean -p r2r_msg_gen` to force recompilation of the rust message types on the next build. @@ -46,7 +46,10 @@ What works? Changelog -------------------- #### [Unreleased] -- Expose QoS settings for service clients and servers + +#### [0.9.0] - 2024-05-17 +- Fix unsafe precondition(s) violated with rust 1.78 . There may be more of these to fix, please report if you encounter. +- Expose QoS settings for service clients and servers . Note, slight API change! - Make the order of parameters deterministic - Add a r2r_info example to print environmental information - Code cleanups , diff --git a/r2r/Cargo.toml b/r2r/Cargo.toml index ba304c241..2f1107cf0 100644 --- a/r2r/Cargo.toml +++ b/r2r/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "r2r" -version = "0.8.4" +version = "0.9.0" authors = ["Martin Dahl "] description = "Easy to use, runtime-agnostic, async rust bindings for ROS2." license = "MIT AND Apache-2.0" @@ -18,11 +18,11 @@ serde = { version = "1.0.147", features = ["derive"] } serde_json = "1.0.89" thiserror = "1.0.37" lazy_static = "1.4.0" -r2r_common = { path = "../r2r_common", version = "0.8.4" } -r2r_rcl = { path = "../r2r_rcl", version = "0.8.4" } -r2r_msg_gen = { path = "../r2r_msg_gen", version = "0.8.4" } -r2r_actions = { path = "../r2r_actions", version = "0.8.4" } -r2r_macros = { path = "../r2r_macros", version = "0.8.4" } +r2r_common = { path = "../r2r_common", version = "0.9.0" } +r2r_rcl = { path = "../r2r_rcl", version = "0.9.0" } +r2r_msg_gen = { path = "../r2r_msg_gen", version = "0.9.0" } +r2r_actions = { path = "../r2r_actions", version = "0.9.0" } +r2r_macros = { path = "../r2r_macros", version = "0.9.0" } uuid = { version = "1.2.2", features = ["serde", "v4"] } futures = "0.3.25" log = "0.4.18" @@ -38,8 +38,8 @@ cdr = "0.2.4" criterion = "0.5.1" [build-dependencies] -r2r_common = { path = "../r2r_common", version = "0.8.4" } -r2r_msg_gen = { path = "../r2r_msg_gen", version = "0.8.4" } +r2r_common = { path = "../r2r_common", version = "0.9.0" } +r2r_msg_gen = { path = "../r2r_msg_gen", version = "0.9.0" } rayon = "1.7.0" force-send-sync = "1.0.0" quote = "1.0.28" diff --git a/r2r_actions/Cargo.toml b/r2r_actions/Cargo.toml index 4fa220f9e..62ccd27ab 100644 --- a/r2r_actions/Cargo.toml +++ b/r2r_actions/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "r2r_actions" -version = "0.8.4" +version = "0.9.0" authors = ["Martin Dahl "] description = "Internal dependency to the r2r crate." license = "MIT" @@ -11,12 +11,12 @@ repository = "https://github.com/sequenceplanner/r2r" documentation = "https://docs.rs/r2r/latest/r2r" [dependencies] -r2r_rcl = { path = "../r2r_rcl", version = "0.8.4" } -r2r_msg_gen = { path = "../r2r_msg_gen", version = "0.8.4" } +r2r_rcl = { path = "../r2r_rcl", version = "0.9.0" } +r2r_msg_gen = { path = "../r2r_msg_gen", version = "0.9.0" } [build-dependencies] bindgen = "0.63.0" -r2r_common = { path = "../r2r_common", version = "0.8.4" } +r2r_common = { path = "../r2r_common", version = "0.9.0" } [features] save-bindgen = ["r2r_rcl/save-bindgen", "r2r_msg_gen/save-bindgen"] diff --git a/r2r_cargo.cmake b/r2r_cargo.cmake index c0e1afc00..4c7d722d0 100644 --- a/r2r_cargo.cmake +++ b/r2r_cargo.cmake @@ -1,5 +1,5 @@ # -# For r2r 0.8.4. +# For r2r 0.9.0 # # cmake code for simple colcon integration. # See https://github.com/m-dahl/r2r_minimal_node/ diff --git a/r2r_common/Cargo.toml b/r2r_common/Cargo.toml index 825b93304..9ae2e6cac 100644 --- a/r2r_common/Cargo.toml +++ b/r2r_common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "r2r_common" -version = "0.8.4" +version = "0.9.0" authors = ["Martin Dahl "] description = "Minimal ros2 bindings." license = "MIT" diff --git a/r2r_macros/Cargo.toml b/r2r_macros/Cargo.toml index f803a6cc0..1fbeb10d5 100644 --- a/r2r_macros/Cargo.toml +++ b/r2r_macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "r2r_macros" -version = "0.8.4" +version = "0.9.0" authors = ["Martin Dahl "] description = "Minimal ros2 bindings." license = "MIT" diff --git a/r2r_msg_gen/Cargo.toml b/r2r_msg_gen/Cargo.toml index 4ceb41756..a3327ed2a 100644 --- a/r2r_msg_gen/Cargo.toml +++ b/r2r_msg_gen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "r2r_msg_gen" -version = "0.8.4" +version = "0.9.0" authors = ["Martin Dahl "] description = "Internal dependency to the r2r crate." license = "MIT" @@ -11,8 +11,8 @@ repository = "https://github.com/sequenceplanner/r2r" documentation = "https://docs.rs/r2r/latest/r2r" [dependencies] -r2r_rcl = { path = "../r2r_rcl", version = "0.8.4" } -r2r_common = { path = "../r2r_common", version = "0.8.4" } +r2r_rcl = { path = "../r2r_rcl", version = "0.9.0" } +r2r_common = { path = "../r2r_common", version = "0.9.0" } phf = { version = "0.11.1", features = ["macros"] } quote = "1.0.28" proc-macro2 = "1.0.60" @@ -22,8 +22,8 @@ rayon = "1.7.0" [build-dependencies] bindgen = "0.63.0" -r2r_rcl = { path = "../r2r_rcl", version = "0.8.4" } -r2r_common = { path = "../r2r_common", version = "0.8.4" } +r2r_rcl = { path = "../r2r_rcl", version = "0.9.0" } +r2r_common = { path = "../r2r_common", version = "0.9.0" } quote = "1.0.28" syn = { version = "2.0.18", features = ["full"] } rayon = "1.7.0" diff --git a/r2r_rcl/Cargo.toml b/r2r_rcl/Cargo.toml index 52a453ee9..dab3f8ec7 100644 --- a/r2r_rcl/Cargo.toml +++ b/r2r_rcl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "r2r_rcl" -version = "0.8.4" +version = "0.9.0" authors = ["Martin Dahl "] description = "Internal dependency to the r2r crate." license = "MIT" @@ -16,7 +16,7 @@ widestring = "1.0.2" [build-dependencies] bindgen = "0.63.0" -r2r_common = { path = "../r2r_common", version = "0.8.4" } +r2r_common = { path = "../r2r_common", version = "0.9.0" } [features] save-bindgen = []