feat: add support for Storage API subset in wdk-sys
#287
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces support for generating Rust bindings for Storage-related APIs. The changes span multiple files, adding the necessary configurations, headers, and bindings to enable the use of Storage APIs.
Key changes include:
New API Subset for Storage Drivers
Storageto theApiSubsetenum incrates/wdk-build/src/lib.rsand implemented the corresponding logic to include Storage headers based on the driver configuration. [1] [2]Configuration and Feature Updates
Cargo.tomlfiles to include the newstoragefeature and dependencies forwdk-sys. [1] [2] [3] [4]Bindings Generation
crates/wdk-sys/build.rs, including handling conditional compilation based on thestoragefeature. [1] [2] [3] [4]Module and Bindings Implementation
storagemodule incrates/wdk-sys/src/lib.rsand implemented the bindings incrates/wdk-sys/src/storage.rs. [1] [2]