Expand description
A cargo subcommand for removing dependencies from both Cargo.toml and ROS package.xml files.
This tool helps manage dependencies for ROS 2 packages written in Rust by
synchronizing dependencies between Cargo.toml and package.xml manifest files.
It removes specified dependencies from the appropriate sections in both files.
Structs§
- Export
- Struct for Package.xml export type
- Maintainer
- Represents the Package.xml maintainer type
- Package
Xml - Represents the structure of a ROS
package.xmlfile.
Functions§
- env_
to_ matches - Converts command-line arguments into
clap::ArgMatches. - remove_
dependency - Removes a dependency from both
Cargo.tomlandpackage.xmlbased on the provided arguments. - remove_
from_ cargo_ toml - Removes a dependency from the
Cargo.tomlfile. - remove_
from_ package_ xml - Removes a dependency from the
package.xmlfile. - string_
helper_ dependency - wrapper function for
string_helper_generalfor dependency options - string_
helper_ general - stringbuilder function to decrease boilerplate
- string_
helper_ section - wrapper function for
string_helper_generalfor section parts