#ros #package #manifest #xml

ros_package_manifest

This crate parses ROS package manifest (also known as package.xml)

2 unstable releases

0.2.0 Nov 8, 2020
0.1.0 Jul 28, 2019

#234 in Robotics

Download history 107/week @ 2024-07-20 183/week @ 2024-07-27 83/week @ 2024-08-03 60/week @ 2024-08-10 48/week @ 2024-08-17 66/week @ 2024-08-24 106/week @ 2024-08-31 345/week @ 2024-09-07 144/week @ 2024-09-14 183/week @ 2024-09-21 207/week @ 2024-09-28 129/week @ 2024-10-05 125/week @ 2024-10-12 123/week @ 2024-10-19 246/week @ 2024-10-26 160/week @ 2024-11-02

682 downloads per month

ISC license

29KB
807 lines

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");

lib.rs:

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

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");

Dependencies

~2.6–4MB
~76K SLoC