-
Notifications
You must be signed in to change notification settings - Fork 174
Open
Description
I'm having trouble when working with custom messages that use the builtin_interfaces/msg/Header
. When trying to fill in the timestamp it the build complains that the vendored Time is not the same as the one for the message.
I saw in #385 that the interfaces are vendored and that we should remove the builtin_interfaces from the workspace, however when I do that the custom messages fail to build because they depend on them.
error: failed to select a version for the requirement `builtin_interfaces = "*"`
version 1.2.1 is yanked
location searched: crates.io index
required by package `custom_msgs v0.0.1 (<...>/install/custom_msgs/share/custom_msgs/rust)`
... which satisfies dependency `custom_msgs = "*"` (locked to 0.0.1) of package `test v0.1.0`
---
Failed <<< test [1.47s, exited with code 1]
And this is due because the generated rust crate for the message package contains this:
[package]
name = "custom_msgs"
version = "0.0.1"
edition = "2021"
[dependencies]
rosidl_runtime_rs = "0.4"
serde = { version = "1", optional = true, features = ["derive"] }
serde-big-array = { version = "0.5.1", optional = true }
service_msgs = "*"
geometry_msgs = "*"
builtin_interfaces = "*" # <----- This fails during build of a ros2_rust node that depends on this custom message package
std_msgs = "*"
[features]
serde = ['dep:serde', 'dep:serde-big-array', 'rosidl_runtime_rs/serde', 'service_msgs/serde', 'geometry_msgs/serde', 'builtin_interfaces/se
rde', 'std_msgs/serde']
How should I get this working?
Metadata
Metadata
Assignees
Labels
No labels