listdisk-rs

Crates.iolistdisk-rs
lib.rslistdisk-rs
version0.3.4
created_at2025-11-07 22:52:06.596245+00
updated_at2025-11-09 17:55:42.074423+00
descriptionwin32 disk info utils
homepage
repositoryhttps://github.com/mokurin000/listdisk-rs
max_upload_size
id1922314
size86,967
莯凛 (mokurin000)

documentation

README

listdisk-rs

listdisk-rs is a Rust project for disk and drive information utilities, featuring multiple example programs and modular features. It is written entirely in Rust.

Features

  • Supports Windows storage APIs (via windows-sys), WMI querying, and Unicode/UTF-16 strings.
  • Example binaries for volume listing, drive info, freespace reporting, and full usage.

Roadmap

  • MSFT_Disk, MSFT_DiskToPartition
  • MSFT_DiskImage
  • result types for WMI methods

Getting Started

Requirements

  • Rust (Edition 2024 or later)

Building

Clone this repo:

git clone https://github.com/mokurin000/listdisk-rs.git
cd listdisk-rs

Build the project:

cargo build

Run a specific example (replace EXAMPLE as needed):

cargo run --example list_volume

Feature flags

Enable features with Cargo's --features flag, e.g.:

cargo run --example list_volume --features volume

See the Cargo.toml for the complete list of available features.

Project Structure

Dependencies

Key dependencies:

License

See Cargo.toml for more information about this project and its licensing.


100% Rust. See also the Cargo.toml for all configuration details.

Commit count: 0

cargo fmt