Re:Why Not Rust? (2020)
by DenseComet on Sunday December 19, 2021 @12:36AM
(#29611652)
I'd love to see that happen, but as I understand it, that's a decision for the crates.io registry. Cargo itself doesn't deal with those types of details and you could host a custom registry that does have namespaces.
Re:Why Not Rust? (2020)
by adamnemecek on Sunday December 19, 2021 @01:12AM
(#29611833)
You are confusing cargo and crates. Also this was a conscious decision.
It is not. For example, cargo doesn't have namespacing, which makes the issue of name squatting worse. I'd like to have every crate of the tokio-rs organization on Github (https://github.com/tokio-rs) under a @tokio/ namespace or something like that. npm allows that.
Dismissive responses like that are part of why people talk about "blind optimism and fanboy-ism".