Skip to content

Make CSS serialization an optional feature - #467

Open
LaurenzV wants to merge 1 commit into
servo:mainfrom
LaurenzV:optional-serialize
Open

LaurenzV wants to merge 1 commit into
servo:mainfrom
LaurenzV:optional-serialize

Conversation

@LaurenzV

@LaurenzV LaurenzV commented Dec 4, 2026 •

Copy link
Copy Markdown

I'm currently looking into integration cssparser in resvg, and noticed that it pulls in itoa and dtoa, even though this only seems to be needed for serialization. For resvg, all we need is being able to parse. So it would be nice if it were possible to put this behind a feature flag.

If it's not possible it's not a big deal since they are small dependencies anyway, but it doesn't seem to hurt either? 😄

@nicoburns nicoburns left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

itoa and dtoa are probably small enough that this isn't worth worry about. On the other hand, this seems simple enough.

This branch has not been deployed

No deployments
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.

2 participants