Update vendored interface packages #423
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In preparation for
rclrssupporting actions (#410), it will need new dependencies on certain interface packages: specifically,action_msgsand its dependencyunique_identifier_msgs. Sincerclrsis a crate on crates.io and the interface packages are not, they need to be vendored into therclrscode. This PR does so.In the first commit, the
rclrs/vendor_interfaces.pyscript is updated to vendor the above message packages in addition to the existing ones. In the process, the set of vendored packages is collapsed into a single list rather than being repeated throughout the script. Support is also added for packages with anaction.rsfile, though this is not currently used.The second commit silences the
clippy::derive_partial_eq_without_eqandclippy::upper_case_acronymslints in the generated code for interface packages. This was already being done by the vendored packages inrclrs, but was moved torosidl_generator_rsfor the sake of downstream users who may also enforceclippyon them.The third commit is the result of running the updated script on the
installoutput of the desired packages with the latest version of therosidl_generator_rsgenerator. In addition to introducing the new vendored packages, this resulted in some trivial changes to the existing ones: replacingstd::os::raw::c_voidwith its aliasstd::ffi::c_voidand a whitespace change.