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

What dependency fields might be relevant to indicate? #23

Closed
epage opened this issue Nov 16, 2023 · 3 comments · Fixed by #129
Closed

What dependency fields might be relevant to indicate? #23

epage opened this issue Nov 16, 2023 · 3 comments · Fixed by #129

Comments

@epage
Copy link
Collaborator

epage commented Nov 16, 2023

As of #18, we dim optional dependencies.

What else might we want to show, and how?

  • public?
@epage epage changed the title What dependency fields might be relevant to indicate What dependency fields might be relevant to indicate? Nov 16, 2023
@epage epage mentioned this issue Jan 3, 2024
8 tasks
@epage
Copy link
Collaborator Author

epage commented Jan 19, 2024

From #22 (more appropriate home here)

If its not terrible to do, I think we should prefer relative paths, rather than absolute paths.

I also wonder if we should reserve showing all dependencies for a --verbose. Maybe we only show public dependencies by default? Its still an unstable feature but something for us to keep in mind as we work to stabilize both of these.

@epage
Copy link
Collaborator Author

epage commented Jan 19, 2024

I also wonder if we should reserve showing all dependencies for a --verbose. Maybe we only show public dependencies by default?

How about we show all the dependencies and only show the dev-dependencies and build-dependencies for a --verbose. I guess checking its dependencies before you use it in your project would always be considered.

@epage
Copy link
Collaborator Author

epage commented Jan 19, 2024

Run cargo info cargo

My concern is we are showing too much and we need to find a way to filter things down. Dependencies are mostly an implementation detail (except public) but people sometimes care, so I figure that holding off on private dependencies to --verbose might buy us more space.

epage added a commit to epage/cargo-information that referenced this issue Mar 19, 2024
With public/private dependencies, we can at least show those.

Fixes hi-rustin#23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants