News for hackers. Stuff that matters.
Re:The Rust I wanted had no future by EdwardDiego on Monday June 05, 2023 @07:20AM (#36194843)
> Dependency management is best in class

Do crates have namespaces that ownership is verified for?

Re:The Rust I wanted had no future by geodel on Monday June 05, 2023 @12:43PM (#36199027)
Crate namespaces is best-in-class++ feature and currently not available.
Re:The Rust I wanted had no future by EdwardDiego on Monday June 05, 2023 @06:27PM (#36204969)
Yeah, 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/coordinate...

[1]: https://central.sonatype.org/faq/how-to-set-txt-record/

[2]: https://central.sonatype.org/publish/requirements/coordinate...

[3]: https://internals.rust-lang.org/t/pre-rfc-formal-squatting-p...

[4]: https://blog.sonatype.com/this-week-in-malware-may-13th-edit...