A Rust crate to get windows partitions list and their information using Windows API.
```rust use winpartitions::windowspartition::get_partitions;
fn main() { let list = getpartitions(); for i in list.unwrap() { println!("Drive {} ({})", i.letter, i.name); println!("Ready: {}", i.ready); println!("File System: {}", i.filesystemname); println!("Free Space: {} / {} Bytes", i.freespace, i.size);
println!();
}
} ```