Crates.io | vhdx |
lib.rs | vhdx |
version | 0.1.0 |
source | src |
created_at | 2023-09-30 15:28:22.833949 |
updated_at | 2023-09-30 15:28:22.833949 |
description | An implementation of Microsoft's VHDX virtual hard disk format. |
homepage | https://github.com/calebfletcher/vhdx/ |
repository | https://github.com/calebfletcher/vhdx/ |
max_upload_size | |
id | 988698 |
size | 61,399 |
An implementation of Microsoft's VHDX virtual hard disk format in Rust.
Based on Microsoft's Open Specification available at: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-vhdx
cargo add vhdx
[dependencies]
vhdx = "0.1"
use std::io::Read;
let mut disk = vhdx::Vhdx::load("disk.vhdx");
let mut reader = disk.reader();
let mut buffer = [0; 512];
reader.read(&mut buffer).unwrap();