From cc84beb17d19b83b8d84f5ad7910021070c4dd2a Mon Sep 17 00:00:00 2001 From: Martin Dahl Date: Tue, 27 Jun 2023 23:54:46 +0200 Subject: [PATCH] Release 0.7.5 --- README.md | 6 +++++- r2r/Cargo.toml | 14 +++++++------- r2r_actions/Cargo.toml | 8 ++++---- r2r_common/Cargo.toml | 2 +- r2r_msg_gen/Cargo.toml | 10 +++++----- r2r_rcl/Cargo.toml | 4 ++-- 6 files changed, 24 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 72120bd..b575c80 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.7.4"` +2. Depend on this package in Cargo.toml: `r2r = "0.7.5"` 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. @@ -45,6 +45,10 @@ Changelog -------------------- #### [Unreleased] +#### [0.7.5] - 2023-06-27 +- Fix issue with snake case conversion for idl header files. +- Fix build issue with race condition between header file generation and calling bindgen. + #### [0.7.4] - 2023-06-26 - Refactor code generation using syn and quote and improve build times - Replace (e)println with log diff --git a/r2r/Cargo.toml b/r2r/Cargo.toml index 3b892e2..6511743 100644 --- a/r2r/Cargo.toml +++ b/r2r/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "r2r" -version = "0.7.4" +version = "0.7.5" authors = ["Martin Dahl "] description = "Easy to use, runtime-agnostic, async rust bindings for ROS2." license = "MIT AND Apache-2.0" @@ -18,10 +18,10 @@ 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.3.7" } -r2r_rcl = { path = "../r2r_rcl", version = "0.3.8" } -r2r_msg_gen = { path = "../r2r_msg_gen", version = "0.3.12" } -r2r_actions = { path = "../r2r_actions", version = "0.3.11" } +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" } uuid = { version = "1.2.2", features = ["serde", "v4"] } futures = "0.3.25" log = "0.4.18" @@ -34,8 +34,8 @@ tokio = { version = "1.22.0", features = ["rt-multi-thread", "macros"] } rand = "0.8.5" [build-dependencies] -r2r_common = { path = "../r2r_common", version = "0.3.7" } -r2r_msg_gen = { path = "../r2r_msg_gen", version = "0.3.12" } +r2r_common = { path = "../r2r_common", version = "0.3.8" } +r2r_msg_gen = { path = "../r2r_msg_gen", version = "0.3.13" } 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 ddcd86d..e9ccf7f 100644 --- a/r2r_actions/Cargo.toml +++ b/r2r_actions/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "r2r_actions" -version = "0.3.11" +version = "0.3.12" 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.3.8" } -r2r_msg_gen = { path = "../r2r_msg_gen", version = "0.3.12" } +r2r_rcl = { path = "../r2r_rcl", version = "0.3.9" } +r2r_msg_gen = { path = "../r2r_msg_gen", version = "0.3.13" } [build-dependencies] bindgen = "0.63.0" -r2r_common = { path = "../r2r_common", version = "0.3.7" } +r2r_common = { path = "../r2r_common", version = "0.3.8" } [features] save-bindgen = ["r2r_rcl/save-bindgen", "r2r_msg_gen/save-bindgen"] diff --git a/r2r_common/Cargo.toml b/r2r_common/Cargo.toml index c2743c9..75bc855 100644 --- a/r2r_common/Cargo.toml +++ b/r2r_common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "r2r_common" -version = "0.3.7" +version = "0.3.8" authors = ["Martin Dahl "] description = "Minimal ros2 bindings." license = "MIT" diff --git a/r2r_msg_gen/Cargo.toml b/r2r_msg_gen/Cargo.toml index bf9e849..d478c47 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.12" +version = "0.3.13" 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.3.8" } -r2r_common = { path = "../r2r_common", version = "0.3.7" } +r2r_rcl = { path = "../r2r_rcl", version = "0.3.9" } +r2r_common = { path = "../r2r_common", version = "0.3.8" } 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.3.8" } -r2r_common = { path = "../r2r_common", version = "0.3.7" } +r2r_rcl = { path = "../r2r_rcl", version = "0.3.9" } +r2r_common = { path = "../r2r_common", version = "0.3.8" } 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 361d7ff..87d79e2 100644 --- a/r2r_rcl/Cargo.toml +++ b/r2r_rcl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "r2r_rcl" -version = "0.3.8" +version = "0.3.9" 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.3.7" } +r2r_common = { path = "../r2r_common", version = "0.3.8" } [features] save-bindgen = []