The cargo information UI design #17
Replies: 12 comments 22 replies
-
imo this is a poor metric to go by that would lead to bad behavior within the ecosystem. I also assume this is only direct dependencies unless we resolve an instance of its dependency graph? |
Beta Was this translation helpful? Give feedback.
-
That doesn't tell much about maturity but release cadence / churn. imo the more interesting value (within a workspace) is what the latest version semver compatible version and latest incompatible. That both tells about the potential to upgrade and gives hints about what other versions you might ask |
Beta Was this translation helpful? Give feedback.
-
The edition a package uses isn't really relevant to the user. More likely it indicates the MSRV. Maybe show this if the MSRV isn't set? |
Beta Was this translation helpful? Give feedback.
-
Note: if the registry is crates.io, we likely should assume that a docs.rs page is present. crates.io will actually query crates.io and show the link automatically if the page is present. We can likely do a lower tech version. |
Beta Was this translation helpful? Give feedback.
-
These are unlikely to be relevant to the caller. vbuild dependencies might be though. |
Beta Was this translation helpful? Give feedback.
-
As you mentioned, its deprecated. If we can query who the registry owners are, we might want to show that. |
Beta Was this translation helpful? Give feedback.
-
What should we show for non-registry dependencies? Any other dependency information we should show? |
Beta Was this translation helpful? Give feedback.
-
slightly off-topic but you can also add hyperlink support. See rust-lang/cargo#12888. |
Beta Was this translation helpful? Give feedback.
-
For dependencies section,
|
Beta Was this translation helpful? Give feedback.
-
I feel like the note could be simplified.
|
Beta Was this translation helpful? Give feedback.
-
Should features be a flat list or a tree? I had originally assumed a tree but seeing the flat list, I'm not sure which is better. |
Beta Was this translation helpful? Give feedback.
-
In the workspace:
Repository: https://github.com/serde-rs/serde
Documentation: https://docs.rs/serde
cyan
color for the default feature.yellow
for features enabled by the default feature.cargo tree
command. Because we pick this version from the lock file.Another one:
Out of the workspace:
Beta Was this translation helpful? Give feedback.
All reactions