[package]
edition = "2024"
name = "win-drives"
version = "0.1.0"
authors = ["Jozef Podlecki <jozef.witold.podlecki@gmail.com"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low-level access to Windows physical drives and harddisk volumes via NT APIs, with no_std support"
homepage = "https://github.com/Jozefpodlecki/win-drives"
readme = "README.md"
keywords = [
"windows",
"disk",
"no-std",
"ntapi",
"storage",
]
license = "MIT"
repository = "https://github.com/Jozefpodlecki/win-drives"
[features]
alloc = []
default = ["std"]
no-std = ["embedded-io"]
std = [
"embedded-io?/std",
"alloc",
]
[lib]
name = "win_drives"
path = "src/lib.rs"
[[test]]
name = "physical"
path = "tests/physical.rs"
[[test]]
name = "volume"
path = "tests/volume.rs"
[dependencies.embedded-io]
version = "0.7.1"
optional = true
[dependencies.heapless]
version = "0.9.3"
[dependencies.ntapi]
version = "0.4.3"
features = ["impl-default"]
[dependencies.winapi]
version = "0.3.9"
features = [
"impl-default",
"fileapi",
"winnt",
"winioctl",
"errhandlingapi",
"ntdef",
]
[dev-dependencies]