Skip to content

Conversation

@bendk
Copy link
Contributor

@bendk bendk commented Sep 8, 2025

In #2640 I speculated that maybe external bindings would want to roll their own metadata-extraction functions. I'm not sure if it'll work for that case, but it seems like a good thing in general.

Making these functions pub is a step in that direction. I could see external bindings code try their specialized extract_from_foo function first, then fallback to calling extract_from_bytes to see if one of the standard cases works.

In mozilla#2640 I speculated that
maybe external bindings would want to roll their own metadata-extraction
functions.  I'm not sure if it'll work for that case, but it seems like
a good thing in general.

Making these functions `pub` is a step in that direction.  I could see
external bindings code try their specialized `extract_from_foo` function
first, then fallback to calling `extract_from_bytes` to see if one of
the standard cases works.
@bendk bendk requested a review from a team as a code owner September 8, 2025 14:15
@bendk bendk requested review from badboy and removed request for a team September 8, 2025 14:15
@bendk bendk merged commit 702aa29 into mozilla:main Sep 9, 2025
5 checks passed
@bendk bendk deleted the push-qkquqqllvqvq branch September 9, 2025 13:11
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.

2 participants