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
10
use iracing::setups;
use std::path::Path;
use std::env::args;

pub fn main() {
    let path = args().last().expect("Error: No Setup file specified");

    setups::Setup::from_file( Path::new(&path) );

}