cue-sdk 0.1.1

A high-level safe wrapper for the Corsair iCUE SDK v4.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::time::Duration;

fn main() {
    let session = cue_sdk::connect().expect("failed to connect");
    let details = session
        .wait_for_connection(Duration::from_secs(5))
        .expect("timeout waiting for iCUE");

    println!("Client version: {}", details.client_version);
    println!("Server version: {}", details.server_version);
    println!("Host version:   {}", details.server_host_version);
}