8 releases

Uses old Rust 2015

0.2.2 Jan 17, 2022
0.2.1 Aug 10, 2018
0.2.0 Jun 22, 2018
0.1.2 Mar 31, 2018
0.0.3 Sep 7, 2017

#537 in Hardware support

Download history 527/week @ 2024-06-16 323/week @ 2024-06-23 326/week @ 2024-06-30 424/week @ 2024-07-07 444/week @ 2024-07-14 414/week @ 2024-07-21 316/week @ 2024-07-28 357/week @ 2024-08-04 572/week @ 2024-08-11 670/week @ 2024-08-18 864/week @ 2024-08-25 859/week @ 2024-09-01 908/week @ 2024-09-08 929/week @ 2024-09-15 860/week @ 2024-09-22 794/week @ 2024-09-29

3,603 downloads per month
Used in 6 crates

MirOS license

13KB
392 lines

sensors

Example usage:

for chip in Sensors::new() {
    let name = chip.get_name().expect("name");
    println!("Found sensor: {}", &name);
    for feature in chip {
        let label = feature.get_label().expect("label");
        println!("Found feature: {}", &label);
        for subfeature in feature {
            let value = subfeature.get_value().expect("value");
            println!("Found subfeature {}: {}", subfeature.name(), value);
        }
    }
}

Dependencies

~71KB