Skip to main content

Crate ros_remove

Crate ros_remove 

Source
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
PackageXml
Represents the structure of a ROS package.xml file.

Functions§

env_to_matches
Converts command-line arguments into clap::ArgMatches.
remove_dependency
Removes a dependency from both Cargo.toml and package.xml based on the provided arguments.
remove_from_cargo_toml
Removes a dependency from the Cargo.toml file.
remove_from_package_xml
Removes a dependency from the package.xml file.
string_helper_dependency
wrapper function for string_helper_general for dependency options
string_helper_general
stringbuilder function to decrease boilerplate
string_helper_section
wrapper function for string_helper_general for section parts