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

Bump MSRV & allow serde and serde_derive to compile in parallel #12

Merged
merged 1 commit into from
Jun 19, 2023

Conversation

dtolnay
Copy link
Contributor

@dtolnay dtolnay commented Jun 15, 2023

Visualized in cargo build --timings:

Before: After:

Previously serde could only begin compiling after serde_derive was finished compiling. After, they can compile in parallel.

This reduces build time by 2 seconds (36%).

Copy link
Owner

@niklasmohrin niklasmohrin left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

@niklasmohrin niklasmohrin changed the title Allow serde and serde_derive to compile in parallel Bump MSRV & allow serde and serde_derive to compile in parallel Jun 19, 2023
@niklasmohrin niklasmohrin merged commit 2b1536c into niklasmohrin:main Jun 19, 2023
@dtolnay dtolnay deleted the serdeparallel branch June 19, 2023 17:28
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