Skip to content

don't compress json twice #2834

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

Merged
merged 1 commit into from
May 27, 2025

Conversation

syphar
Copy link
Member

@syphar syphar commented May 26, 2025

fixes #2833

we don't need to compress twice.

I was wondering which compression I want to keep, and decided it should be the content-encoding.

This means browsers would be able to live-decode, which would enable easier building of browser apps using this json.

@syphar syphar requested a review from a team as a code owner May 26, 2025 18:18
@github-actions github-actions bot added the S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed label May 26, 2025
@syphar syphar marked this pull request as draft May 26, 2025 18:19
@syphar syphar force-pushed the dont-use-content-encoding branch 2 times, most recently from 3a8a857 to b2515f8 Compare May 27, 2025 04:52
@syphar syphar force-pushed the dont-use-content-encoding branch from b2515f8 to 1e25756 Compare May 27, 2025 04:54
@syphar syphar marked this pull request as ready for review May 27, 2025 05:36
@syphar syphar self-assigned this May 27, 2025
@GuillaumeGomez
Copy link
Member

Thanks!

@GuillaumeGomez GuillaumeGomez merged commit c58f51c into rust-lang:master May 27, 2025
9 checks passed
@GuillaumeGomez GuillaumeGomez deleted the dont-use-content-encoding branch May 27, 2025 09:11
@github-actions github-actions bot added S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it and removed S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed labels May 27, 2025
@syphar syphar removed the S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it label May 27, 2025
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.

rustdoc-json: Output is is zstd compressed twice.
2 participants