Skip to content

pcspecs is a tool that gathers information of your system components.

License

Notifications You must be signed in to change notification settings

illud/rust-pcspecs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PcSpecs (WINDOWS ONLY)

Get system info


PcSpecs is a crate to gather the system specs.

Features

  • Hostname
  • Platform
  • OsNumber
  • CPU
  • GPU
  • RAM
  • MAINBOARD

Installation

Install the dependencies.

pcspecs = "0.2.1"

How to use

Add imports:

use pcspecs::specs;

Example:

fn main(){
    println!("{:#?}", specs());
    /* Output
    DESKTOP-5DH6S74 
    Microsoft Windows 10
    Pro 10 
    Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz
    NVIDIA GeForce RTX 2060 SUPER
    24 GB
    TUF GAMING B460M-PLUS (WI-FI*/
}

Or

fn main(){
    println!("{:#?}", specs().gpu);
    /* Output
    NVIDIA GeForce RTX 2060 SUPER
    */
}

License

MIT

PcSpecs is MIT licensed.

About

pcspecs is a tool that gathers information of your system components.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages