# Features and platforms
## Cargo features
| `hardware` | yes | Hardware inventory: firmware, PCI, USB, power, sensors, displays and storage. |
| `component` | yes | Hardware components and sensors. |
| `disk` | yes | Disks and disk usage. |
| `gpu` | yes | GPU information. |
| `network` | yes | Network interfaces and traffic. |
| `system` | yes | System, CPU, memory and processes. |
| `user` | yes | Users and groups. |
| `serde` | no | `Serialize`/`Deserialize` for public types. |
| `multithread` | no | Parallel refresh with `rayon`. |
| `apple-sandbox` | no | Avoid Apple-restricted APIs. |
| `linux-tmpfs` | no | Include tmpfs mount points in the disk list. |
| `debug` | no | Extra debug output (`sinf_debug!`). |
| `fuzzing` | no | Hidden helpers for the `fuzz/` harness; not a public API. |
Example:
```bash
cargo build --no-default-features --features system,disk
```
## Supported platforms
| Linux / Android / Raspberry Pi | `src/platform/linux` |
| macOS / iOS | `src/platform/apple` (shared) |
| FreeBSD | `src/platform/freebsd` |
| NetBSD | `src/platform/netbsd` |
| FreeBSD + NetBSD helpers | `src/platform/bsd` |
| Windows | `src/platform/windows` |
Hardware inventory is currently implemented on Linux; other platforms return `Error::Unsupported`.
Unsupported targets are rejected at compile time with a clear error.
## Platform notes
- **Linux containers and WSL** may not expose the host's `hwmon`/`thermal`
devices; component results can be empty or differ from the host.
- **Apple sandbox**: use `apple-sandbox` to avoid restricted APIs in App Store builds.
- **Raspberry Pi**: cross-compilation is usually faster than building on the
device. See [CONTRIBUTING.md](../../CONTRIBUTING.md#cross-compilation-raspberry-pi-example).
- **Hardware inventory** is currently implemented on Linux; other platforms
return `Error::Unsupported` or empty fields.