Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: replace homepage cargo field with repository #42

Merged
merged 1 commit into from
Apr 7, 2024
Merged

fix: replace homepage cargo field with repository #42

merged 1 commit into from
Apr 7, 2024

Conversation

paolobarbolini
Copy link
Contributor

Hi! While scraping crates.io I've found this crate to be using the homepage attribute instead of the repository attribute to link to the git repository. This wouldn't normally be a problem, but as explained in the docs 1 the homepage field is made for linking to websites, while the repository field is for linking to git repositories. This change mainly helps automated tools disambiguate the links it finds inside Cargo.toml.

Footnotes

  1. https://doc.rust-lang.org/cargo/reference/manifest.html#the-homepage-field

@jcreekmore jcreekmore merged commit 96ded34 into jcreekmore:master Apr 7, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants