sinf 0.1.0

Library for obtaining in-depth system information at both the hardware and software levels
Documentation
impl std::fmt::Debug for crate::Disk {
    fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        write!(
            fmt,
            "Disk({:?})[FS: {:?}][Type: {:?}][removable: {}][I/O: {:?}] mounted on {:?}: {}/{} B",
            self.name(),
            self.file_system(),
            self.kind(),
            if self.is_removable() { "yes" } else { "no" },
            self.usage(),
            self.mount_point(),
            self.available_space(),
            self.total_space(),
        )
    }
}

impl std::fmt::Debug for crate::Disks {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        f.debug_list().entries(self.iter()).finish()
    }
}