Drive Information Collector

A package for collect information about disk drive means SSD/HDD etc.

You can collect disk information from any device with just a function call. you will be able to collect the disk name, disk model, disk size and disk serial number information with this package.

Functions

Example

We are printing here the total capacity information about the disk drive of a system.

```

src/main.rs

mod drive; use drive::{driveSize};

fn main() { let size = driveSize::drive_size(); println!("Disk Drive Size: {}", size); } --- Output ---

Disk Drive Size: 512105932800 ```

The function drive_size() that we called in the main function in main.rs, we implemented it in the file called drive_size.rs, you will find the file on src/drive/drive_size.rs .