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

#721 in Hardware support

Download history 391/week @ 2024-08-06 662/week @ 2024-08-13 707/week @ 2024-08-20 886/week @ 2024-08-27 824/week @ 2024-09-03 932/week @ 2024-09-10 941/week @ 2024-09-17 842/week @ 2024-09-24 672/week @ 2024-10-01 859/week @ 2024-10-08 977/week @ 2024-10-15 728/week @ 2024-10-22 1010/week @ 2024-10-29 1245/week @ 2024-11-05 977/week @ 2024-11-12 979/week @ 2024-11-19

4,321 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