From c58fbbcd5f0f07640633b7884641098ba1cb3e4b Mon Sep 17 00:00:00 2001 From: Martin Dahl Date: Mon, 26 Jun 2023 15:55:15 +0200 Subject: [PATCH] Release 0.7.4 --- README.md | 4 +++- 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, 22 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 0653e83..72120bd 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.3"` +2. Depend on this package in Cargo.toml: `r2r = "0.7.4"` 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. @@ -44,6 +44,8 @@ What works? Changelog -------------------- #### [Unreleased] + +#### [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 5546765..3b892e2 100644 --- a/r2r/Cargo.toml +++ b/r2r/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "r2r" -version = "0.7.3" +version = "0.7.4" 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.6" } -r2r_rcl = { path = "../r2r_rcl", version = "0.3.7" } -r2r_msg_gen = { path = "../r2r_msg_gen", version = "0.3.11" } -r2r_actions = { path = "../r2r_actions", version = "0.3.10" } +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" } 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.6" } -r2r_msg_gen = { path = "../r2r_msg_gen", version = "0.3.11" } +r2r_common = { path = "../r2r_common", version = "0.3.7" } +r2r_msg_gen = { path = "../r2r_msg_gen", version = "0.3.12" } 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 d8eb430..ddcd86d 100644 --- a/r2r_actions/Cargo.toml +++ b/r2r_actions/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "r2r_actions" -version = "0.3.10" +version = "0.3.11" 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.7" } -r2r_msg_gen = { path = "../r2r_msg_gen", version = "0.3.11" } +r2r_rcl = { path = "../r2r_rcl", version = "0.3.8" } +r2r_msg_gen = { path = "../r2r_msg_gen", version = "0.3.12" } [build-dependencies] bindgen = "0.63.0" -r2r_common = { path = "../r2r_common", version = "0.3.6" } +r2r_common = { path = "../r2r_common", version = "0.3.7" } [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 546d241..bd31d96 100644 --- a/r2r_common/Cargo.toml +++ b/r2r_common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "r2r_common" -version = "0.3.6" +version = "0.3.7" authors = ["Martin Dahl "] description = "Minimal ros2 bindings." license = "MIT" diff --git a/r2r_msg_gen/Cargo.toml b/r2r_msg_gen/Cargo.toml index 7673322..70372c2 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.11" +version = "0.3.12" 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.7" } -r2r_common = { path = "../r2r_common", version = "0.3.6" } +r2r_rcl = { path = "../r2r_rcl", version = "0.3.8" } +r2r_common = { path = "../r2r_common", version = "0.3.7" } 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.7" } -r2r_common = { path = "../r2r_common", version = "0.3.6" } +r2r_rcl = { path = "../r2r_rcl", version = "0.3.8" } +r2r_common = { path = "../r2r_common", version = "0.3.7" } heck = "0.4.0" quote = "1.0.28" syn = { version = "2.0.18", features = ["full"] } diff --git a/r2r_rcl/Cargo.toml b/r2r_rcl/Cargo.toml index 7bb13f6..361d7ff 100644 --- a/r2r_rcl/Cargo.toml +++ b/r2r_rcl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "r2r_rcl" -version = "0.3.7" +version = "0.3.8" 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.6" } +r2r_common = { path = "../r2r_common", version = "0.3.7" } [features] save-bindgen = []