Skip to content

Provide option to use default metadata for code generation#2253

Merged
kennykerr merged 2 commits intomasterfrom
with_default
Dec 16, 2022
Merged

Provide option to use default metadata for code generation#2253
kennykerr merged 2 commits intomasterfrom
with_default

Conversation

@kennykerr
Copy link
Copy Markdown
Collaborator

@kennykerr kennykerr commented Dec 15, 2022

The new with_default method will produce a File set that includes the winmd files used to generate the current version of the windows-rs project. This should make it easier for projects generating their own bindings to stay in sync and target a specific version of the windows crate without needing to manage their own winmd dependencies.

Fixes: #2211

@miniksa
Copy link
Copy Markdown
Member

miniksa commented Dec 15, 2022

❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️

Copy link
Copy Markdown
Member

@miniksa miniksa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very exciting. Thank you so much!

@kennykerr kennykerr merged commit 442fd8b into master Dec 16, 2022
@kennykerr kennykerr deleted the with_default branch December 16, 2022 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

windows-bindgen should provide an option to use the default metadata

2 participants