Cargo Features

RosLibRust has no features set by default.

[dependencies]
roslibrust = { version = "0.8.0", features = ["rosapi", "all", "running_bridge", "ros1_test", "ros2_test", "topic_provider", "ros1"] }
rosapi

Provides a rosapi rust interface

Affects roslibrust::rosapi

all

Note: all does not include running_bridge as that is only intended for CI

running_bridge ros1_test? ros2_test?

Intended for use with tests, includes tests that rely on a locally running rosbridge

ros1_test = running_bridge

For use with integration tests, indicating we are testing integration with a ros1 bridge

ros2_test = running_bridge

For use with integration tests, indicates we are testing integration with a ros2 bridge

topic_provider

Provides access to experimental abstract trait topic_provider

ros1

Provides a ros1 xmlrpc / TCPROS client

Enables gethostname, hyper ^0.14, regex, reqwest ^0.11, serde_rosmsg, and serde_xmlrpc

gethostname:

Only used with native ros1