Skip to content

Instantly share code, notes, and snippets.

@DougAnderson444
Created February 26, 2025 20:09
Show Gist options
  • Save DougAnderson444/62a32fb13c716875145afa9297e720d8 to your computer and use it in GitHub Desktop.
Save DougAnderson444/62a32fb13c716875145afa9297e720d8 to your computer and use it in GitHub Desktop.
WIT Bindgen add derive attrs
# 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