[](https://crates.io/crates/ros_remove)
[](https://docs.rs/ros_remove/latest/ros_remove/)
[](https://crates.io/crates/ros_remove)
[](https://crates.io/crates/ros_remove)
[](https://github.com/rust-lang/hashbrown)
# `cargo ros-remove` - ROS Dependency Management Tool
[Cargo](https://doc.rust-lang.org/cargo/) subcommand for removing dependencies from [ROS](https://docs.ros.org/en/kilted/index.html) [Rust](https://www.rust-lang.org/) packages, handling both `package.xml` and `Cargo.toml` files automatically.
## Installation
```sh
cargo install ros-remove
```
## Usage
```sh
cargo ros-remove <dep_id>
```
This will Remove the the Dependency from your `package.xml` and `Carto.toml`
## Features
- **Automatic [XML](https://en.wikipedia.org/wiki/XML) Handling**: Removes `depend` elements from `package.xml`
- **Dual Configuration**: Updates both [ROS](https://docs.ros.org/en/kilted/index.html) (`package.xml`) and [Rust](https://www.rust-lang.org/) (`Cargo.toml`) dependency files
- **Error Handling**: Provides clear error messages for common issues
## Examples
Removes a standard ROS dependency:
```sh
cargo ros-remove roscpp
```
## Requirements
- Rust toolchain ([cargo](https://doc.rust-lang.org/cargo/))
- Existing ROS package with `package.xml` and `Cargo.toml` files
## Contributing
Contributions are welcome! Please open an issue or pull request on [CodeBerg](https://codeberg.org/guela_rust/ros_remove).
## License
[Apache-2.0](LICENSE)