ros_package_manifest

Crates.ioros_package_manifest
lib.rsros_package_manifest
version0.2.0
sourcesrc
created_at2019-07-28 15:04:43.520071
updated_at2020-11-08 13:08:39.094037
descriptionThis crate parses ROS package manifest (also known as package.xml)
homepagehttps://github.com/lelongg/ros_package_manifest
repositoryhttps://github.com/lelongg/ros_package_manifest
max_upload_size
id152365
size30,180
GĂ©rald Lelong (lelongg)

documentation

https://docs.rs/ros_package_manifest/

README

ros_package_manifest

This crate parses ROS package manifest, also known as package.xml, as defined in REP 127, REP 140, REP 149.

crate.io docs.rs

Examples

use ros_package_manifest::{Package, PackageCommonMethods};
use std::str::FromStr;
let package_xml = std::fs::read_to_string("data/package.xml")?;
let package = Package::from_str(&package_xml)?;
assert_eq!(package.name(), "rosmaster");
Commit count: 25

cargo fmt