2 unstable releases
0.2.0 | Nov 8, 2020 |
---|---|
0.1.0 | Jul 28, 2019 |
#234 in Robotics
682 downloads per month
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.
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