-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Win32Metadata support #8
Comments
We don't have a plan to do this in the short term, however we'd gladly consider a pull request to this repo that generates the win32metadata from dstorage.h/dstorageerr.h. The request is noted. I, personally, am pretty keen on getting rust bindings for these via win32metadata, so this might be something I do in my spare time. |
Is there a way to get the DirectStorage SDK besides nuget? For one, I would like such a thing for c++ development, however I'm not sure how that would be compatible with rust (which I would also be interested in), either. https://www.nuget.org/packages/Microsoft.Direct3D.DirectStorage/1.0.2/License
|
Thanks for the feedback, I'm going to try find an answer to the "can a third party redistribute the dlls in a rust crate" (or other packaging system) question. This is certainly a scenario we want to enable. The easiest way to use a nuget package, if you don't want to use nuget or vcpkg directly, is to just unzip the nuget file (these are just zip files with a different extension) and use it from there. |
@damyanp are there still plans to get these bindings into the Windows SDK - and as such into |
There are currently no plans to add the DirectStorage headers to the Windows SDK. However, the nuget package does include the windmds, and the header files are now under the MIT license. |
@damyanp thanks, but the |
For all intents and purposes the winmd file is equivalent to the header file. We can see about finding some way to more explicitly explain this in the license. I'd imagine that any user crate would need to download the dlls anyway to be useful, so I wonder if the winmd needs to be included in the crate anyway? |
@damyanp that'd be appreciated, as the Not exactly sure. For a Rust crate we'd need the However, we don't need the Note that it's not my crate, so any of this is better discussed with the actual author. Besides, I've filed #38 and am inclined to generate a |
The winmd shipped with the NuGet package has an [indecisive license][1], as it's intended to fall under the MIT license just like other code files, but is strictly a binary blob. At the same time the metadata [isn't representing the headers as conveniently and completely][2] as we'd like in our Rust bindings, but unfortunately there is no upstream source available to reference or contribute to, where we can tweak and improve how the NuGet `winmd` is generated. The metadata description introduced here tries to reproduce the original metadata as closely as possible, while following the improvements [that I requested upstream][2] and [maintaining the `int` type for `DSTORAGE_DEBUG`][3]. [1]: microsoft/DirectStorage#8 (comment) [2]: microsoft/DirectStorage#38 [3]: microsoft/win32metadata#1822 (comment)
The winmd shipped with the NuGet package has an [indecisive license][1], as it's intended to fall under the MIT license just like other code files, but is strictly a binary blob. At the same time the metadata [isn't representing the headers as conveniently and completely][2] as we'd like in our Rust bindings, but unfortunately there is no upstream source available to reference or contribute to, where we can tweak and improve how the NuGet `winmd` is generated. The metadata description introduced here tries to reproduce the original metadata as closely as possible, while following the improvements [that I requested upstream][2] and [maintaining the `int` type for `DSTORAGE_DEBUG`][3]. [1]: microsoft/DirectStorage#8 (comment) [2]: microsoft/DirectStorage#38 [3]: microsoft/win32metadata#1822 (comment)
The winmd shipped with the NuGet package has an [indecisive license][1], as it's intended to fall under the MIT license just like other code files, but is strictly a binary blob. At the same time the metadata [isn't representing the headers as conveniently and completely][2] as we'd like in our Rust bindings, but unfortunately there is no upstream source available to reference or contribute to, where we can tweak and improve how the NuGet `winmd` is generated. The metadata description introduced here tries to reproduce the original metadata as closely as possible, while following the improvements [that I requested upstream][2] and [maintaining the `int` type for `DSTORAGE_DEBUG`][3]. [1]: microsoft/DirectStorage#8 (comment) [2]: microsoft/DirectStorage#38 [3]: microsoft/win32metadata#1822 (comment)
The winmd shipped with the NuGet package has an [indecisive license][1], as it's intended to fall under the MIT license just like other code files, but is strictly a binary blob. At the same time the metadata [isn't representing the headers as conveniently and completely][2] as we'd like in our Rust bindings, but unfortunately there is no upstream source available to reference or contribute to, where we can tweak and improve how the NuGet `winmd` is generated. The metadata description introduced here tries to reproduce the original metadata as closely as possible, while following the improvements [that I requested upstream][2] and [maintaining the `int` type for `DSTORAGE_DEBUG`][3]. [1]: microsoft/DirectStorage#8 (comment) [2]: microsoft/DirectStorage#38 [3]: microsoft/win32metadata#1822 (comment)
The winmd shipped with the NuGet package has an [indecisive license][1], as it's intended to fall under the MIT license just like other code files, but is strictly a binary blob. At the same time the metadata [isn't representing the headers as conveniently and completely][2] as we'd like in our Rust bindings, but unfortunately there is no upstream source available to reference or contribute to, where we can tweak and improve how the NuGet `winmd` is generated. The metadata description introduced here tries to reproduce the original metadata as closely as possible, while following the improvements [that I requested upstream][2] and [maintaining the `int` type for `DSTORAGE_DEBUG`][3]. [1]: microsoft/DirectStorage#8 (comment) [2]: microsoft/DirectStorage#38 [3]: microsoft/win32metadata#1822 (comment)
The winmd shipped with the NuGet package has an [indecisive license][1], as it's intended to fall under the MIT license just like other code files, but is strictly a binary blob. At the same time the metadata [isn't representing the headers as conveniently and completely][2] as we'd like in our Rust bindings, but unfortunately there is no upstream source available to reference or contribute to, where we can tweak and improve how the NuGet `winmd` is generated. The metadata description introduced here tries to reproduce the original metadata as closely as possible, while following the improvements [that I requested upstream][2] and [maintaining the `int` type for `DSTORAGE_DEBUG`][3]. [1]: microsoft/DirectStorage#8 (comment) [2]: microsoft/DirectStorage#38 [3]: microsoft/win32metadata#1822 (comment)
The winmd shipped with the NuGet package has an [indecisive license][1], as it's intended to fall under the MIT license just like other code files, but is strictly a binary blob. At the same time the metadata [isn't representing the headers as conveniently and completely][2] as we'd like in our Rust bindings, but unfortunately there is no upstream source available to reference or contribute to, where we can tweak and improve how the NuGet `winmd` is generated. The metadata description introduced here tries to reproduce the original metadata as closely as possible, while following the improvements [that I requested upstream][2] and [maintaining the `int` type for `DSTORAGE_DEBUG`][3]. [1]: microsoft/DirectStorage#8 (comment) [2]: microsoft/DirectStorage#38 [3]: microsoft/win32metadata#1822 (comment)
The winmd shipped with the NuGet package has an [indecisive license][1], as it's intended to fall under the MIT license just like other code files, but is strictly a binary blob. At the same time the metadata [isn't representing the headers as conveniently and completely][2] as we'd like in our Rust bindings, but unfortunately there is no upstream source available to reference or contribute to, where we can tweak and improve how the NuGet `winmd` is generated. The metadata description introduced here tries to reproduce the original metadata as closely as possible, while following the improvements [that I requested upstream][2] and [maintaining the `int` type for `DSTORAGE_DEBUG`][3]. [1]: microsoft/DirectStorage#8 (comment) [2]: microsoft/DirectStorage#38 [3]: microsoft/win32metadata#1822 (comment)
I opened the issue that requests DirectStorage support on win32metadata project. The contributor said it is needed that DirectStorage team produce its metadata. I think it would be helpful to generate language bindings.
The text was updated successfully, but these errors were encountered: