is-laptop

Crates.iois-laptop
lib.rsis-laptop
version0.4.3
sourcesrc
created_at2022-06-08 13:06:25.628723
updated_at2024-01-22 12:05:26.342924
descriptionA rust crate for checking if the device is a laptop or not
homepage
repositoryhttps://github.com/AmionSky/is-laptop
max_upload_size
id602080
size21,673
Csányi István (AmionSky)

documentation

README

is-laptop

A rust crate for checking if the device is a laptop or not.

Supported platforms

  • Windows
  • Linux

Usage

Add the crate to your dependencies:

[dependencies]
is-laptop = "*"

Check if the device is a laptop

let laptop: bool = is_laptop::check();

License

Licensed under either of

at your option.

Commit count: 13

cargo fmt