A rust crate for checking if the device is a laptop or not.
- Windows
- Linux
Add the crate to your dependencies:
[dependencies]
is-laptop = "*"
Check if the device is a laptop
let laptop: bool = is_laptop::check();
Licensed under either of
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
at your option.