3 ms·
Crate namespaces is best-in-class++ feature and currently not available.
by geodel 3y ago
Crate namespaces is best-in-class++ feature and currently not available.
- EdwardDiego 3y agoYeah, I ask because the JVM world has had that since... whenever Maven's central repository came about [0][1][2], I guess, and it ensures that there's no debate about namesquatting [3], nor typosquatting attack vectors [4]. I am constantly baffled that NPM, PyPi, crates.io etc. didn't copy this idea for those last two reasons. In my mind, it's not quite best in class without it. [0]: https://central.sonatype.org/publish/requirements/coordinates/#choose-your-coordinates https://central.sonatype.org/publish/requirements/coordinate... [1]: https://central.sonatype.org/faq/how-to-set-txt-record/ https://central.sonatype.org/faq/how-to-set-txt-record/ [2]: https://central.sonatype.org/publish/requirements/coordinates/#supported-code-hosting-services-for-personal-groupid https://central.sonatype.org/publish/requirements/coordinate... [3]: https://internals.rust-lang.org/t/pre-rfc-formal-squatting-policy-on-crates-io/11302 https://internals.rust-lang.org/t/pre-rfc-formal-squatting-p... [4]: https://blog.sonatype.com/this-week-in-malware-may-13th-edition https://blog.sonatype.com/this-week-in-malware-may-13th-edit...