5 releases
0.1.7 | Jul 7, 2020 |
---|---|
0.1.6 | Jun 12, 2020 |
#772 in Operating systems
40 downloads per month
Used in macstats
61KB
1.5K
SLoC
macsmc
Have a look at the Documentation
lib.rs
:
SMC client for macOS
Examples
let mut smc = Smc::connect()?;
let cpu_temp = smc.cpu_temperature()?;
assert!(*cpu_temp.proximity > 0.0);
// will disconnect
drop(smc);
See [Smc
] for the starting point.
Dependencies
~43KB