You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've seen that deps.rs also supports repository URL's in addition to published crates. However at the moment on a crate's dashboard there isn't a link to repository status (and vice-versa).
For example I have the following published crate and related repository:
Question is: How do we place the links? The dashboard is intentionally kept minimalistic, so placing links is challenging.
Perhaps add a separate page, say "history", where you can list at the top the repository as a "development" version, then the "latest" published crate, and so on with published versions.
This way you keep the main dashboard simple, but still have the "extended" report if one wants.
Although there remains the open question of what to do if the repository has multiple branches? Perhaps add one line for each of these, and separate the "development" versions from the "published" versions by a divider or heading.
After further investigation, it turns out that our current way of processing crates allows such a linking in neither direction, unfortunately.
Github -> Crates.io
A Cargo.toml yields no information as to whether a crate has been published to crates.io. You could of course conjecture that if a crate with matching name exists in the registry, it's the same, but that's not necessarily correct and could lead to wrong information displayed on the web page.
Crates.io -> Github
We use crates-index to look up crates in the registry and also to for retrieving the dependencies of a crate. Unfortunately, the index does not store meta-information such as the repository field, meaning that we also cannot generate a link the other way around.
The only thing that can work is pointing to other releases on crates.io when looking up a crate, which could certainly be added as a feature.
I've seen that
deps.rs
also supports repository URL's in addition to published crates. However at the moment on a crate's dashboard there isn't a link to repository status (and vice-versa).For example I have the following published crate and related repository:
It would be nice to have on each of these dashboards a link to:
The text was updated successfully, but these errors were encountered: