Skip to content
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

Implement MallocSizeOf for SmallVec (v1) #370

Merged
merged 2 commits into from
Feb 15, 2025
Merged

Implement MallocSizeOf for SmallVec (v1) #370

merged 2 commits into from
Feb 15, 2025

Conversation

nicoburns
Copy link

Now that malloc_size_of is published to crates.io we are moving the trait implementations of MallocSizeOf and related traits into the crates that define the types. This will avoid the situation where depending on malloc_size_of pulls in a large number of dependencies.

This PR adds the implementation of MallocSizeOf to the 1.x version of the smallvec crate.

@mbrubeck mbrubeck merged commit eaeb871 into v1 Feb 15, 2025
7 checks passed
@mbrubeck
Copy link
Collaborator

Published in smallvec 1.14.0.

@nicoburns
Copy link
Author

@mbrubeck Just wanted to say thanks for the quick followup on these - very much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants