From 9f7b11da87db24d8183cc607d77ea5e40490deab Mon Sep 17 00:00:00 2001 From: Martin Dahl Date: Tue, 21 Mar 2023 09:44:56 +0100 Subject: [PATCH] Release 0.7.0 --- README.md | 12 +++++++++++- r2r/Cargo.toml | 8 ++++---- r2r/src/lib.rs | 2 +- r2r_actions/Cargo.toml | 4 ++-- r2r_msg_gen/Cargo.toml | 2 +- 5 files changed, 19 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 2f4d80a..29257e4 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.6.7"` +2. Depend on this package in Cargo.toml: `r2r = "0.7.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. @@ -37,6 +37,16 @@ What works? - Actions - Rudimentary parameter handling +Changelog +-------------------- +#### [0.7.0] - 2023-03-21 +- Use non-mangled names for serde serialization. +- Avoid segfault when rcl_init fails. +- Loaned message support. (Changes `publish_native` api). + +#### [0.6.7] - 2023-02-20 +- Fix undeclared type on Foxy. + TODO -------------------- - Documentation is lacking. (For now, look at the examples.) diff --git a/r2r/Cargo.toml b/r2r/Cargo.toml index 69c05d7..27f8a33 100644 --- a/r2r/Cargo.toml +++ b/r2r/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "r2r" -version = "0.6.7" +version = "0.7.0" authors = ["Martin Dahl "] description = "Easy to use, runtime-agnostic, async rust bindings for ROS2." license = "MIT AND Apache-2.0" @@ -20,8 +20,8 @@ thiserror = "1.0.37" lazy_static = "1.4.0" r2r_common = { path = "../r2r_common", version = "0.3.4" } r2r_rcl = { path = "../r2r_rcl", version = "0.3.5" } -r2r_msg_gen = { path = "../r2r_msg_gen", version = "0.3.7" } -r2r_actions = { path = "../r2r_actions", version = "0.3.6" } +r2r_msg_gen = { path = "../r2r_msg_gen", version = "0.3.8" } +r2r_actions = { path = "../r2r_actions", version = "0.3.7" } uuid = { version = "1.2.2", features = ["serde", "v4"] } futures = "0.3.25" @@ -33,7 +33,7 @@ rand = "0.8.5" [build-dependencies] r2r_common = { path = "../r2r_common", version = "0.3.4" } -r2r_msg_gen = { path = "../r2r_msg_gen", version = "0.3.7" } +r2r_msg_gen = { path = "../r2r_msg_gen", version = "0.3.8" } [features] save-bindgen = ["r2r_rcl/save-bindgen", "r2r_msg_gen/save-bindgen", "r2r_actions/save-bindgen"] diff --git a/r2r/src/lib.rs b/r2r/src/lib.rs index 714fc5a..c5bf75f 100644 --- a/r2r/src/lib.rs +++ b/r2r/src/lib.rs @@ -11,7 +11,7 @@ //! //! What works? //!--- -//!- Up to date with ROS2 ~Dashing~ ~Eloquent~ Foxy Galactic +//!- Up to date with ROS2 ~Dashing~ ~Eloquent~ Foxy Galactic Humble //!- Building Rust types //!- Publish/subscribe //!- Services diff --git a/r2r_actions/Cargo.toml b/r2r_actions/Cargo.toml index a802b87..b05a2ab 100644 --- a/r2r_actions/Cargo.toml +++ b/r2r_actions/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "r2r_actions" -version = "0.3.6" +version = "0.3.7" authors = ["Martin Dahl "] description = "Internal dependency to the r2r crate." license = "MIT" @@ -12,7 +12,7 @@ documentation = "https://docs.rs/r2r/latest/r2r" [dependencies] r2r_rcl = { path = "../r2r_rcl", version = "0.3.5" } -r2r_msg_gen = { path = "../r2r_msg_gen", version = "0.3.7" } +r2r_msg_gen = { path = "../r2r_msg_gen", version = "0.3.8" } [build-dependencies] bindgen = "0.63.0" diff --git a/r2r_msg_gen/Cargo.toml b/r2r_msg_gen/Cargo.toml index 77e2652..8ae53aa 100644 --- a/r2r_msg_gen/Cargo.toml +++ b/r2r_msg_gen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "r2r_msg_gen" -version = "0.3.7" +version = "0.3.8" authors = ["Martin Dahl "] description = "Internal dependency to the r2r crate." license = "MIT"