-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Native typesize::TypeSize
implementation?
#39
Comments
Hi. Yes, that would be the best way. Such a PR should definitely be accepted. (and sorry for not making any progress on #18) Will you please create a PR for this? It does not have to be perfect, but something that I can start with would be great. I will merge it and then improve it before next release of You could implement the
Note that the Thank you. |
Sure, I'll work on this later today if I have the energy after work. |
Looks like this is a bit more of a pain than expected, because there are so many types and third party crates used, I'll get my current stuff pushed as a draft and work on it more later. |
Thank you so much for working on it. Please take your time. It will be challenging to get the exact size because of heavy usages of I think many use cases will not need the exact size, but an approximate size will be enough? Maybe we can last resort to it if getting the exact size is too difficult? For example:
|
Once I get the primitives used sorted out, it should be as easy as adding a bunch of derives, it's just that I didn't expect this crate to contain RwLock wrappers and other stuff that I personally would have put in another crate to improve build time (more parallelism) and maintainability. |
It sounds great! Thank you for working on it. |
Hey, I'm the developer of
typesize
and currently it has a feature locked inaccurate implementation due to privacy, but due to the breaking release needed for #34 to be published that implementation will be pointing to the wrong version.Would a PR to move the
TypeSize
implementation intomini-moka
under a feature gate be accepted so I don't have to maintain the implementation intypesize
? This is similar to xacrimon/dashmap#308.This would lead to me closing #18 if accepted.
The text was updated successfully, but these errors were encountered: