| Crates.io | ros_add |
| lib.rs | ros_add |
| version | 0.1.6 |
| created_at | 2025-08-04 17:47:20.117426+00 |
| updated_at | 2025-08-25 07:17:19.112179+00 |
| description | The Purpose of the Package is to provide the `cargo ros_add` command to add dependencies to `Cargo.toml` and the `package.xml` |
| homepage | |
| repository | https://gitlab.com/rust_projects3505446/ros_add# |
| max_upload_size | |
| id | 1780988 |
| size | 63,916 |
cargo ros-add - ROS Dependency Management ToolCargo subcommand for adding dependencies to ROS Rust packages, handling both package.xml and Cargo.toml files automatically.
cargo install ros-add
cargo ros-add <dependency_name>
This will:
package.xml fileCargo.toml with a wildcard version (*)depend elements to package.xml while preserving formattingpackage.xml) and Rust (Cargo.toml) dependency filesAdd a standard ROS dependency:
cargo ros-add roscpp
Add a custom ROS package dependency:
cargo ros-add my_custom_msgs
package.xml and Cargo.toml filespackage.xml filepackage.xml format 3 dependency types like:
build_dependbuild_export_dependbuildtool_dependbuildtool_export_dependexec_dependdependdoc_dependtest_dependconflictreplaceContributions are welcome! Please open an issue or pull request on Gitlab.