Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Implement MallocSizeOf for cssparser types#399

Merged
emilio merged 2 commits intoservo:mainservo/rust-cssparser:mainfrom
nicoburns:malloc_size_ofnicoburns/rust-cssparser:malloc_size_ofCopy head branch name to clipboard
Feb 21, 2025
Merged

Implement MallocSizeOf for cssparser types#399
emilio merged 2 commits intoservo:mainservo/rust-cssparser:mainfrom
nicoburns:malloc_size_ofnicoburns/rust-cssparser:malloc_size_ofCopy head branch name to clipboard

Conversation

@nicoburns
Copy link
Contributor

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 cssparser crate.

@nicoburns nicoburns requested a review from emilio February 15, 2025 03:17
Signed-off-by: Nico Burns <nico@nicoburns.com>
@nicoburns nicoburns changed the title Implement MallocSizeOf for cssparser types Implement MallocSizeOf for cssparser types Feb 15, 2025
@emilio emilio added this pull request to the merge queue Feb 21, 2025
Merged via the queue into servo:main with commit 0d80021 Feb 21, 2025
15 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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.