iracing 0.4.1

Rust interface for Live Telemetry, Session Data, and Setup Files for iRacing
Documentation
1
2
3
4
5
6
7
8
9
use iracing::Connection;
use serde_yaml::to_string;

pub fn main() {
    let conn = Connection::new().expect("Unable to open telemetry");
    let telem = conn.telemetry().expect("Telem");

    print!("{}", to_string(&telem.all()).unwrap());
}