Created
February 26, 2025 20:09
-
-
Save DougAnderson444/62a32fb13c716875145afa9297e720d8 to your computer and use it in GitHub Desktop.
WIT Bindgen add derive attrs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# It's not documented, but you can use `package.metadata.component.bindings` to | |
# set additional derive attributes for the generated bindings: | |
[package.metadata.component.bindings] | |
derives = ["serde::Serialize", "serde::Deserialize", "Hash"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment