sinf 0.1.0

Library for obtaining in-depth system information at both the hardware and software levels
Documentation
# Refresh model

Most values are computed from the difference between two reads. Always keep the
same `System` instance and call a refresh method before reading data.

```rust
use sinf::system::System;

let mut sys = System::new_all().unwrap();
sys.refresh_all();
println!("used memory: {}", sys.used_memory());
```

## Main refresh methods

| Method | Refreshes |
|---|---|
| `refresh_all` | Everything enabled. |
| `refresh_memory` / `refresh_memory_specifics` | RAM and swap. |
| `refresh_cpu_usage` / `refresh_cpu_all` / `refresh_cpu_specifics` | CPU usage and list. |
| `refresh_processes` / `refresh_processes_specifics` | Process list. |
| `refresh_specifics` | Domains chosen with `RefreshKind`. |

Disks, networks and components expose their own `refresh` methods.

## Minimum CPU interval

CPU usage needs two samples. Wait at least `MINIMUM_CPU_UPDATE_INTERVAL`
between reads:

```rust
use sinf::system::System;

let mut sys = System::new().unwrap();
loop {
    sys.refresh_cpu_usage();
    std::thread::sleep(sinf::system::MINIMUM_CPU_UPDATE_INTERVAL);
}
```

The value differs per OS (for example 200 ms on Linux).