purl-spec
purl-spec copied to clipboard
Using a non-default repository with cargo
In the documentation is says:
- The default repository is
https://crates.io/
But what if one doesn't use the default repository (https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-other-registries)? Or what if one uses a git (or file) dependency using cargo (https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-git-repositories)?
Would the repository_url qualifier satisfy this?
I guess so.
Hello @ctron . Thank you for opening this issue. If @bureado 's reply above addresses your question, please feel free to close this issue.
Hello @ctron . Thank you for opening this issue. If @bureado 's reply above addresses your question, please feel free to close this issue.
Yes, I think it does, I wasn't aware that's actually a global thing. One can find this here: https://github.com/package-url/purl-spec/blob/master/PURL-SPECIFICATION.rst#known-qualifiers-keyvalue-pairs
And thanks for pinging on this one. I lost track of it.