Open
Description
I have created a new ROS node and I have declared its dependencies in its Cargo.toml. If I do a symlink of my node's .cargo
to the /ros2_ws/.cargo
, cargo build
works fine. However, if I don't do this symlink, the ROS crates can't be found or I have to explicitly declare their path like sensor_msgs = { version = "5.3.6", path = "/workspace/ros2_ws/install/sensor_msgs/share/sensor_msgs/rust" }
.
Is there another method that I am missing? I want to avoid the overhead of explicitly adding the paths and I still need the .cargo of my project to declare some env variables in the config.toml
Metadata
Metadata
Assignees
Labels
No labels