4 ms·
For me it is the crates not having something like a namespace. Something like this: @org/axum @user/axum
by anon23432343 3y ago
For me it is the crates not having something like a namespace.
Something like this:
@org/axum
@user/axum
- MrBuddyCasino 3y ago"No this is a feature you see, that way people will have to come up with creative names" (that have nothing to do with its task and that nobody can remember, oc) was the standard reply I got when I said as much. They should have just copied the Maven Central mode of operation, it has matured over many years and works well, without any drama such as NPM is infamous for.
- Yoric 3y agoNot really. The Rust community is very well aware of the problem. Not sure when namespacing will become possible, but it seems pretty clear to me that it will happen eventually.
- insanitybit 3y agoThe problem is adding namespaces on at this point seems very hard.
- MrBuddyCasino 3y agoYou say this like is some difficult technical challenge to overcome, when that was a very deliberate design decision upfront.
- Yoric 3y agoIt was. But the problems have emerged. Now it's a liability and the community is thinking about how to improve the situation.
- insanitybit 3y agoThe issue is "but people will just squat namespaces". I don't agree, fwiw, but that's one of the main push backs.
- MrBuddyCasino 3y agoThis is easily solved by 1) using registered domains as namespace (if one exists) 2) proving that you have access to said domain This is how Maven does it and it works very well.
- brickteacup 3y agowhich forces people to pay to register a domain just to publish packages...
- Ygg2 3y agoI don't think that's necessary, since cargo and source repo is tightly linked, just make that source repo supports returning user name or org name. I don't see a reason you couldn't use exisiting org/username from Github as namespace, can they squat on it? Not unless they steal it, in which case, Github should be notified.
- steveklabnik 3y agoWhat happens when crates are transferred? Everyone's build breaks.
- Ygg2 3y agoWhat do you mean by transferred? Like you have Ygg2/stuff and want it to be replaced by Org/stuff? In that case just yank all versions on Ygg2/stuff, and the any change update from then on references Org/stuff.
- steveklabnik 3y agoYes. For example, the semver package has lived in these places: * rust-lang/semver * steveklabnik/sevmer * dtolnay/semver That everyone didn't need to do "yank everything, change all cargo.tomls" is a huge advantage of not being tied to this.
- revskill 3y agoYes, common sense like namespace is NOT an easy thing to do for some people.