Skip to content

additional support to allow frame-metadata to derive TypeInfo#163

Merged
gilescope merged 2 commits into
dp-doogfoodfrom
gc-doogfood-frame
Jul 19, 2022
Merged

additional support to allow frame-metadata to derive TypeInfo#163
gilescope merged 2 commits into
dp-doogfoodfrom
gc-doogfood-frame

Conversation

@gilescope
Copy link
Copy Markdown
Contributor

I'm trying to see whether I can make frame-metadata have TypeInfos so that I can try decoding it in a no_std context. To do so it looks like these types need type info to get something that compiles.

@jsdw
Copy link
Copy Markdown
Contributor

jsdw commented Jul 18, 2022

Cool! Do we even want these behind a feature flag? It seemsl ike a generally useful and not super invasive change to make generally.

The only thing I don't like so much is the manual impl/use on std::any::TypeId, since it could change under our noses at any time. But I doubt that'll happen any time soon, and in the meantime perhaps we can migrate to our own version to avoid this.

@jsdw
Copy link
Copy Markdown
Contributor

jsdw commented Jul 18, 2022

Ah since this is just merging into that other branch, I have no objection with you just going for the merge whenever you like :)

@gilescope gilescope merged commit 3420903 into dp-doogfood Jul 19, 2022
@gilescope gilescope deleted the gc-doogfood-frame branch July 19, 2022 08:15
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