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 (v2) #369

Open
wants to merge 1 commit into
base: v2
Choose a base branch
from
Open

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 2.x version of the smallvec crate.

@nicoburns
Copy link
Author

Not sure why this is failing CI it's complaining about malloc_size_of not existing on crates.io. But it definitely does (https://crates.io/crates/malloc_size_of), and the other CI jobs are finding it. Some kind of caching issue?

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