It’s possible that the .io cctld is going to go away [0]. Does crates.io have a backup plan at all? Does anyone know what problems it would end up causing?

I imagine the package registry having to move domains is going to cause a ton of problems.

Frankly, it’s concerning to me that so much of the Rust ecosystem has chosen to standardize on shaky ccTLDs. The Indian Ocean Territory (.io) is a small island territory whose only inhabitants are a single military base, it is crazy to use that domain for something important. Serbia (.rs) is more stable, but they could still cut off access for non-Serbians if they wanted to.

[0] - https://en.wikipedia.org/wiki/.io#Phasing_Out

1 point

It shouldn’t be too hard to have a backup domain point to the same resources. Could even be setup as a fallback mirror by default.

permalink
report
reply
19 points

What about stopping the bullsh*t of TLD nonsense and doing something like crates.rust-lang.org? It’s the most sensible solution.

permalink
report
reply
1 point

As the domain that cargo uses by default, sure, but there’s nothing whatsoever wrong with having crates.io around. If, and I don’t think it’ll happen, .io dies there’s going to be a sunset period and crates.io can become a redirect otherwise why bother.

permalink
report
parent
reply
2 points

There’s zero chance they will get rid of .io.

permalink
report
reply
12 points

Are you willing to bet the stability of an entire language’s dependency ecosystem on that? Just so that we can write “crates.io” instead of “crates.rust-lang.org”?

That’s really the question. I do agree that there’s almost no chance it goes away as too many places and too much money depends on it.

permalink
report
parent
reply
1 point

Yes I definitely am. It’s really nice that crates.io is short, and it’s silly to give that up for a miniscule risk of something moderately annoying happening.

Even if the domain goes away we’d just have to all move to a new domain. Annoying but hardly the end of the world. Cargo.io isn’t actually hard-coded in many places. It’s nothing like if github.com stopped existing.

permalink
report
parent
reply
2 points

Submit an issue asking for preemptive GNS (Gnu Name System) domain name support, and leave a link to it here.

permalink
report
reply
11 points

I seriously doubt they will actually phase it out, with such a popular TLD. They made an exception for .su, I don’t see why they wouldn’t this time as well.

permalink
report
reply
8 points

I doubt they will too, but it’s still dumb that an entire package ecosystem now has to hope that ICANN will make another exception and special case .io

ICANN tried to phase out .su, the only reason they didn’t was because Russia was big enough to tell them no.

permalink
report
parent
reply

Rust

!rust@programming.dev

Create post

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits
  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

Community stats

  • 505

    Monthly active users

  • 890

    Posts

  • 3.9K

    Comments