r/rust•
Morganamilo

Is it possible to actually get one of swmon's squatted crates?

[removed]

Posted Oct 3, 2020, 3:14 PM UTC

1614
thelights0123•

It seems like multiple people have tried to contact them, with no result.

19
AVX-512•

Everything about Rust is wonderful, except the way this issue with crates is dealt with. Maybe the question to ask is how are the people who make decision about crates.io chosen and how do we help them to be better, or find another way for them to contribute?

​

I mean if fundamentally comes down to a philosophical stance. They seem to think it is fine for people to name squat, and that name spaces are not worth the trouble. If the bulk of the community agress with that, then fine. But I for one would like to see name squatters kicked off of crates.io, banned for life, and publicly shamed. Alternatively this guy may just be dead or no longer involved in Rust and his names should be cleared out.

​

Or, introduce name spaces.

14
_ChrisSD•

The issue is that the crates.io team are a small number of volunteers. They don't want to have to deal with having to be the arbiters of what is and isn't squatting.

Also there are some people in the wider community that are very strongly in favour of their right to squat certain crate names. So the crates team would risk upsetting them.

Btw, namespaces don't solve the squatting issue. They just move it up a layer.

9
shadow31•

Namespaces do not solve squatting. If people want to squat crate names, they will squat namespaces.

5
mylesfowl•

This is technically true. But practically, once I own a single namespace I prefer or even just semi-prefer, I have access to the entire universe of crate names under the namespace.

1
shadow31•

Only if crates.up decided to allow crates with the same name in different namespaces. You can have namespaces and still require unique create names.

0
mylesfowl•

Good point. I hadn't thought of this scenario.

2
thehenkan•

Then what is the point of namespaces?

1
alexx_net•

They seem to think it is fine for people to name squat,

I'm not sure that is a valid conclusion. I thought that the squatting was an unintended side effect of really wanting to avoid having the eco system destroyed by one person.

5
leviathon01•

Relevant XKCD: https://xkcd.com/2347/

2
alexx_net•

Exactly! (Something that rust has to avoid.)

1
Lucretiel•

So, while in general I'm a fan of crates's policy to never take down crates in the name of stability, I wonder if an exception might be made in cases where both the squatting is obvious and (crucially) the crate literally exports nothing

14
redneckhatr•

Last time I read anything about this they weren’t going to solve this problem (and namespaces aren’t ever going to be introduced). So either rename your crate, host your own registry, or skip crates.io and just point users to your github packages.

2