libscu 3.0.2

crate for fetching software/hardware info on Unix-like OSs
Documentation
1
2
3
4
5
6
7
// Required features: bootmode

use libscu::hardware::bootmode;

fn main() {
    println!("System booted via: {:?}", bootmode::fetch_mode());
}