By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: crates.io: The Changes Being Made to Download Handling | HackerNoon
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > crates.io: The Changes Being Made to Download Handling | HackerNoon
Computing

crates.io: The Changes Being Made to Download Handling | HackerNoon

News Room
Last updated: 2026/03/07 at 6:58 PM
News Room Published 7 March 2026
Share
crates.io: The Changes Being Made to Download Handling | HackerNoon
SHARE

Like the rest of the Rust community, crates.io has been growing rapidly, with download and package counts increasing 2-3x year-on-year. This growth doesn’t come without problems, and we have made some changes to download handling on crates.io to ensure we can keep providing crates for a long time to come.

The Problem

This growth has brought with it some challenges. The most significant of these is that all download requests currently go through the crates.io API, occasionally causing scaling issues. If the API is down or slow, it affects all download requests too. In fact, the number one cause of waking up our crates.io on-call team is “slow downloads” due to the API having performance issues.

Additionally, this setup is also problematic for users outside of North America, where download requests are slow due to the distance to the crates.io API servers.

The Solution

To address these issues, over the last year we have decided to make some changes:

Starting from 2024-03-12, cargo will begin to download crates directly from our static.crates.io CDN servers.

This change will be facilitated by modifying the config.json file on the package index. In other words: no changes to cargo or your own system are needed for the changes to take effect. The config.json file is used by cargo to determine the download URLs for crates, and we will update it to point directly to the CDN servers, instead of the crates.io API.

Over the past few months, we have made several changes to the crates.io backend to enable this:

  • We announced the deprecation of “non-canonical” downloads, which would be harder to support when downloading directly from the CDN.

  • We changed how downloads are counted. Previously, downloads were counted directly on the crates.io API servers. Now, we analyze the log files from the CDN servers to count the download requests.

The latter change has caused the download numbers of most crates to increase, as some download requests were not counted before. Specifically, crates.io mirrors were often downloading directly from the CDN servers already, and those downloads had previously not been counted. For crates with a lot of downloads these changes will be barely noticeable, but for smaller crates, the download numbers have increased quite a bit over the past few weeks since we enabled this change.

Expected Outcomes

We expect these changes to significantly improve the reliability and speed of downloads, as the performance of the crates.io API servers will no longer affect the download requests. Over the next few weeks, we will monitor the performance of the system to ensure that the changes have the expected effects.

We have noticed that some non-cargo build systems are not using the config.json file of the index to build the download URLs. We will reach out to the maintainers of those build systems to ensure that they are aware of the change and to help them update their systems to use the new download URLs. The old download URLs will continue to work, but these systems will be missing out on the potential performance improvement.

We are excited about these changes and believe they will greatly improve the reliability of crates.io. We look forward to hearing your feedback!


Tobias Bieniek on behalf of the crates.io team

Also published here

Photo by Ruben Mavarez on Unsplash

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Best headphones deal: Save  on SHOKZ OpenRun Pro Best headphones deal: Save $55 on SHOKZ OpenRun Pro
Next Article 30 Hidden Windows 11 Tricks You Should Be Using Today 30 Hidden Windows 11 Tricks You Should Be Using Today
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

The Audiophile-Grade SteelSeries Arctis Nova Elite Is the Best-Sounding Gaming Headset I’ve Ever Used
The Audiophile-Grade SteelSeries Arctis Nova Elite Is the Best-Sounding Gaming Headset I’ve Ever Used
News
Sam Altman is laying the foundations for post-humanism as the philosophical current of the AI ​​era. It’s not good news
Sam Altman is laying the foundations for post-humanism as the philosophical current of the AI ​​era. It’s not good news
Mobile
CarPlay in a Tesla? A dubious image revives crazy hopes
CarPlay in a Tesla? A dubious image revives crazy hopes
Mobile
Apple’s upcoming Mac desktops may cost more, but not for the reason you might think – 9to5Mac
Apple’s upcoming Mac desktops may cost more, but not for the reason you might think – 9to5Mac
News

You Might also Like

Linux 7.0 Adds A New Minor Performance Optimization Shown With AMD Zen 2 CPUs
Computing

Linux 7.0 Adds A New Minor Performance Optimization Shown With AMD Zen 2 CPUs

2 Min Read
Governments Need To Take a More Active Role in Regulating AI: Here’s Why | HackerNoon
Computing

Governments Need To Take a More Active Role in Regulating AI: Here’s Why | HackerNoon

18 Min Read
Beating JavaScript Performance Limits With Rust and N-API: Building a Faster Image Diff Tool | HackerNoon
Computing

Beating JavaScript Performance Limits With Rust and N-API: Building a Faster Image Diff Tool | HackerNoon

20 Min Read
Why You Know What to Do… and Still Don’t Do It | HackerNoon
Computing

Why You Know What to Do… and Still Don’t Do It | HackerNoon

8 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?