From 927fc9a01f9bb71e28fec578e977f9cffb44bec8 Mon Sep 17 00:00:00 2001 From: stelzo Date: Mon, 20 May 2024 01:09:04 +0200 Subject: [PATCH] bump version --- CHANGELOG.md | 7 +++++++ README.md | 4 ++-- rpcl2/Cargo.toml | 2 +- rpcl2/src/lib.rs | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f46bf23..085694b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## v0.5.0-rc.1 -> v0.5.0-rc.2 + +- `PointConvertible` now includes the information for `TypeLayout` and `Fields`, which reduces boilerplate code for custom points. The respective derive macro is updated to work with the updated trait. +- `_vec` functions now work without the `derive` feature and thus are always available. +- The `derive` feature now is disabled by default but it is still strongly recommended for custom points to avoid layout errors. This also makes procmacro dependencies optional for the functionality, since every conversion can be called without them. +- The alignment of all predefined points is increased for SSE optimization and optimized copies between C++ PCL and Rust. + ## v0.4.0 -> v0.5.0-rc.1 Most of the library is rewritten to be simpler and more expandable while adding mostly performance focused features to motivate the breaking changes. diff --git a/README.md b/README.md index 75a7676..396ba0f 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ ros_pointcloud2 uses its own type for the message `PointCloud2Msg` to keep the library framework agnostic. ROS1 and ROS2 are supported with feature flags. -Get started with the example below, check out the other use cases in the `examples` folder or see the [Documentation](https://docs.rs/ros_pointcloud2/0.5.0-rc.1/) for a complete guide. +Get started with the example below, check out the other use cases in the `examples` folder or see the [Documentation](https://docs.rs/ros_pointcloud2/0.5.0-rc.2/) for a complete guide. ## Quickstart @@ -68,7 +68,7 @@ Features do not work properly with `rcrls` because the messages are linked exter ```toml [dependencies] -ros_pointcloud2 = { git = "https://github.com/stelzo/ros_pointcloud2", tag = "v0.5.0-rc.1_rclrs" } +ros_pointcloud2 = { git = "https://github.com/stelzo/ros_pointcloud2", tag = "v0.5.0-rc.2_rclrs" } ``` Also, indicate the following dependencies to your linker inside the `package.xml` of your package. diff --git a/rpcl2/Cargo.toml b/rpcl2/Cargo.toml index 2e1ce4b..e85200a 100644 --- a/rpcl2/Cargo.toml +++ b/rpcl2/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ros_pointcloud2" -version = "0.5.0-rc.1" +version = "0.5.0-rc.2" edition = "2021" authors = ["Christopher Sieh "] description = "Customizable conversions for working with sensor_msgs/PointCloud2." diff --git a/rpcl2/src/lib.rs b/rpcl2/src/lib.rs index 07ce2d6..67e995c 100644 --- a/rpcl2/src/lib.rs +++ b/rpcl2/src/lib.rs @@ -125,7 +125,7 @@ //! ``` #![crate_type = "lib"] #![cfg_attr(docsrs, feature(doc_cfg))] -#![doc(html_root_url = "https://docs.rs/ros_pointcloud2/0.5.0-rc.1")] +#![doc(html_root_url = "https://docs.rs/ros_pointcloud2/0.5.0-rc.2")] #![warn(clippy::print_stderr)] #![warn(clippy::print_stdout)] #![warn(clippy::unwrap_used)]