winmd
Version, currently 1.3.04 versions
- 1.3.0latestJun 12, 2026
- 1.2.2not indexedJun 12, 2026
- 1.2.1not indexedJun 12, 2026
- 1.1.0not indexedJun 12, 2026
github.com/mjblack/winmd
Crystal Windows Metadata bindings generator
0 stars
2 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
winmd:
github: mjblack/winmd
version: ~> 1.3.0Then run:
shards installshard.yml
- Crystal
>= 1.19.1- License
- MIT
- Author
- Matthew J. Black
- Target
winmdfrom src/cli.cr
Dependencies
Runtime Dependencies
- admiral*github: jwaldrip/admiral.cr
- ecma3351.0.0github: mjblack/ecma335
- git-repository*github: place-labs/git-repository
Development Dependencies
- ameba*github: crystal-ameba/amebadev
README
winmd
Win32 API metadata bindings generator.
The generator supports:
- JSON metadata input (win32json-style)
- Native
.winmdinput viaecma335
Installation
-
Add the dependency to your
shard.yml:dependencies: winmd: github: mjblack/winmd -
Run
shards install
Usage
Run the command bin\winmd.exe from the shard itself or from your own shard.
Fetch Windows.Win32.winmd (uses the version pinned in winmd.version):
pwsh ./scripts/fetch-winmd.ps1
Override the version or output path:
pwsh ./scripts/fetch-winmd.ps1 -Version 70.0.11-preview
pwsh ./scripts/fetch-winmd.ps1 -OutputPath winmd/Windows.Win32.winmd
Examples:
# Existing JSON-based flow
bin/winmd generate ./path/to/json ./out
# Native WinMD flow (new)
bin/winmd generate --source-format winmd ./winmd/Windows.Win32.winmd ./out
Contributing
- Fork it (https://github.com/mjblack/winmd/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Matthew J. Black - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
1.3.0- Tagged
- Jun 12, 2026
- Commit
024f1b60fc8b- Crystal
>= 1.19.1- Indexed
- yes
Dependents
Repository
github.com/mjblack/winmd
Metadata
- Created
- Aug 12, 2026
- Updated
- Sep 27, 2026
- Synced
- Sep 27, 2026
- Versions
- 4