-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Description
Describe the problem you are trying to solve
docs.rs wants access to the homepage
field in Cargo.toml
so it can show it in the sidebar (e.g. https://docs.rs/crate/tokio/0.3.4 links to https://tokio.rs/).
Describe the solution you'd like
cargo metadata
should include a homepage
field for every package, the same way it has a repository field for each.
Notes
I'm a little confused why this is working currently in docs.rs - we use custom serialization instead of https://docs.rs/cargo_metadata, but I don't see how we could deserialize data that wasn't there in the first place. But I ran database query and there are definitely a lot of projects with homepages. Maybe this changed semi-recently?
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`