-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Hi,
This crate relies on SizeOf being implemented for the types we're interested in. There are two issues with this:
- users of
size-ofcan't implement this trait directly for types that are defined in dependencies. The only solution that comes to mind is to create wrappers for these types and implementsize-offor these wrappers. - even then, implementing SizeOf requires looking at the target type layout. The problem is that many crates don't expose the internals of the types they expose, and because these details are not part of the public API, they can change with any version bump, making our SizeOf impls inaccurate.
Do you have plans/ideas/recommendations to mitigate these issues?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels