Metrics Rust wrapper

Note: This crate is specific to ChromeOS and requires the native libmetrics library at link time.

metrics_rs is a Rust wrapper for libmetrics. This library is used to upload metrics to the UMA server.

Running the example on DUT

Building and uploading the example.

(chroot)$ cargo build --release --examples
(chroot)$ scp target/release/examples/metrics $DUT:/usr/local/bin

Running the example on your DUT:

(DUT)$ metrics