Skip to content

Implement MallocSizeOf for thin-vec#68

Merged
nicoburns merged 4 commits intomozilla:mainfrom
nicoburns:malloc_size_of
Mar 11, 2025
Merged

Implement MallocSizeOf for thin-vec#68
nicoburns merged 4 commits intomozilla:mainfrom
nicoburns:malloc_size_of

Conversation

@nicoburns
Copy link
Collaborator

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, and is needed for ongoing use of this crate by the Servo and Gecko projects.

This PR adds the implementation of MallocSizeOf to the thin-vec crate.

@nicoburns
Copy link
Collaborator Author

@Gankra I noticed #67, and just wanted to say that Servo still depends heavily on this crate, and the Servo organisation still would be happy to take over maintenance this crate if you no longer have time to maintain it.

Signed-off-by: Nico Burns <nico@nicoburns.com>
Signed-off-by: Nico Burns <nico@nicoburns.com>
Signed-off-by: Nico Burns <nico@nicoburns.com>
Signed-off-by: Nico Burns <nico@nicoburns.com>
@nicoburns nicoburns merged commit ce88089 into mozilla:main Mar 11, 2025
5 checks passed
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.

1 participant