Skip to content

Conversation

@mxgrey
Copy link
Collaborator

@mxgrey mxgrey commented Oct 9, 2025

This is a relatively minor quality of life improvement, but for downstream packages that want to do generic programming based on message and service traits, this PR will allow those packages to not need an explicit dependency on rosidl_runtime_rs. By re-exporting the traits in rclrs, downstream users can just refer to the trait definitions as though the traits are coming directly from rclrs.

Avoiding the need for an explicit dependency on rclrs_runtime_rs helps reduce clutter in the Cargo.toml files of downstream users and reduces maintenance burden because downstream users won't need to keep their declared versions of rclrs and rosidl_runtime_rs in sync.

Signed-off-by: Michael X. Grey <greyxmike@gmail.com>
Copy link
Collaborator

@esteve esteve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mxgrey LGTM, thanks

@esteve esteve merged commit 2ab7b57 into ros2-rust:main Oct 12, 2025
9 checks passed
github-actions bot pushed a commit to knmcguire/ros2_rust that referenced this pull request Oct 26, 2025
Signed-off-by: Michael X. Grey <greyxmike@gmail.com>
github-actions bot pushed a commit to knmcguire/ros2_rust that referenced this pull request Oct 26, 2025
Signed-off-by: Michael X. Grey <greyxmike@gmail.com>
github-actions bot pushed a commit to knmcguire/ros2_rust that referenced this pull request Oct 26, 2025
Signed-off-by: Michael X. Grey <greyxmike@gmail.com>
github-actions bot pushed a commit to knmcguire/ros2_rust that referenced this pull request Oct 26, 2025
Signed-off-by: Michael X. Grey <greyxmike@gmail.com>
github-actions bot pushed a commit that referenced this pull request Oct 26, 2025
Signed-off-by: Michael X. Grey <greyxmike@gmail.com>
github-actions bot pushed a commit that referenced this pull request Oct 26, 2025
Signed-off-by: Michael X. Grey <greyxmike@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants