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 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 759/week @ 2024-09-29 798/week @ 2024-10-06 902/week @ 2024-10-13 818/week @ 2024-10-20 894/week @ 2024-10-27 1216/week @ 2024-11-03

3,924 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

~72KB