windows_drives/lib.rs
1/*!
2This crate provides safe wrappers around the unsafe Win32 API provided by `winapi` for raw disk access.
3
4Currently accessing complete disks (`\\.\PhysicalDriveX`) and disk partitions (`\\?\HarddiskVolumeX`) is supported.
5
6A good program to view your computer's disk mapping is [SIV](http://rh-software.com/) (under "Volumes -> Disk Mapping").
7*/
8
9#[macro_use]
10pub(crate) mod macros;
11
12/// The core module of the crate, providing the data structures representing physical drives.
13pub mod drive;
14
15/// A module providing helper functions to interact with the Win32 API.
16pub mod win32;
17
18pub use drive::*;