Crates.io | direct-storage |
lib.rs | direct-storage |
version | 0.4.1 |
source | src |
created_at | 2023-01-17 15:56:52.246696 |
updated_at | 2024-07-17 08:48:25.070021 |
description | Rust bindings for DirectStorage |
homepage | |
repository | https://github.com/Tsukisoft/direct-storage-rs |
max_upload_size | |
id | 761048 |
size | 132,478 |
This crates implements windows-rs compatible bindings for the DirectStorage API.
We try to provide the same abstraction level and coding style as windows-rs.
Because of licensing issues we can't provide the shared libraries that are used by DirectStorage. You need to download them yourself and put them in the working directory of your project, or in places windows is searching for the library as documented:
.nupkg
files are just .zip
files).\native\bin
).\native\lib
)dstorage.dll
, dstoragecore.dll
and dstorage.lib
files
into the working directory of your project.This crate currently targets DirectStorage version 1.2.2. How long we will support older versions is not clear yet, but we may support older version with feature toggles if the need arises.
We ported some examples from the DirectStorage Repository to Rust.
They can be found in the examples folder and are licensed under MIT.
This crate is licensed under either of
at your option.
Please be aware that DirectStorage itself is licensed under a proprietary license by Microsoft, which you can find alongside the binary distribution of the shared library.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
This is not an official Microsoft product (experimental or otherwise). This crate is not endorsed or supported by Microsoft in any way.