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.
StringHelper
Helper Struct to determine, in which kind of Package Group the Package has to be deleted

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.