Registry / other / windows-storage

windows-storage

JSON →
library0.23.0rscratesunverified

Provides access to Windows Storage APIs.

# Cargo.toml [dependencies] windows-storage = "0.23.0"
INSTALL
IMPORT
SIG · WINDOWS-STORAGE
W
windows-storage
otherrustv0.23.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

StorageFile
use windows_storage::StorageFile;

Opens a storage file from a path.

use windows_storage::StorageFile; fn main() -> windows::core::Result<()> { let file = StorageFile::get_file_from_path_async("C:\\example.txt")?.get()?; println!("File: {:?}", file.name()?); Ok(()) }
Debug
Known issues
gotchaRequires Windows SDK and may need specific feature flags.
fix
Enable the 'Storage' feature in your Cargo.toml: windows-storage = { version = "0.23.0", features = ["Storage"] }.
affects: >=0.1.0
Upgrade
Version history
0.23.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Amazon
1
Bingbot
1
Resources
windows-storage — cargo add windows-storage · libregistry