3 ms·
What do you want to do with namespaces? I don't understand.
by peacefulhat 6y ago
What do you want to do with namespaces? I don't understand.
- vaylian 6y agogive everyone an equal chance to pick a good name
- jgraham 6y agoWhat I personally want from namespaces on crates.io is basically the same as I want from org names on GitHub; the ability to manage permissions at the level of a organistation rather than each package requiring a unique setup, making it harder to audit and admin all the packages belonging to an org. It also seems like a win for consumers to know when they're using code from a specific vendor vs when they aren't. The consumer trust problem you can possibly solve with naming conventions — although it's hard to ensure that everyone has the same conventions unless it's enforced — but the admin problems you can't.
- DougBTX 6y agoYes, it would be great to have packages grouped by organisation. It would make it much easier to see in a package list how which organisations you're depending on, rather than just how many crates.
- DougBTX 6y agoImagine if every repository you pushed to GitHub had to have a globally unique name, rather than account/whatever-you-like.
- qayxc 6y agoSo account-whatever-you-like then?
- Whitespace 6y agoThat is not the same, because ownership of _account_ isn't enforced if it's just a string. Imagine someone else uploading qayxc-resume, for example.