Remix.run Logo
preisschild 5 days ago

Why not do it like go does and use the git hosting domain as a prefix (like github.com/org/project)?

azornathogron 5 days ago | parent | next [-]

It doesn't have to be git either - a few version control systems are supported. See https://go.dev/ref/mod#vcs

And it doesn't have to be the direct domain+path of the repository, it can be some URL where you put a metadata file that points to the source repo.

HappMacDonald 5 days ago | parent | prev | next [-]

I recall in the Elm community there was a lot of hooplah around the package system aligning too much with a single repo provider (github) so that might be one disincentive there.

littlestymaar 4 days ago | parent | prev [-]

How does it prevent squatting in any way?

preisschild 4 days ago | parent [-]

At least it makes it easy to see the difference between std / official packages (not prefixed) and others.

littlestymaar 4 days ago | parent [-]

It doesn't apply to Rust them because std doesn't need to appear in the Cargo.toml file in the first place.